2024-01-28 14:25:11,495 - {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-28 14:25:11,507 - {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-28 14:25:11,511 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25: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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25: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-28 14:25: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-28 14:25:11,516 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:11,517 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:11,522 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c0100>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:25:11,524 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:25:11,524 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:25:11,526 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d51a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:25:11,527 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301355.95, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:25:11,532 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004811.12, fault_state=0, fault_str='Kein Fehler.', power=-2550.2))
2024-01-28 14:25:11,532 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306167.07, power=-2640.2))
2024-01-28 14:25:11,534 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448303, 'time': '14:25:03', 'grid': 4.117, 'house-power': 6.766, 'charging-all': 0.0, 'pv-all': 2.65, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:25:11,534 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:25:11,536 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:25:11,536 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:11,538 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:11,539 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:25:11,540 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:25:11,540 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:25:11,541 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:25:11,542 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:25:11,545 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:25:11,546 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:25:11,549 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:25:11,549 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4211.0W
2024-01-28 14:25:11,550 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4211.0W
2024-01-28 14:25:11,550 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:25:11,551 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:25:11,551 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:25:11,557 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:25:11,564 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:11,601 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:25:15,891 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:20,906 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:20,907 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:25:20,908 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:25:20,908 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:25:20,958 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:25:20,959 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:20,970 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:20,981 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:20,983 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:25:21,033 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4131, -3232, -268, -630], Scale 0
2024-01-28 14:25:21,054 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:25:21,056 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.5, "voltage":240.7, "current":0.392, "aenergy":{"total":9415.317,"by_minute":[527.845,1511.383,1517.554],"minute_ts":1706448320},"temperature":{"tC":38.7, "tF":101.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:25","unixtime":1706448321,"uptime":5807715,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:25:21,058 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448310.7816217, power=-90, imported=0.0, exported=301355.9503522597)
2024-01-28 14:25:21,059 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028547, power1: -90, power2: -90
2024-01-28 14:25:21,059 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.256923
2024-01-28 14:25:21,060 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.256923 Wh, new state: SimCounterState(timestamp=1706448321.058555, power=-90, imported=0.0, exported=301356.2072755895)
2024-01-28 14:25:21,061 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.2072755895, dc_power=None)
2024-01-28 14:25:21,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 26, 30], Scale -1
2024-01-28 14:25:21,084 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23733, 24038, 23750, 0, 0, 0, 0], Scale -2
2024-01-28 14:25:21,103 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:25:21,123 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9850, 4230, 8669], Scale -2
2024-01-28 14:25:21,176 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628319, 3551055, 2508443, 3136922], Scale 0
2024-01-28 14:25:21,176 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 2.6, 3.0], powers=[3232.0, 268.0, 630.0], voltages=[237.33, 240.38, 237.5], power_factors=[0.985, 0.42300000000000004, 0.8669], imported=8628319.0, exported=4872875.0, power=4131.0, frequency=49.99)
2024-01-28 14:25:21,178 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:21,233 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25505], Scale -1
2024-01-28 14:25:21,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962822], Scale 0
2024-01-28 14:25:21,272 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [358, 360, 355], Scale -2
2024-01-28 14:25:21,292 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25893], Scale -1
2024-01-28 14:25:21,292 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.58, 3.6, 3.5500000000000003]
2024-01-28 14:25:21,293 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.58, 3.6, 3.5500000000000003], power=-2550.5, exported=7962822.0, dc_power=-2589.3)
2024-01-28 14:25:21,294 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:21,448 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448311.1171007, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:21,449 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286993, power1: 0, power2: 0
2024-01-28 14:25:21,450 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:25:21,450 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448321.4488323, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:21,451 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:21,456 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:21,457 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:21,498 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:21,499 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:21,500 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:21,501 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2550.5, exported=8004818.12, dc_power=None)
2024-01-28 14:25:21,502 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.2072755895, dc_power=None)
2024-01-28 14:25:21,503 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2550.5, exported=8004818.12, dc_power=None)
2024-01-28 14:25:21,503 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.2072755895, dc_power=None)
2024-01-28 14:25:21,549 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:21,550 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 2.6, 3.0], powers=[3232.0, 268.0, 630.0], voltages=[237.33, 240.38, 237.5], power_factors=[0.985, 0.42300000000000004, 0.8669], imported=8628319.0, exported=4872875.0, power=4131.0, frequency=49.99)
2024-01-28 14:25:21,609 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:21,610 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:25:21,611 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cb508>
2024-01-28 14:25:21,619 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:21,622 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cb508>
2024-01-28 14:25:21,750 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:25:21,754 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.2, 32.5, 32.0]A
2024-01-28 14:25:21,755 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19869.0W
2024-01-28 14:25:21,759 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:25:21,768 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:25:21,780 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:25:21,784 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:25:21.784033
2024-01-28 14:25:21,786 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137387.532737s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:25:21,787 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:25:21.786924
2024-01-28 14:25:21,788 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:25:21.786924
2024-01-28 14:25:21,790 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54229.765871s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:25:21,793 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:25:21.793503
2024-01-28 14:25:21,795 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129606.156808s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:25:21,796 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:25:21.796024
2024-01-28 14:25:21,798 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:25:21.796024
2024-01-28 14:25:21,800 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52932.862361s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:25:21,804 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:25:21,812 - {control.chargepoint.chargepoint:667} - {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-28 14:25:21,831 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:25:21,849 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448311.4708643, power=6751.2, imported=4311464.373368073, exported=0)
2024-01-28 14:25:21,851 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028828, power1: 6751.2, power2: 6771.5
2024-01-28 14:25:21,852 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 19.4916
2024-01-28 14:25:21,854 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 19.4916 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448321.8489265, power=6771.5, imported=4311483.864954513, exported=0)
2024-01-28 14:25:21,864 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:25:21,865 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:25:21,866 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628170.9, exported=0))
2024-01-28 14:25:21,869 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628170.9, phases_in_use=0, 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, 237.82, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=22.950000000186265, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f6a78>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:25:21,873 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:25:21,875 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:25:21,877 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3232.0, 268.0, 630.0], currents=[13.8, 2.6, 3.0], voltages=[237.33, 240.38, 237.5], power_factors=[0.98, 0.42, 0.87], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628319.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4131.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19869.0, raw_currents_left=[21.2, 32.5, 32.0], surplus_power_left=0, state_str=''))
2024-01-28 14:25:21,884 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6771.5, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311483.864954513, disengageable_smarthome_power=0))
2024-01-28 14:25:21,888 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:25:21,890 - {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-28 14:25:21,895 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:25:21,898 - {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-28 14:25:21,900 - {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-28 14:25:21,906 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:21,907 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:21,908 - {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-28 14:25:21,910 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:25:21,911 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:21,912 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:21,914 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f5418>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:25:21,915 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:25:21,916 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:25:21,918 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edbe208>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:25:21,927 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301356.207, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:25:21,930 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004818.12, fault_state=0, fault_str='Kein Fehler.', power=-2550.5))
2024-01-28 14:25:21,931 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306174.3270000005, power=-2640.5))
2024-01-28 14:25:21,932 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448311, 'time': '14:25:11', 'grid': 4.111, 'house-power': 6.751, 'charging-all': 0.0, 'pv-all': 2.64, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:25:21,934 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:25:21,935 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:25:21,936 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:21,937 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:21,937 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:25:21,938 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:25:21,938 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:25:21,939 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:25:21,939 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:25:21,941 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:25:21,943 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:25:21,945 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:25:21,946 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4231.0W
2024-01-28 14:25:21,946 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4231.0W
2024-01-28 14:25:21,947 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:25:21,947 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:25:21,948 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:25:21,950 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:25:21,955 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:22,001 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:25:25,270 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:25,271 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:25:30,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:30,290 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:25:30,292 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:25:30,357 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:25:30,363 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:30,373 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:25:30,375 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:30,385 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:30,429 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:25:30,432 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.3, "voltage":240.7, "current":0.389, "aenergy":{"total":9415.544,"by_minute":[753.793,1511.383,1517.554],"minute_ts":1706448329},"temperature":{"tC":38.9, "tF":101.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:25","unixtime":1706448330,"uptime":5807725,"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-28 14:25:30,436 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448321.058555, power=-90, imported=0.0, exported=301356.2072755895)
2024-01-28 14:25:30,442 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260484, power1: -90, power2: -90
2024-01-28 14:25:30,443 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.234436
2024-01-28 14:25:30,445 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.234436 Wh, new state: SimCounterState(timestamp=1706448330.4359815, power=-90, imported=0.0, exported=301356.4417112551)
2024-01-28 14:25:30,446 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.4417112551, dc_power=None)
2024-01-28 14:25:30,536 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4151, -3232, -277, -641], Scale 0
2024-01-28 14:25:30,566 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 26, 30], Scale -1
2024-01-28 14:25:30,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23721, 24034, 23730, 0, 0, 0, 0], Scale -2
2024-01-28 14:25:30,639 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:25:30,668 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 4329, 8809], Scale -2
2024-01-28 14:25:30,693 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628329, 3551062, 2508444, 3136924], Scale 0
2024-01-28 14:25:30,694 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 2.6, 3.0], powers=[3232.0, 277.0, 641.0], voltages=[237.21, 240.34, 237.3], power_factors=[0.9869, 0.4329, 0.8809], imported=8628329.0, exported=4872875.0, power=4151.0, frequency=49.99)
2024-01-28 14:25:30,698 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:30,742 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25355], Scale -1
2024-01-28 14:25:30,772 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962829], Scale 0
2024-01-28 14:25:30,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [356, 356, 356], Scale -2
2024-01-28 14:25:30,862 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25741], Scale -1
2024-01-28 14:25:30,862 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.56, 3.56, 3.56]
2024-01-28 14:25:30,863 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.56, 3.56, 3.56], power=-2535.5, exported=7962829.0, dc_power=-2574.1000000000004)
2024-01-28 14:25:30,864 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:30,939 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448321.4488323, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:30,940 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263641, power1: 0, power2: 0
2024-01-28 14:25:30,941 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:25:30,941 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448330.9399176, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:30,942 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:30,949 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:30,952 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:30,987 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:30,988 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:30,989 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:30,990 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2535.5, exported=8004825.12, dc_power=None)
2024-01-28 14:25:30,990 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.4417112551, dc_power=None)
2024-01-28 14:25:30,991 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2535.5, exported=8004825.12, dc_power=None)
2024-01-28 14:25:30,991 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.4417112551, dc_power=None)
2024-01-28 14:25:31,028 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:31,029 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 2.6, 3.0], powers=[3232.0, 277.0, 641.0], voltages=[237.21, 240.34, 237.3], power_factors=[0.9869, 0.4329, 0.8809], imported=8628329.0, exported=4872875.0, power=4151.0, frequency=49.99)
2024-01-28 14:25:31,084 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:31,085 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:25:31,086 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7a7478>
2024-01-28 14:25:31,092 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:31,097 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7a7478>
2024-01-28 14:25:31,210 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:25:31,212 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.2, 32.5, 32.0]A
2024-01-28 14:25:31,213 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19849.0W
2024-01-28 14:25:31,214 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:25:31,216 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:25:31,217 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:25:31,219 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:25:31.218451
2024-01-28 14:25:31,219 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137378.098319s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:25:31,220 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:25:31.220616
2024-01-28 14:25:31,221 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:25:31.220616
2024-01-28 14:25:31,223 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54220.332179s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:25:31,224 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:25:31.224197
2024-01-28 14:25:31,227 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129596.726114s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:25:31,229 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:25:31.228591
2024-01-28 14:25:31,229 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:25:31.228591
2024-01-28 14:25:31,231 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52923.429794s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:25:31,232 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:25:31,237 - {control.chargepoint.chargepoint:667} - {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-28 14:25:31,238 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:25:31,260 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448321.8489265, power=6771.5, imported=4311483.864954513, exported=0)
2024-01-28 14:25:31,261 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261431, power1: 6771.5, power2: 6776.5
2024-01-28 14:25:31,262 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.7093
2024-01-28 14:25:31,263 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.7093 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448331.260433, power=6776.5, imported=4311501.574272416, exported=0)
2024-01-28 14:25:31,267 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:25:31,268 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:25:31,269 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628170.9, exported=0))
2024-01-28 14:25:31,271 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628170.9, phases_in_use=0, 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.84, 237.8, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=22.950000000186265, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, 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-28 14:25:31,272 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:25:31,275 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:25:31,276 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3232.0, 277.0, 641.0], currents=[13.8, 2.6, 3.0], voltages=[237.21, 240.34, 237.3], power_factors=[0.99, 0.43, 0.88], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628329.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4151.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19849.0, raw_currents_left=[21.2, 32.5, 32.0], surplus_power_left=0, state_str=''))
2024-01-28 14:25:31,278 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6776.5, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311501.574272416, disengageable_smarthome_power=0))
2024-01-28 14:25:31,279 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:25:31,280 - {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-28 14:25:31,282 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:25:31,285 - {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-28 14:25:31,286 - {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-28 14:25:31,287 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:31,288 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:31,289 - {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-28 14:25:31,290 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:25:31,291 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:31,294 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:31,296 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb5bc8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:25:31,297 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:25:31,297 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:25:31,299 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c24c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:25:31,299 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301356.442, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:25:31,300 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004825.12, fault_state=0, fault_str='Kein Fehler.', power=-2535.5))
2024-01-28 14:25:31,302 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306181.562, power=-2625.5))
2024-01-28 14:25:31,303 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448322, 'time': '14:25:22', 'grid': 4.131, 'house-power': 6.771, 'charging-all': 0.0, 'pv-all': 2.64, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:25:31,304 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:25:31,311 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:25:31,312 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:31,315 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:31,315 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:25:31,316 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:25:31,317 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:25:31,318 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:25:31,320 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:25:31,324 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:25:31,326 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:25:31,329 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:25:31,330 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4251.0W
2024-01-28 14:25:31,331 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4251.0W
2024-01-28 14:25:31,332 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:25:31,336 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:25:31,337 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:25:31,340 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:25:31,343 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:31,369 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:25:35,664 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:35,665 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:25:40,676 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:40,678 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:25:40,679 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:25:40,680 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:25:40,735 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:25:40,736 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:40,739 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:40,743 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:40,749 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:25:40,776 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4096, -3194, -269, -632], Scale 0
2024-01-28 14:25:40,798 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 26, 31], Scale -1
2024-01-28 14:25:40,800 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:25:40,803 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.3, "voltage":240.7, "current":0.391, "aenergy":{"total":9415.797,"by_minute":[1004.900,1511.383,1517.554],"minute_ts":1706448339},"temperature":{"tC":38.8, "tF":101.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:25","unixtime":1706448341,"uptime":5807735,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:25:40,805 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448330.4359815, power=-90, imported=0.0, exported=301356.4417112551)
2024-01-28 14:25:40,807 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288052, power1: -90, power2: -90
2024-01-28 14:25:40,808 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.259247
2024-01-28 14:25:40,809 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.259247 Wh, new state: SimCounterState(timestamp=1706448340.805864, power=-90, imported=0.0, exported=301356.7009583197)
2024-01-28 14:25:40,811 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.7009583197, dc_power=None)
2024-01-28 14:25:40,882 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23712, 24030, 23724, 0, 0, 0, 0], Scale -2
2024-01-28 14:25:40,915 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:25:40,957 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9850, 4390, 8719], Scale -2
2024-01-28 14:25:40,983 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628337, 3551069, 2508444, 3136925], Scale 0
2024-01-28 14:25:40,984 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 2.6, 3.1], powers=[3194.0, 269.0, 632.0], voltages=[237.12, 240.3, 237.24], power_factors=[0.985, 0.439, 0.8719], imported=8628337.0, exported=4872875.0, power=4096.0, frequency=49.97)
2024-01-28 14:25:40,985 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:41,001 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25571], Scale -1
2024-01-28 14:25:41,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962837], Scale 0
2024-01-28 14:25:41,061 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [360, 360, 356], Scale -2
2024-01-28 14:25:41,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25961], Scale -1
2024-01-28 14:25:41,114 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.6, 3.6, 3.56]
2024-01-28 14:25:41,115 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.6, 3.6, 3.56], power=-2557.1000000000004, exported=7962837.0, dc_power=-2596.1000000000004)
2024-01-28 14:25:41,116 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:41,155 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448330.9399176, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:41,156 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00283772, power1: 0, power2: 0
2024-01-28 14:25:41,157 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:25:41,157 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448341.155698, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:41,158 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:41,172 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:41,178 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:41,207 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:41,208 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:41,208 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:41,209 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2557.1000000000004, exported=8004833.12, dc_power=None)
2024-01-28 14:25:41,210 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.7009583197, dc_power=None)
2024-01-28 14:25:41,210 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2557.1000000000004, exported=8004833.12, dc_power=None)
2024-01-28 14:25:41,211 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.7009583197, dc_power=None)
2024-01-28 14:25:41,250 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:41,251 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 2.6, 3.1], powers=[3194.0, 269.0, 632.0], voltages=[237.12, 240.3, 237.24], power_factors=[0.985, 0.439, 0.8719], imported=8628337.0, exported=4872875.0, power=4096.0, frequency=49.97)
2024-01-28 14:25:41,305 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:41,306 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:25:41,307 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7f5aa8>
2024-01-28 14:25:41,313 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:41,320 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7f5aa8>
2024-01-28 14:25:41,430 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:25:41,438 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.2, 32.5, 31.9]A
2024-01-28 14:25:41,442 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19904.0W
2024-01-28 14:25:41,450 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:25:41,460 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:25:41,465 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:25:41,467 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:25:41.467333
2024-01-28 14:25:41,468 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137367.849437s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:25:41,469 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:25:41.468899
2024-01-28 14:25:41,469 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:25:41.468899
2024-01-28 14:25:41,470 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54210.083896s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:25:41,471 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:25:41.470628
2024-01-28 14:25:41,471 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129586.479683s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:25:41,472 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:25:41.471876
2024-01-28 14:25:41,472 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:25:41.471876
2024-01-28 14:25:41,473 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52913.186509s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:25:41,473 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:25:41,487 - {control.chargepoint.chargepoint:667} - {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-28 14:25:41,489 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:25:41,512 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448331.260433, power=6776.5, imported=4311501.574272416, exported=0)
2024-01-28 14:25:41,513 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00284783, power1: 6776.5, power2: 6743.1
2024-01-28 14:25:41,514 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 19.2507
2024-01-28 14:25:41,515 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 19.2507 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448341.5126133, power=6743.1, imported=4311520.825019263, exported=0)
2024-01-28 14:25:41,523 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:25:41,524 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:25:41,525 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628170.9, exported=0))
2024-01-28 14:25:41,527 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628170.9, phases_in_use=0, 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.87, 237.84, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=22.950000000186265, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6eda5070>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:25:41,529 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:25:41,532 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:25:41,537 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3194.0, 269.0, 632.0], currents=[13.8, 2.6, 3.1], voltages=[237.12, 240.3, 237.24], power_factors=[0.98, 0.44, 0.87], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628337.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4096.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19904.0, raw_currents_left=[21.2, 32.5, 31.9], surplus_power_left=0, state_str=''))
2024-01-28 14:25:41,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=6743.1, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311520.825019263, disengageable_smarthome_power=0))
2024-01-28 14:25:41,546 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:25:41,547 - {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-28 14:25:41,549 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:25:41,549 - {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-28 14:25:41,550 - {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-28 14:25:41,552 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:41,552 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:41,553 - {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-28 14:25:41,555 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:25:41,556 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:41,557 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:41,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c0e20>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:25:41,563 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:25:41,564 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:25:41,565 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x701588b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:25:41,566 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301356.701, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:25:41,569 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004833.12, fault_state=0, fault_str='Kein Fehler.', power=-2557.1))
2024-01-28 14:25:41,573 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306189.821, power=-2647.1))
2024-01-28 14:25:41,574 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448331, 'time': '14:25:31', 'grid': 4.151, 'house-power': 6.777, 'charging-all': 0.0, 'pv-all': 2.626, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:25:41,575 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:25:41,575 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:25:41,576 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:41,576 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:41,577 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:25:41,577 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:25:41,578 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:25:41,578 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:25:41,579 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:25:41,581 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:25:41,582 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:25:41,585 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:25:41,585 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4196.0W
2024-01-28 14:25:41,586 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4196.0W
2024-01-28 14:25:41,586 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:25:41,587 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:25:41,587 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:25:41,589 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:25:41,595 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:41,638 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:25:45,952 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:50,967 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:50,968 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:25:50,969 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:25:50,969 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:25:51,020 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:25:51,022 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:51,029 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:25:51,031 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:51,032 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:51,072 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:25:51,076 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.2, "voltage":240.6, "current":0.390, "aenergy":{"total":9416.074,"by_minute":[1280.689,1511.383,1517.554],"minute_ts":1706448350},"temperature":{"tC":38.9, "tF":102.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:25","unixtime":1706448351,"uptime":5807745,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:25:51,079 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448340.805864, power=-90, imported=0.0, exported=301356.7009583197)
2024-01-28 14:25:51,079 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285364, power1: -90, power2: -90
2024-01-28 14:25:51,080 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.256828
2024-01-28 14:25:51,080 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.256828 Wh, new state: SimCounterState(timestamp=1706448351.078976, power=-90, imported=0.0, exported=301356.95778611524)
2024-01-28 14:25:51,082 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.95778611524, dc_power=None)
2024-01-28 14:25:51,087 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4121, -3192, -283, -645], Scale 0
2024-01-28 14:25:51,119 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 26, 31], Scale -1
2024-01-28 14:25:51,143 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23736, 24044, 23745, 0, 0, 0, 0], Scale -2
2024-01-28 14:25:51,163 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:25:51,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 4160, 8600], Scale -2
2024-01-28 14:25:51,243 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628356, 3551084, 2508446, 3136928], Scale 0
2024-01-28 14:25:51,244 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 2.6, 3.1], powers=[3192.0, 283.0, 645.0], voltages=[237.36, 240.44, 237.45000000000002], power_factors=[0.9860000000000001, 0.41600000000000004, 0.86], imported=8628356.0, exported=4872875.0, power=4121.0, frequency=49.99)
2024-01-28 14:25:51,245 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:51,261 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25526], Scale -1
2024-01-28 14:25:51,282 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962844], Scale 0
2024-01-28 14:25:51,362 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [359, 359, 357], Scale -2
2024-01-28 14:25:51,414 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25915], Scale -1
2024-01-28 14:25:51,414 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.59, 3.59, 3.5700000000000003]
2024-01-28 14:25:51,415 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.59, 3.59, 3.5700000000000003], power=-2552.6000000000004, exported=7962844.0, dc_power=-2591.5)
2024-01-28 14:25:51,416 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:51,452 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448341.155698, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:51,453 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286015, power1: 0, power2: 0
2024-01-28 14:25:51,453 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:25:51,453 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448351.4522493, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:25:51,454 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:51,462 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:25:51,464 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:25:51,536 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:51,547 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:25:51,552 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:25:51,555 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2552.6000000000004, exported=8004840.12, dc_power=None)
2024-01-28 14:25:51,559 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.95778611524, dc_power=None)
2024-01-28 14:25:51,562 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2552.6000000000004, exported=8004840.12, dc_power=None)
2024-01-28 14:25:51,567 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301356.95778611524, dc_power=None)
2024-01-28 14:25:51,739 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:25:51,740 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 2.6, 3.1], powers=[3192.0, 283.0, 645.0], voltages=[237.36, 240.44, 237.45000000000002], power_factors=[0.9860000000000001, 0.41600000000000004, 0.86], imported=8628356.0, exported=4872875.0, power=4121.0, frequency=49.99)
2024-01-28 14:25:51,813 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:51,814 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:25:51,815 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cb5c8>
2024-01-28 14:25:51,836 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:25:51,839 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cb5c8>
2024-01-28 14:25:51,954 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:25:51,956 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.4, 32.5, 31.9]A
2024-01-28 14:25:51,957 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19879.0W
2024-01-28 14:25:51,958 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:25:51,967 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:25:51,969 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:25:51,970 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:25:51.970133
2024-01-28 14:25:51,972 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137357.346637s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:25:51,976 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:25:51.975701
2024-01-28 14:25:51,978 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:25:51.975701
2024-01-28 14:25:51,982 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54199.577094s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:25:51,985 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:25:51.985068
2024-01-28 14:25:51,989 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129575.965243s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:25:51,990 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:25:51.990240
2024-01-28 14:25:51,992 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:25:51.990240
2024-01-28 14:25:51,993 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52902.668145s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:25:51,994 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:25:52,019 - {control.chargepoint.chargepoint:667} - {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-28 14:25:52,020 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:25:52,031 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448341.5126133, power=6743.1, imported=4311520.825019263, exported=0)
2024-01-28 14:25:52,033 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.002922, power1: 6743.1, power2: 6763.6
2024-01-28 14:25:52,036 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 19.7333
2024-01-28 14:25:52,037 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 19.7333 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448352.0318308, power=6763.6, imported=4311540.558340775, exported=0)
2024-01-28 14:25:52,040 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:25:52,041 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:25:52,042 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:25:52,045 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.92, 237.94, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=22.950000000186265, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c01d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:25:52,046 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:25:52,047 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:25:52,048 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3192.0, 283.0, 645.0], currents=[13.6, 2.6, 3.1], voltages=[237.36, 240.44, 237.45], power_factors=[0.99, 0.42, 0.86], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628356.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4121.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19879.0, raw_currents_left=[21.4, 32.5, 31.9], surplus_power_left=0, state_str=''))
2024-01-28 14:25:52,049 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6763.6, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311540.558340775, disengageable_smarthome_power=0))
2024-01-28 14:25:52,051 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:25:52,052 - {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-28 14:25:52,053 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:25:52,057 - {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-28 14:25:52,058 - {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-28 14:25:52,059 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:52,061 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:25:52,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-28 14:25:52,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-28 14:25:52,066 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:52,067 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:25:52,071 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c0e50>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:25:52,072 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:25:52,073 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:25:52,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 0x6f7c38b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:25:52,075 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301356.958, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:25:52,080 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004840.12, fault_state=0, fault_str='Kein Fehler.', power=-2552.6))
2024-01-28 14:25:52,081 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306197.078, power=-2642.6))
2024-01-28 14:25:52,082 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448341, 'time': '14:25:41', 'grid': 4.096, 'house-power': 6.743, 'charging-all': 0.0, 'pv-all': 2.647, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:25:52,083 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:25:52,085 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:25:52,086 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:52,087 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:25:52,091 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:25:52,092 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:25:52,093 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:25:52,095 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:25:52,098 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:25:52,101 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:25:52,104 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:25:52,106 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:25:52,107 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4221.0W
2024-01-28 14:25:52,108 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4221.0W
2024-01-28 14:25:52,109 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:25:52,110 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:25:52,112 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:25:52,115 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:25:52,118 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:25:52,163 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:25:55,586 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:25:55,587 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:00,600 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:00,604 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:26:00,605 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:26:00,683 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:26:00,686 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:00,714 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:00,720 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:26:00,730 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:00,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4118, -3201, -277, -639], Scale 0
2024-01-28 14:26:00,776 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:26:00,781 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.2, "voltage":240.8, "current":0.391, "aenergy":{"total":9416.302,"by_minute":[1506.636,1511.383,1517.554],"minute_ts":1706448359},"temperature":{"tC":38.8, "tF":101.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:26","unixtime":1706448361,"uptime":5807755,"ram_size":248948,"ram_free":144512,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:26:00,784 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448351.078976, power=-90, imported=0.0, exported=301356.95778611524)
2024-01-28 14:26:00,785 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00269583, power1: -90, power2: -90
2024-01-28 14:26:00,785 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.242624
2024-01-28 14:26:00,786 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.242624 Wh, new state: SimCounterState(timestamp=1706448360.7839487, power=-90, imported=0.0, exported=301357.2004104338)
2024-01-28 14:26:00,788 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.2004104338, dc_power=None)
2024-01-28 14:26:00,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 26, 30], Scale -1
2024-01-28 14:26:00,922 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23733, 24042, 23736, 0, 0, 0, 0], Scale -2
2024-01-28 14:26:00,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:26:00,982 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 4410, 8780], Scale -2
2024-01-28 14:26:01,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628365, 3551091, 2508446, 3136929], Scale 0
2024-01-28 14:26:01,005 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 2.6, 3.0], powers=[3201.0, 277.0, 639.0], voltages=[237.33, 240.42000000000002, 237.36], power_factors=[0.9869, 0.441, 0.878], imported=8628365.0, exported=4872875.0, power=4118.0, frequency=50.0)
2024-01-28 14:26:01,006 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:01,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25514], Scale -1
2024-01-28 14:26:01,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962851], Scale 0
2024-01-28 14:26:01,072 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [358, 360, 357], Scale -2
2024-01-28 14:26:01,150 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25987], Scale -1
2024-01-28 14:26:01,151 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.58, 3.6, 3.5700000000000003]
2024-01-28 14:26:01,151 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.58, 3.6, 3.5700000000000003], power=-2551.4, exported=7962851.0, dc_power=-2598.7000000000003)
2024-01-28 14:26:01,152 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:01,193 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448351.4522493, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:01,193 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00270579, power1: 0, power2: 0
2024-01-28 14:26:01,194 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:26:01,194 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448361.193108, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:01,195 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:01,202 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:01,206 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:01,248 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:01,250 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:01,251 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:01,251 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2551.4, exported=8004847.12, dc_power=None)
2024-01-28 14:26:01,253 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.2004104338, dc_power=None)
2024-01-28 14:26:01,254 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2551.4, exported=8004847.12, dc_power=None)
2024-01-28 14:26:01,254 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.2004104338, dc_power=None)
2024-01-28 14:26:01,333 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:01,340 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 2.6, 3.0], powers=[3201.0, 277.0, 639.0], voltages=[237.33, 240.42000000000002, 237.36], power_factors=[0.9869, 0.441, 0.878], imported=8628365.0, exported=4872875.0, power=4118.0, frequency=50.0)
2024-01-28 14:26:01,592 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:01,594 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:26:01,594 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7739a0>
2024-01-28 14:26:01,601 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:01,603 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7739a0>
2024-01-28 14:26:01,730 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:26:01,733 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.4, 32.5, 32.0]A
2024-01-28 14:26:01,734 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19882.0W
2024-01-28 14:26:01,735 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:26:01,738 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:26:01,739 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:26:01,741 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:26:01.741146
2024-01-28 14:26:01,743 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137347.575624s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:26:01,744 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:26:01.743987
2024-01-28 14:26:01,745 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:26:01.743987
2024-01-28 14:26:01,747 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54189.808808s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:26:01,749 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:26:01.748633
2024-01-28 14:26:01,750 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129566.201678s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:26:01,751 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:26:01.750936
2024-01-28 14:26:01,752 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:26:01.750936
2024-01-28 14:26:01,754 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52892.907449s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:26:01,755 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:26:01,758 - {control.chargepoint.chargepoint:667} - {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-28 14:26:01,760 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:26:01,763 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448352.0318308, power=6763.6, imported=4311540.558340775, exported=0)
2024-01-28 14:26:01,765 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00270334, power1: 6763.6, power2: 6759.4
2024-01-28 14:26:01,766 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 18.2787
2024-01-28 14:26:01,768 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 18.2787 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448361.7638664, power=6759.4, imported=4311558.836996041, exported=0)
2024-01-28 14:26:01,772 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:26:01,781 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:26:01,782 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:26:01,785 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.99, 237.84, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70165a00>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:26:01,786 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:26:01,788 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:26:01,790 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3201.0, 277.0, 639.0], currents=[13.6, 2.6, 3.0], voltages=[237.33, 240.42, 237.36], power_factors=[0.99, 0.44, 0.88], unbalanced_load=0, frequency=50.0, daily_exported=11.0, daily_imported=21619.0, imported=8628365.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4118.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19882.0, raw_currents_left=[21.4, 32.5, 32.0], surplus_power_left=0, state_str=''))
2024-01-28 14:26:01,809 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6759.4, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311558.836996041, disengageable_smarthome_power=0))
2024-01-28 14:26:01,814 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:26:01,816 - {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-28 14:26:01,826 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:26:01,828 - {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-28 14:26:01,829 - {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-28 14:26:01,831 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:01,831 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:01,832 - {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-28 14:26:01,834 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:26:01,837 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:01,838 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:01,840 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed5ba90>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:26:01,840 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:26:01,842 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:26:01,845 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6eda5358>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:26:01,850 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301357.2, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:26:01,851 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004847.12, fault_state=0, fault_str='Kein Fehler.', power=-2551.4))
2024-01-28 14:26:01,852 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306204.32, power=-2641.4))
2024-01-28 14:26:01,854 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448352, 'time': '14:25:52', 'grid': 4.121, 'house-power': 6.764, 'charging-all': 0.0, 'pv-all': 2.643, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:26:01,857 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:26:01,859 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:26:01,860 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:01,861 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:01,863 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:26:01,864 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:26:01,866 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:26:01,868 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:26:01,870 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:26:01,874 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:26:01,876 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:26:01,880 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:26:01,882 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4218.0W
2024-01-28 14:26:01,883 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4218.0W
2024-01-28 14:26:01,885 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:26:01,886 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:26:01,887 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:26:01,890 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:26:01,894 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:01,944 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:26:05,228 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:05,229 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:10,244 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:10,245 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:10,246 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:26:10,247 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:26:10,298 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:26:10,300 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:10,307 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:26:10,309 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:10,310 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:10,352 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:26:10,354 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.1, "voltage":240.4, "current":0.391, "aenergy":{"total":9416.553,"by_minute":[250.157,1506.636,1511.383],"minute_ts":1706448369},"temperature":{"tC":38.9, "tF":102.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:26","unixtime":1706448370,"uptime":5807765,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:26:10,356 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448360.7839487, power=-90, imported=0.0, exported=301357.2004104338)
2024-01-28 14:26:10,357 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265891, power1: -90, power2: -90
2024-01-28 14:26:10,357 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.239302
2024-01-28 14:26:10,357 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.239302 Wh, new state: SimCounterState(timestamp=1706448370.3560338, power=-90, imported=0.0, exported=301357.43971256237)
2024-01-28 14:26:10,359 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.43971256237, dc_power=None)
2024-01-28 14:26:10,383 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4128, -3201, -281, -645], Scale 0
2024-01-28 14:26:10,413 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 27, 31], Scale -1
2024-01-28 14:26:10,432 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23723, 24033, 23745, 0, 0, 0, 0], Scale -2
2024-01-28 14:26:10,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:26:10,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 4329, 8650], Scale -2
2024-01-28 14:26:10,576 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628375, 3551098, 2508447, 3136931], Scale 0
2024-01-28 14:26:10,577 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 2.7, 3.1], powers=[3201.0, 281.0, 645.0], voltages=[237.23000000000002, 240.33, 237.45000000000002], power_factors=[0.9860000000000001, 0.4329, 0.865], imported=8628375.0, exported=4872875.0, power=4128.0, frequency=49.99)
2024-01-28 14:26:10,578 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:10,602 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25568], Scale -1
2024-01-28 14:26:10,634 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962858], Scale 0
2024-01-28 14:26:10,651 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [361, 361, 360], Scale -2
2024-01-28 14:26:10,671 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26086], Scale -1
2024-01-28 14:26:10,672 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.61, 3.61, 3.6]
2024-01-28 14:26:10,672 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.61, 3.61, 3.6], power=-2556.8, exported=7962858.0, dc_power=-2608.6000000000004)
2024-01-28 14:26:10,673 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:10,742 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448361.193108, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:10,743 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265257, power1: 0, power2: 0
2024-01-28 14:26:10,743 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:26:10,744 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448370.7423713, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:10,745 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:10,750 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:10,751 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:10,802 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:10,804 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:10,808 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:10,810 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2556.8, exported=8004854.12, dc_power=None)
2024-01-28 14:26:10,810 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.43971256237, dc_power=None)
2024-01-28 14:26:10,811 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2556.8, exported=8004854.12, dc_power=None)
2024-01-28 14:26:10,812 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.43971256237, dc_power=None)
2024-01-28 14:26:10,853 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:10,855 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 2.7, 3.1], powers=[3201.0, 281.0, 645.0], voltages=[237.23000000000002, 240.33, 237.45000000000002], power_factors=[0.9860000000000001, 0.4329, 0.865], imported=8628375.0, exported=4872875.0, power=4128.0, frequency=49.99)
2024-01-28 14:26:10,916 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:10,917 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:26:10,917 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6c28>
2024-01-28 14:26:10,923 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:10,928 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6c28>
2024-01-28 14:26:11,051 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:26:11,053 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.4, 32.4, 31.9]A
2024-01-28 14:26:11,056 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19872.0W
2024-01-28 14:26:11,058 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:26:11,060 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:26:11,062 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:26:11,064 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:26:11.063735
2024-01-28 14:26:11,066 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137338.253035s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:26:11,068 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:26:11.067963
2024-01-28 14:26:11,070 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:26:11.067963
2024-01-28 14:26:11,072 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54180.484832s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:26:11,073 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:26:11.073461
2024-01-28 14:26:11,076 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129556.87685s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:26:11,080 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:26:11.079898
2024-01-28 14:26:11,082 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:26:11.079898
2024-01-28 14:26:11,084 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52883.578487s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:26:11,086 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:26:11,090 - {control.chargepoint.chargepoint:667} - {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-28 14:26:11,093 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:26:11,121 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448361.7638664, power=6759.4, imported=4311558.836996041, exported=0)
2024-01-28 14:26:11,122 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259928, power1: 6759.4, power2: 6774.8
2024-01-28 14:26:11,124 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.5896
2024-01-28 14:26:11,126 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.5896 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448371.1212764, power=6774.8, imported=4311576.426587403, exported=0)
2024-01-28 14:26:11,130 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:26:11,132 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:26:11,134 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:26:11,137 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.68, 237.52]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed5b0d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:26:11,139 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:26:11,143 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:26:11,144 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3201.0, 281.0, 645.0], currents=[13.6, 2.7, 3.1], voltages=[237.23, 240.33, 237.45], power_factors=[0.99, 0.43, 0.86], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628375.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4128.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19872.0, raw_currents_left=[21.4, 32.4, 31.9], surplus_power_left=0, state_str=''))
2024-01-28 14:26:11,146 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6774.8, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311576.426587403, disengageable_smarthome_power=0))
2024-01-28 14:26:11,148 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:26:11,150 - {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-28 14:26:11,151 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:26:11,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-28 14:26:11,160 - {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-28 14:26:11,162 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:11,163 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:11,165 - {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-28 14:26:11,168 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:26:11,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-28 14:26:11,171 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:11,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed5bd90>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:26:11,173 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:26:11,175 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:26:11,177 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5358>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:26:11,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=414.0, monthly_exported=0, yearly_exported=0, exported=301357.44, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:26:11,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=4276.0, monthly_exported=0, yearly_exported=0, exported=8004854.12, fault_state=0, fault_str='Kein Fehler.', power=-2556.8))
2024-01-28 14:26:11,180 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306211.5600000005, power=-2646.8))
2024-01-28 14:26:11,181 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448361, 'time': '14:26:01', 'grid': 4.118, 'house-power': 6.759, 'charging-all': 0.0, 'pv-all': 2.641, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:26:11,183 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:26:11,184 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:26:11,185 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:11,186 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:11,187 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:26:11,189 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:26:11,190 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:26:11,191 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:26:11,192 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:26:11,196 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:26:11,199 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:26:11,203 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:26:11,204 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4228.0W
2024-01-28 14:26:11,205 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4228.0W
2024-01-28 14:26:11,207 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:26:11,208 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:26:11,209 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:26:11,216 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:26:11,221 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:11,243 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:26:15,578 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:20,604 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:20,605 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:20,606 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:26:20,607 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:26:20,653 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:26:20,655 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:20,662 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:26:20,664 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:20,671 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:20,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4113, -3197, -276, -639], Scale 0
2024-01-28 14:26:20,723 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:26:20,725 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.9, "voltage":240.2, "current":0.391, "aenergy":{"total":9416.804,"by_minute":[500.314,1506.636,1511.383],"minute_ts":1706448379},"temperature":{"tC":38.8, "tF":101.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:26","unixtime":1706448381,"uptime":5807775,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:26:20,727 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448370.3560338, power=-90, imported=0.0, exported=301357.43971256237)
2024-01-28 14:26:20,728 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288099, power1: -90, power2: -89
2024-01-28 14:26:20,728 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.257848
2024-01-28 14:26:20,729 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.257848 Wh, new state: SimCounterState(timestamp=1706448380.727581, power=-89, imported=0.0, exported=301357.69756075024)
2024-01-28 14:26:20,730 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301357.69756075024, dc_power=None)
2024-01-28 14:26:20,745 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 26, 30], Scale -1
2024-01-28 14:26:20,896 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23710, 24024, 23730, 0, 0, 0, 0], Scale -2
2024-01-28 14:26:20,932 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:26:20,952 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 4429, 8769], Scale -2
2024-01-28 14:26:20,977 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628383, 3551105, 2508448, 3136932], Scale 0
2024-01-28 14:26:20,978 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 2.6, 3.0], powers=[3197.0, 276.0, 639.0], voltages=[237.1, 240.24, 237.3], power_factors=[0.9869, 0.4429, 0.8769], imported=8628383.0, exported=4872875.0, power=4113.0, frequency=49.97)
2024-01-28 14:26:20,979 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:21,062 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25852], Scale -1
2024-01-28 14:26:21,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962866], Scale 0
2024-01-28 14:26:21,111 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [364, 364, 361], Scale -2
2024-01-28 14:26:21,131 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26245], Scale -1
2024-01-28 14:26:21,132 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.64, 3.64, 3.61]
2024-01-28 14:26:21,132 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.64, 3.64, 3.61], power=-2585.2000000000003, exported=7962866.0, dc_power=-2624.5)
2024-01-28 14:26:21,133 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:21,282 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448370.7423713, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:21,284 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292792, power1: 0, power2: 0
2024-01-28 14:26:21,284 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:26:21,285 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448381.2828934, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:21,286 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:21,289 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:21,290 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:21,339 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:21,340 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:21,341 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:21,342 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2585.2000000000003, exported=8004862.12, dc_power=None)
2024-01-28 14:26:21,343 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301357.69756075024, dc_power=None)
2024-01-28 14:26:21,344 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2585.2000000000003, exported=8004862.12, dc_power=None)
2024-01-28 14:26:21,346 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301357.69756075024, dc_power=None)
2024-01-28 14:26:21,395 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:21,396 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 2.6, 3.0], powers=[3197.0, 276.0, 639.0], voltages=[237.1, 240.24, 237.3], power_factors=[0.9869, 0.4429, 0.8769], imported=8628383.0, exported=4872875.0, power=4113.0, frequency=49.97)
2024-01-28 14:26:21,461 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:21,462 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:26:21,463 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6eda5070>
2024-01-28 14:26:21,466 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:21,466 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6eda5070>
2024-01-28 14:26:21,597 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:26:21,609 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.4, 32.5, 32.0]A
2024-01-28 14:26:21,613 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19887.0W
2024-01-28 14:26:21,623 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:26:21,632 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:26:21,639 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:26:21,649 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:26:21.648679
2024-01-28 14:26:21,655 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137327.668091s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:26:21,659 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:26:21.658689
2024-01-28 14:26:21,662 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:26:21.658689
2024-01-28 14:26:21,671 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54169.894106s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:26:21,679 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:26:21.679058
2024-01-28 14:26:21,685 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129546.271253s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:26:21,698 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:26:21.698231
2024-01-28 14:26:21,700 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:26:21.698231
2024-01-28 14:26:21,703 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52872.960154s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:26:21,710 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:26:21,721 - {control.chargepoint.chargepoint:667} - {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-28 14:26:21,725 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:26:21,749 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448371.1212764, power=6774.8, imported=4311576.426587403, exported=0)
2024-01-28 14:26:21,758 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295238, power1: 6774.8, power2: 6787.2
2024-01-28 14:26:21,760 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 20.0201
2024-01-28 14:26:21,761 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 20.0201 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448381.749848, power=6787.2, imported=4311596.446682795, exported=0)
2024-01-28 14:26:21,778 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:26:21,780 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:26:21,783 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:26:21,789 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.8, 237.84, 237.53]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70162748>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:26:21,791 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:26:21,792 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:26:21,793 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3197.0, 276.0, 639.0], currents=[13.6, 2.6, 3.0], voltages=[237.1, 240.24, 237.3], power_factors=[0.99, 0.44, 0.88], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628383.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4113.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19887.0, raw_currents_left=[21.4, 32.5, 32.0], surplus_power_left=0, state_str=''))
2024-01-28 14:26:21,800 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6787.2, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311596.446682795, disengageable_smarthome_power=0))
2024-01-28 14:26:21,802 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:26:21,804 - {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-28 14:26:21,806 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:26:21,807 - {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-28 14:26:21,808 - {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-28 14:26:21,810 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:21,817 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:21,823 - {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-28 14:26:21,825 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:26:21,826 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:21,827 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:21,829 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x70162d30>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:26:21,833 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:26:21,834 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:26:21,840 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7f5310>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:26:21,841 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301357.698, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:26:21,847 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004862.12, fault_state=0, fault_str='Kein Fehler.', power=-2585.2))
2024-01-28 14:26:21,849 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306219.818, power=-2674.2))
2024-01-28 14:26:21,854 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448371, 'time': '14:26:11', 'grid': 4.128, 'house-power': 6.775, 'charging-all': 0.0, 'pv-all': 2.647, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:26:21,855 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:26:21,860 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:26:21,862 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:21,863 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:21,867 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:26:21,869 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:26:21,872 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:26:21,874 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:26:21,875 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:26:21,877 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:26:21,880 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:26:21,882 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:26:21,883 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4213.0W
2024-01-28 14:26:21,889 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4213.0W
2024-01-28 14:26:21,893 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:26:21,897 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:26:21,900 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:26:21,908 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:26:21,917 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:21,972 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:26:25,298 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:25,299 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:30,311 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:30,314 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:26:30,316 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:26:30,409 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:26:30,411 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:30,420 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:30,422 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:26:30,425 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:30,468 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:26:30,470 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.0, "voltage":240.6, "current":0.391, "aenergy":{"total":9417.055,"by_minute":[750.471,1506.636,1511.383],"minute_ts":1706448389},"temperature":{"tC":38.8, "tF":101.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:26","unixtime":1706448391,"uptime":5807785,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:26:30,472 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448380.727581, power=-89, imported=0.0, exported=301357.69756075024)
2024-01-28 14:26:30,473 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00270703, power1: -89, power2: -90
2024-01-28 14:26:30,474 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.242279
2024-01-28 14:26:30,474 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.242279 Wh, new state: SimCounterState(timestamp=1706448390.4728932, power=-90, imported=0.0, exported=301357.93984004)
2024-01-28 14:26:30,477 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.93984004, dc_power=None)
2024-01-28 14:26:30,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4110, -3192, -278, -639], Scale 0
2024-01-28 14:26:30,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 26, 31], Scale -1
2024-01-28 14:26:30,560 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23721, 24035, 23728, 0, 0, 0, 0], Scale -2
2024-01-28 14:26:30,592 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:26:30,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 4210, 8650], Scale -2
2024-01-28 14:26:30,651 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628393, 3551112, 2508448, 3136934], Scale 0
2024-01-28 14:26:30,652 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 2.6, 3.1], powers=[3192.0, 278.0, 639.0], voltages=[237.21, 240.35, 237.28], power_factors=[0.9869, 0.42100000000000004, 0.865], imported=8628393.0, exported=4872875.0, power=4110.0, frequency=49.97)
2024-01-28 14:26:30,654 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:30,711 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26062], Scale -1
2024-01-28 14:26:30,758 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962873], Scale 0
2024-01-28 14:26:30,803 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [367, 366, 362], Scale -2
2024-01-28 14:26:30,833 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26372], Scale -1
2024-01-28 14:26:30,833 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.67, 3.66, 3.62]
2024-01-28 14:26:30,834 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.67, 3.66, 3.62], power=-2606.2000000000003, exported=7962873.0, dc_power=-2637.2000000000003)
2024-01-28 14:26:30,835 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:30,881 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448381.2828934, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:30,882 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266636, power1: 0, power2: 0
2024-01-28 14:26:30,883 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:26:30,883 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448390.881787, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:30,884 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:30,903 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:30,904 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:30,934 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:30,937 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:30,938 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:30,938 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2606.2000000000003, exported=8004869.12, dc_power=None)
2024-01-28 14:26:30,939 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.93984004, dc_power=None)
2024-01-28 14:26:30,940 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2606.2000000000003, exported=8004869.12, dc_power=None)
2024-01-28 14:26:30,940 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301357.93984004, dc_power=None)
2024-01-28 14:26:30,983 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:30,985 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 2.6, 3.1], powers=[3192.0, 278.0, 639.0], voltages=[237.21, 240.35, 237.28], power_factors=[0.9869, 0.42100000000000004, 0.865], imported=8628393.0, exported=4872875.0, power=4110.0, frequency=49.97)
2024-01-28 14:26:31,049 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:31,050 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:26:31,051 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed92148>
2024-01-28 14:26:31,055 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:31,057 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed92148>
2024-01-28 14:26:31,179 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:26:31,183 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.4, 32.5, 31.9]A
2024-01-28 14:26:31,184 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19890.0W
2024-01-28 14:26:31,185 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:26:31,190 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:26:31,191 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:26:31,192 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:26:31.192234
2024-01-28 14:26:31,194 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137318.124536s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:26:31,197 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:26:31.196861
2024-01-28 14:26:31,198 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:26:31.196861
2024-01-28 14:26:31,199 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54160.355934s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:26:31,201 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:26:31.200769
2024-01-28 14:26:31,202 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129536.749542s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:26:31,204 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:26:31.203652
2024-01-28 14:26:31,205 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:26:31.203652
2024-01-28 14:26:31,208 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52863.454733s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:26:31,209 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:26:31,219 - {control.chargepoint.chargepoint:667} - {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-28 14:26:31,221 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:26:31,228 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448381.749848, power=6787.2, imported=4311596.446682795, exported=0)
2024-01-28 14:26:31,234 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263285, power1: 6787.2, power2: 6806.2
2024-01-28 14:26:31,242 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.8947
2024-01-28 14:26:31,244 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.8947 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448391.2280998, power=6806.2, imported=4311614.341359162, exported=0)
2024-01-28 14:26:31,255 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:26:31,259 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:26:31,263 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:26:31,265 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.74, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6eda26d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:26:31,266 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:26:31,267 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:26:31,268 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3192.0, 278.0, 639.0], currents=[13.6, 2.6, 3.1], voltages=[237.21, 240.35, 237.28], power_factors=[0.99, 0.42, 0.86], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628393.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4110.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19890.0, raw_currents_left=[21.4, 32.5, 31.9], surplus_power_left=0, state_str=''))
2024-01-28 14:26:31,269 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6806.2, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311614.341359162, disengageable_smarthome_power=0))
2024-01-28 14:26:31,270 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:26:31,272 - {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-28 14:26:31,274 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:26:31,276 - {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-28 14:26:31,278 - {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-28 14:26:31,280 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:31,283 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:31,284 - {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-28 14:26:31,287 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:26:31,289 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:31,290 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:31,293 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d9868>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:26:31,295 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:26:31,296 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:26:31,300 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7fae80>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:26:31,302 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301357.94, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:26:31,304 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004869.12, fault_state=0, fault_str='Kein Fehler.', power=-2606.2))
2024-01-28 14:26:31,307 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306227.0600000005, power=-2696.2))
2024-01-28 14:26:31,309 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448381, 'time': '14:26:21', 'grid': 4.113, 'house-power': 6.787, 'charging-all': 0.0, 'pv-all': 2.674, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:26:31,310 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:26:31,313 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:26:31,315 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:31,316 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:31,318 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:26:31,321 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:26:31,323 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:26:31,325 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:26:31,326 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:26:31,329 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:26:31,331 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:26:31,335 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:26:31,336 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4210.0W
2024-01-28 14:26:31,339 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4210.0W
2024-01-28 14:26:31,342 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:26:31,344 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:26:31,345 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:26:31,351 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:26:31,359 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:31,401 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:26:35,726 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:35,728 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:40,740 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:40,741 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:40,741 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:26:40,742 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:26:40,791 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:26:40,798 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:40,805 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:26:40,805 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:40,809 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:40,855 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:26:40,857 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.9, "voltage":240.5, "current":0.389, "aenergy":{"total":9417.305,"by_minute":[1000.153,1506.636,1511.383],"minute_ts":1706448399},"temperature":{"tC":38.9, "tF":102.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:26","unixtime":1706448401,"uptime":5807795,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:26:40,859 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448390.4728932, power=-90, imported=0.0, exported=301357.93984004)
2024-01-28 14:26:40,860 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288521, power1: -90, power2: -89
2024-01-28 14:26:40,861 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.258226
2024-01-28 14:26:40,861 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.258226 Wh, new state: SimCounterState(timestamp=1706448400.8596532, power=-89, imported=0.0, exported=301358.19806643436)
2024-01-28 14:26:40,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4127, -3186, -280, -660], Scale 0
2024-01-28 14:26:40,865 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301358.19806643436, dc_power=None)
2024-01-28 14:26:40,902 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 26, 31], Scale -1
2024-01-28 14:26:40,922 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23716, 24039, 23735, 0, 0, 0, 0], Scale -2
2024-01-28 14:26:40,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:26:40,962 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 4410, 8799], Scale -2
2024-01-28 14:26:41,105 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628411, 3551126, 2508450, 3136936], Scale 0
2024-01-28 14:26:41,106 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 2.6, 3.1], powers=[3186.0, 280.0, 660.0], voltages=[237.16, 240.39000000000001, 237.35], power_factors=[0.9869, 0.441, 0.8798999999999999], imported=8628411.0, exported=4872875.0, power=4127.0, frequency=49.95)
2024-01-28 14:26:41,109 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:41,132 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25663], Scale -1
2024-01-28 14:26:41,152 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962881], Scale 0
2024-01-28 14:26:41,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [361, 362, 359], Scale -2
2024-01-28 14:26:41,217 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26054], Scale -1
2024-01-28 14:26:41,218 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.61, 3.62, 3.59]
2024-01-28 14:26:41,218 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.61, 3.62, 3.59], power=-2566.3, exported=7962881.0, dc_power=-2605.4)
2024-01-28 14:26:41,225 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:41,287 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448390.881787, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:41,288 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289051, power1: 0, power2: 0
2024-01-28 14:26:41,289 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:26:41,289 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448401.2876127, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:41,291 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:41,301 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:41,302 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:41,342 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:41,344 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:41,345 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2566.3, exported=8004877.12, dc_power=None)
2024-01-28 14:26:41,346 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:41,346 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2566.3, exported=8004877.12, dc_power=None)
2024-01-28 14:26:41,347 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301358.19806643436, dc_power=None)
2024-01-28 14:26:41,350 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301358.19806643436, dc_power=None)
2024-01-28 14:26:41,392 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:41,393 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 2.6, 3.1], powers=[3186.0, 280.0, 660.0], voltages=[237.16, 240.39000000000001, 237.35], power_factors=[0.9869, 0.441, 0.8798999999999999], imported=8628411.0, exported=4872875.0, power=4127.0, frequency=49.95)
2024-01-28 14:26:41,458 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:41,459 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:26:41,460 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70162298>
2024-01-28 14:26:41,462 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:41,463 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70162298>
2024-01-28 14:26:41,646 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:26:41,651 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.4, 32.5, 31.9]A
2024-01-28 14:26:41,651 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19873.0W
2024-01-28 14:26:41,653 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:26:41,654 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:26:41,655 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:26:41,656 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:26:41.655598
2024-01-28 14:26:41,657 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137307.661172s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:26:41,660 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:26:41.658375
2024-01-28 14:26:41,667 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:26:41.658375
2024-01-28 14:26:41,670 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54149.89442s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:26:41,681 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:26:41.680180
2024-01-28 14:26:41,684 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129526.270131s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:26:41,690 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:26:41.690329
2024-01-28 14:26:41,693 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:26:41.690329
2024-01-28 14:26:41,702 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52852.968056s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:26:41,704 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:26:41,717 - {control.chargepoint.chargepoint:667} - {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-28 14:26:41,723 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:26:41,737 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448391.2280998, power=6806.2, imported=4311614.341359162, exported=0)
2024-01-28 14:26:41,744 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291914, power1: 6806.2, power2: 6782.3
2024-01-28 14:26:41,748 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 19.8333
2024-01-28 14:26:41,752 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 19.8333 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448401.7369897, power=6782.3, imported=4311634.174699522, exported=0)
2024-01-28 14:26:41,768 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:26:41,770 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:26:41,778 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:26:41,780 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.73, 237.77, 237.46]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb39b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:26:41,791 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:26:41,796 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:26:41,799 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3186.0, 280.0, 660.0], currents=[13.6, 2.6, 3.1], voltages=[237.16, 240.39, 237.35], power_factors=[0.99, 0.44, 0.88], unbalanced_load=0, frequency=49.95, daily_exported=11.0, daily_imported=21619.0, imported=8628411.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4127.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19873.0, raw_currents_left=[21.4, 32.5, 31.9], surplus_power_left=0, state_str=''))
2024-01-28 14:26:41,800 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6782.3, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311634.174699522, disengageable_smarthome_power=0))
2024-01-28 14:26:41,803 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:26:41,805 - {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-28 14:26:41,807 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:26:41,811 - {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-28 14:26:41,814 - {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-28 14:26:41,816 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:41,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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:41,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-28 14:26:41,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-28 14:26:41,838 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:41,839 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:41,842 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6a78>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:26:41,848 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:26:41,851 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:26:41,855 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb7da8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:26:41,857 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301358.198, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:26:41,858 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004877.12, fault_state=0, fault_str='Kein Fehler.', power=-2566.3))
2024-01-28 14:26:41,861 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306235.318, power=-2655.3))
2024-01-28 14:26:41,862 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448391, 'time': '14:26:31', 'grid': 4.11, 'house-power': 6.806, 'charging-all': 0.0, 'pv-all': 2.696, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:26:41,866 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:26:41,873 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:26:41,875 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:41,880 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:41,881 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:26:41,883 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:26:41,885 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:26:41,886 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:26:41,887 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:26:41,889 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:26:41,891 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:26:41,894 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:26:41,897 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4227.0W
2024-01-28 14:26:41,898 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4227.0W
2024-01-28 14:26:41,900 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:26:41,901 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:26:41,902 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:26:41,909 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:26:41,918 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:41,946 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:26:45,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:50,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:50,298 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:26:50,299 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:26:50,299 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:26:50,346 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:26:50,347 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:50,348 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:50,355 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:26:50,359 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:50,409 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:26:50,411 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.0, "voltage":240.4, "current":0.391, "aenergy":{"total":9417.555,"by_minute":[1249.835,1506.636,1511.383],"minute_ts":1706448409},"temperature":{"tC":38.9, "tF":102.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:26","unixtime":1706448410,"uptime":5807805,"ram_size":248984,"ram_free":144888,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:26:50,413 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448400.8596532, power=-89, imported=0.0, exported=301358.19806643436)
2024-01-28 14:26:50,414 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026538, power1: -89, power2: -90
2024-01-28 14:26:50,415 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.237515
2024-01-28 14:26:50,416 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4164, -3203, -298, -662], Scale 0
2024-01-28 14:26:50,417 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.237515 Wh, new state: SimCounterState(timestamp=1706448410.4133492, power=-90, imported=0.0, exported=301358.4355819301)
2024-01-28 14:26:50,419 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301358.4355819301, dc_power=None)
2024-01-28 14:26:50,442 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 27, 31], Scale -1
2024-01-28 14:26:50,461 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23713, 24030, 23725, 0, 0, 0, 0], Scale -2
2024-01-28 14:26:50,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:26:50,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9850, 4550, 8740], Scale -2
2024-01-28 14:26:50,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628420, 3551133, 2508450, 3136938], Scale 0
2024-01-28 14:26:50,573 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 2.7, 3.1], powers=[3203.0, 298.0, 662.0], voltages=[237.13, 240.3, 237.25], power_factors=[0.985, 0.455, 0.8740000000000001], imported=8628420.0, exported=4872875.0, power=4164.0, frequency=49.95)
2024-01-28 14:26:50,574 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:50,590 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25547], Scale -1
2024-01-28 14:26:50,611 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962888], Scale 0
2024-01-28 14:26:50,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [361, 358, 358], Scale -2
2024-01-28 14:26:50,681 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25936], Scale -1
2024-01-28 14:26:50,682 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.61, 3.58, 3.58]
2024-01-28 14:26:50,682 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.61, 3.58, 3.58], power=-2554.7000000000003, exported=7962888.0, dc_power=-2593.6000000000004)
2024-01-28 14:26:50,684 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:50,761 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448401.2876127, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:50,762 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026317, power1: 0, power2: 0
2024-01-28 14:26:50,762 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:26:50,763 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448410.7617347, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:26:50,764 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:50,783 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:26:50,784 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:26:50,862 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:50,864 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:26:50,865 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2554.7000000000003, exported=8004884.12, dc_power=None)
2024-01-28 14:26:50,866 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:26:50,867 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2554.7000000000003, exported=8004884.12, dc_power=None)
2024-01-28 14:26:50,868 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301358.4355819301, dc_power=None)
2024-01-28 14:26:50,871 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301358.4355819301, dc_power=None)
2024-01-28 14:26:50,910 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:26:50,911 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 2.7, 3.1], powers=[3203.0, 298.0, 662.0], voltages=[237.13, 240.3, 237.25], power_factors=[0.985, 0.455, 0.8740000000000001], imported=8628420.0, exported=4872875.0, power=4164.0, frequency=49.95)
2024-01-28 14:26:50,977 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:50,978 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:26:50,978 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7fbc28>
2024-01-28 14:26:50,981 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:26:50,982 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7fbc28>
2024-01-28 14:26:51,122 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:26:51,127 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.3, 32.4, 31.9]A
2024-01-28 14:26:51,128 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19836.0W
2024-01-28 14:26:51,131 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:26:51,138 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:26:51,140 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:26:51,142 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:26:51.142167
2024-01-28 14:26:51,144 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137298.174603s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:26:51,147 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:26:51.146821
2024-01-28 14:26:51,149 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:26:51.146821
2024-01-28 14:26:51,151 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54140.405974s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:26:51,153 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:26:51.153113
2024-01-28 14:26:51,154 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129516.797198s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:26:51,156 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:26:51.155690
2024-01-28 14:26:51,158 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:26:51.155690
2024-01-28 14:26:51,159 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52843.502695s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:26:51,160 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:26:51,163 - {control.chargepoint.chargepoint:667} - {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-28 14:26:51,166 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:26:51,195 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448401.7369897, power=6782.3, imported=4311634.174699522, exported=0)
2024-01-28 14:26:51,197 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262722, power1: 6782.3, power2: 6808.7
2024-01-28 14:26:51,200 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.8533
2024-01-28 14:26:51,202 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.8533 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448411.1949968, power=6808.7, imported=4311652.02800153, exported=0)
2024-01-28 14:26:51,205 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:26:51,207 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:26:51,209 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:26:51,211 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.6, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ede2e98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:26:51,213 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:26:51,215 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:26:51,218 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3203.0, 298.0, 662.0], currents=[13.7, 2.7, 3.1], voltages=[237.13, 240.3, 237.25], power_factors=[0.98, 0.46, 0.87], unbalanced_load=0, frequency=49.95, daily_exported=11.0, daily_imported=21619.0, imported=8628420.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4164.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19836.0, raw_currents_left=[21.3, 32.4, 31.9], surplus_power_left=0, state_str=''))
2024-01-28 14:26:51,219 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6808.7, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311652.02800153, disengageable_smarthome_power=0))
2024-01-28 14:26:51,220 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:26:51,222 - {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-28 14:26:51,223 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:26:51,224 - {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-28 14:26:51,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-28 14:26:51,227 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:51,228 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:26:51,230 - {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-28 14:26:51,231 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:26:51,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-28 14:26:51,238 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:26:51,240 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed943b8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:26:51,243 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:26:51,245 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:26:51,247 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5400>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:26:51,249 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301358.436, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:26:51,251 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004884.12, fault_state=0, fault_str='Kein Fehler.', power=-2554.7))
2024-01-28 14:26:51,252 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306242.556, power=-2644.7))
2024-01-28 14:26:51,254 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448401, 'time': '14:26:41', 'grid': 4.127, 'house-power': 6.782, 'charging-all': 0.0, 'pv-all': 2.655, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:26:51,255 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:26:51,257 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:26:51,258 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:51,259 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:26:51,261 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:26:51,261 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:26:51,263 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:26:51,264 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:26:51,267 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:26:51,270 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:26:51,273 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:26:51,276 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:26:51,278 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4264.0W
2024-01-28 14:26:51,281 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4264.0W
2024-01-28 14:26:51,282 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:26:51,283 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:26:51,289 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:26:51,292 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:26:51,295 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:26:51,331 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:26:55,662 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:26:55,663 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:00,678 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:00,681 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:27:00,683 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:27:00,756 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:27:00,758 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:00,767 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:27:00,770 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:00,787 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:00,822 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4200, -3229, -301, -669], Scale 0
2024-01-28 14:27:00,828 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:27:00,832 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.9, "voltage":240.5, "current":0.389, "aenergy":{"total":9417.806,"by_minute":[1499.991,1506.636,1511.383],"minute_ts":1706448419},"temperature":{"tC":38.9, "tF":102.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:27","unixtime":1706448421,"uptime":5807815,"ram_size":248948,"ram_free":144512,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:27:00,837 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448410.4133492, power=-90, imported=0.0, exported=301358.4355819301)
2024-01-28 14:27:00,838 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289542, power1: -90, power2: -89
2024-01-28 14:27:00,838 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.25914
2024-01-28 14:27:00,840 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.25914 Wh, new state: SimCounterState(timestamp=1706448420.8368616, power=-89, imported=0.0, exported=301358.6947220315)
2024-01-28 14:27:00,842 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301358.6947220315, dc_power=None)
2024-01-28 14:27:00,883 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 26, 31], Scale -1
2024-01-28 14:27:00,922 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23703, 24031, 23717, 0, 0, 0, 0], Scale -2
2024-01-28 14:27:00,942 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:27:00,962 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 4709, 8820], Scale -2
2024-01-28 14:27:00,983 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628429, 3551140, 2508451, 3136939], Scale 0
2024-01-28 14:27:00,984 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 2.6, 3.1], powers=[3229.0, 301.0, 669.0], voltages=[237.03, 240.31, 237.17000000000002], power_factors=[0.9860000000000001, 0.47090000000000004, 0.882], imported=8628429.0, exported=4872875.0, power=4200.0, frequency=49.97)
2024-01-28 14:27:00,986 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:01,035 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25446], Scale -1
2024-01-28 14:27:01,075 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962896], Scale 0
2024-01-28 14:27:01,102 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [357, 358, 358], Scale -2
2024-01-28 14:27:01,123 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25891], Scale -1
2024-01-28 14:27:01,124 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.5700000000000003, 3.58, 3.58]
2024-01-28 14:27:01,124 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.5700000000000003, 3.58, 3.58], power=-2544.6000000000004, exported=7962896.0, dc_power=-2589.1000000000004)
2024-01-28 14:27:01,125 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:01,283 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448410.7617347, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:01,284 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292266, power1: 0, power2: 0
2024-01-28 14:27:01,284 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:27:01,285 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448421.2833257, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:01,286 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:01,291 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:01,295 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:01,338 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:01,340 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:01,341 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2544.6000000000004, exported=8004892.12, dc_power=None)
2024-01-28 14:27:01,342 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:01,343 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2544.6000000000004, exported=8004892.12, dc_power=None)
2024-01-28 14:27:01,344 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301358.6947220315, dc_power=None)
2024-01-28 14:27:01,347 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301358.6947220315, dc_power=None)
2024-01-28 14:27:01,389 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:01,390 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 2.6, 3.1], powers=[3229.0, 301.0, 669.0], voltages=[237.03, 240.31, 237.17000000000002], power_factors=[0.9860000000000001, 0.47090000000000004, 0.882], imported=8628429.0, exported=4872875.0, power=4200.0, frequency=49.97)
2024-01-28 14:27:01,454 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:01,455 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:27:01,455 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed5be20>
2024-01-28 14:27:01,458 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:01,458 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed5be20>
2024-01-28 14:27:01,583 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:27:01,586 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.3, 32.5, 31.9]A
2024-01-28 14:27:01,598 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19800.0W
2024-01-28 14:27:01,600 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:27:01,602 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:27:01,603 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:27:01,605 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:27:01.604521
2024-01-28 14:27:01,606 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137287.712249s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:27:01,608 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:27:01.607983
2024-01-28 14:27:01,610 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:27:01.607983
2024-01-28 14:27:01,612 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54129.944812s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:27:01,615 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:27:01.614830
2024-01-28 14:27:01,616 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129506.335481s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:27:01,618 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:27:01.618249
2024-01-28 14:27:01,621 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:27:01.618249
2024-01-28 14:27:01,622 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52833.040136s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:27:01,624 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:27:01,628 - {control.chargepoint.chargepoint:667} - {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-28 14:27:01,631 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:27:01,660 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448411.1949968, power=6808.7, imported=4311652.02800153, exported=0)
2024-01-28 14:27:01,662 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290705, power1: 6808.7, power2: 6833.6
2024-01-28 14:27:01,664 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 19.8294
2024-01-28 14:27:01,665 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 19.8294 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448421.6603827, power=6833.6, imported=4311671.857436843, exported=0)
2024-01-28 14:27:01,674 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:27:01,675 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:27:01,676 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:27:01,678 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.77, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c2418>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:27:01,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-28 14:27:01,692 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:27:01,693 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3229.0, 301.0, 669.0], currents=[13.7, 2.6, 3.1], voltages=[237.03, 240.31, 237.17], power_factors=[0.99, 0.47, 0.88], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628429.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4200.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19800.0, raw_currents_left=[21.3, 32.5, 31.9], surplus_power_left=0, state_str=''))
2024-01-28 14:27:01,700 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6833.6, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311671.857436843, disengageable_smarthome_power=0))
2024-01-28 14:27:01,704 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:27:01,711 - {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-28 14:27:01,717 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:27:01,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-28 14:27:01,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-28 14:27:01,725 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:01,727 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:01,728 - {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-28 14:27:01,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-28 14:27:01,736 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:01,739 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:01,741 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed9edd8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:27:01,746 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:27:01,749 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:27:01,757 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5058>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:27:01,758 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301358.695, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:27:01,767 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004892.12, fault_state=0, fault_str='Kein Fehler.', power=-2544.6))
2024-01-28 14:27:01,776 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306250.815, power=-2633.6))
2024-01-28 14:27: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-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448411, 'time': '14:26:51', 'grid': 4.164, 'house-power': 6.809, 'charging-all': 0.0, 'pv-all': 2.645, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:27:01,779 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:27: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-28 14:27:01,783 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:01,784 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:01,785 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:27:01,786 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:27:01,788 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:27:01,789 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:27:01,792 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:27:01,797 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:27:01,804 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:27:01,808 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:27:01,810 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4300.0W
2024-01-28 14:27:01,811 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4300.0W
2024-01-28 14:27:01,814 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:27:01,825 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:27:01,828 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:27:01,837 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:27:01,843 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:01,900 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:27:05,271 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:05,272 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:10,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:10,285 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:10,286 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:27:10,287 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:27:10,332 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:27:10,333 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:10,334 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:10,340 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:27:10,344 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:10,378 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4229, -3243, -313, -672], Scale 0
2024-01-28 14:27:10,389 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:27:10,392 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.2, "voltage":240.7, "current":0.392, "aenergy":{"total":9418.055,"by_minute":[249.207,1499.991,1506.636],"minute_ts":1706448429},"temperature":{"tC":38.9, "tF":102.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:27","unixtime":1706448430,"uptime":5807825,"ram_size":248992,"ram_free":144996,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:27:10,395 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448420.8368616, power=-89, imported=0.0, exported=301358.6947220315)
2024-01-28 14:27:10,396 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026552, power1: -89, power2: -90
2024-01-28 14:27:10,397 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.23764
2024-01-28 14:27:10,397 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.23764 Wh, new state: SimCounterState(timestamp=1706448430.395574, power=-90, imported=0.0, exported=301358.9323622446)
2024-01-28 14:27:10,398 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301358.9323622446, dc_power=None)
2024-01-28 14:27:10,432 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 27, 32], Scale -1
2024-01-28 14:27:10,457 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23729, 24028, 23736, 0, 0, 0, 0], Scale -2
2024-01-28 14:27:10,511 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:27:10,531 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 4740, 8830], Scale -2
2024-01-28 14:27:10,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628443, 3551151, 2508452, 3136942], Scale 0
2024-01-28 14:27:10,554 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 2.7, 3.2], powers=[3243.0, 313.0, 672.0], voltages=[237.29, 240.28, 237.36], power_factors=[0.9869, 0.474, 0.883], imported=8628443.0, exported=4872875.0, power=4229.0, frequency=49.97)
2024-01-28 14:27:10,555 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:10,711 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25327], Scale -1
2024-01-28 14:27:10,732 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962902], Scale 0
2024-01-28 14:27:10,751 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [355, 357, 354], Scale -2
2024-01-28 14:27:10,792 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25712], Scale -1
2024-01-28 14:27:10,793 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.5500000000000003, 3.5700000000000003, 3.54]
2024-01-28 14:27:10,794 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.5500000000000003, 3.5700000000000003, 3.54], power=-2532.7000000000003, exported=7962902.0, dc_power=-2571.2000000000003)
2024-01-28 14:27:10,796 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:10,891 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448421.2833257, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:10,892 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266903, power1: 0, power2: 0
2024-01-28 14:27:10,893 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:27:10,893 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448430.8918495, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:10,894 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:10,910 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:10,911 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:10,939 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:10,941 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:10,943 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:10,943 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2532.7000000000003, exported=8004898.12, dc_power=None)
2024-01-28 14:27:10,944 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301358.9323622446, dc_power=None)
2024-01-28 14:27:10,944 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2532.7000000000003, exported=8004898.12, dc_power=None)
2024-01-28 14:27:10,945 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301358.9323622446, dc_power=None)
2024-01-28 14:27:10,986 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:10,988 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 2.7, 3.2], powers=[3243.0, 313.0, 672.0], voltages=[237.29, 240.28, 237.36], power_factors=[0.9869, 0.474, 0.883], imported=8628443.0, exported=4872875.0, power=4229.0, frequency=49.97)
2024-01-28 14:27:11,052 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:11,053 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:27:11,053 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5d78>
2024-01-28 14:27:11,066 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:11,067 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5d78>
2024-01-28 14:27:11,226 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:27:11,229 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.3, 32.4, 31.8]A
2024-01-28 14:27:11,230 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19771.0W
2024-01-28 14:27:11,231 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:27:11,233 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:27:11,235 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:27:11,237 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:27:11.237153
2024-01-28 14:27:11,238 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137278.079617s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:27:11,240 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:27:11.239758
2024-01-28 14:27:11,241 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:27:11.239758
2024-01-28 14:27:11,243 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54120.313037s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:27:11,245 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:27:11.244981
2024-01-28 14:27:11,248 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129496.70533s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:27:11,249 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:27:11.249046
2024-01-28 14:27:11,251 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:27:11.249046
2024-01-28 14:27:11,252 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52823.409339s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:27:11,255 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:27:11,260 - {control.chargepoint.chargepoint:667} - {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-28 14:27:11,261 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:27:11,279 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448421.6603827, power=6833.6, imported=4311671.857436843, exported=0)
2024-01-28 14:27:11,280 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00267188, power1: 6833.6, power2: 6851.7
2024-01-28 14:27:11,282 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 18.2827
2024-01-28 14:27:11,291 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 18.2827 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448431.2791467, power=6851.7, imported=4311690.140168777, exported=0)
2024-01-28 14:27:11,294 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:27:11,296 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:27:11,297 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:27:11,300 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.9, 237.76, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb3c28>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:27:11,301 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:27:11,302 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:27:11,304 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3243.0, 313.0, 672.0], currents=[13.7, 2.7, 3.2], voltages=[237.29, 240.28, 237.36], power_factors=[0.99, 0.47, 0.88], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628443.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4229.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19771.0, raw_currents_left=[21.3, 32.4, 31.8], surplus_power_left=0, state_str=''))
2024-01-28 14:27:11,306 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6851.7, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311690.140168777, disengageable_smarthome_power=0))
2024-01-28 14:27:11,308 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:27:11,310 - {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-28 14:27:11,312 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:27:11,313 - {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-28 14:27:11,314 - {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-28 14:27:11,318 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:11,319 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:11,320 - {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-28 14:27:11,321 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:27:11,322 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:11,323 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:11,324 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c0bb0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:27:11,325 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:27:11,326 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:27:11,327 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d90e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:27:11,329 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301358.932, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:27:11,330 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004898.12, fault_state=0, fault_str='Kein Fehler.', power=-2532.7))
2024-01-28 14:27:11,331 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306257.052, power=-2622.7))
2024-01-28 14:27:11,332 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448421, 'time': '14:27:01', 'grid': 4.2, 'house-power': 6.834, 'charging-all': 0.0, 'pv-all': 2.634, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:27:11,333 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:27:11,334 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:27:11,335 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:11,335 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:11,337 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:27:11,338 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:27:11,338 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:27:11,339 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:27:11,350 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:27:11,354 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:27:11,356 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:27:11,359 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:27:11,362 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4329.0W
2024-01-28 14:27:11,363 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4329.0W
2024-01-28 14:27:11,364 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:27:11,366 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:27:11,368 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:27:11,373 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:27:11,379 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:11,447 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:27:15,731 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:20,746 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:20,747 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:20,748 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:27:20,748 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:27:20,792 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:27:20,795 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:20,797 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:20,808 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:27:20,809 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:20,867 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:27:20,869 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4258, -3250, -319, -688], Scale 0
2024-01-28 14:27:20,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":true, "apower":90.1, "voltage":240.4, "current":0.391, "aenergy":{"total":9418.305,"by_minute":[498.890,1499.991,1506.636],"minute_ts":1706448439},"temperature":{"tC":38.9, "tF":101.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:27","unixtime":1706448441,"uptime":5807835,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:27:20,874 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448430.395574, power=-90, imported=0.0, exported=301358.9323622446)
2024-01-28 14:27:20,875 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291089, power1: -90, power2: -90
2024-01-28 14:27:20,876 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.26198
2024-01-28 14:27:20,876 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.26198 Wh, new state: SimCounterState(timestamp=1706448440.874786, power=-90, imported=0.0, exported=301359.19434253976)
2024-01-28 14:27:20,877 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301359.19434253976, dc_power=None)
2024-01-28 14:27:20,916 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 27, 32], Scale -1
2024-01-28 14:27:20,960 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23718, 24027, 23732, 0, 0, 0, 0], Scale -2
2024-01-28 14:27:20,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:27:21,000 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 4760, 8790], Scale -2
2024-01-28 14:27:21,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628453, 3551158, 2508453, 3136943], Scale 0
2024-01-28 14:27:21,093 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 2.7, 3.2], powers=[3250.0, 319.0, 688.0], voltages=[237.18, 240.27, 237.32], power_factors=[0.9860000000000001, 0.47600000000000003, 0.879], imported=8628453.0, exported=4872875.0, power=4258.0, frequency=49.97)
2024-01-28 14:27:21,095 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:21,136 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25081], Scale -1
2024-01-28 14:27:21,183 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962910], Scale 0
2024-01-28 14:27:21,202 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [354, 354, 351], Scale -2
2024-01-28 14:27:21,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25498], Scale -1
2024-01-28 14:27:21,222 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.54, 3.54, 3.5100000000000002]
2024-01-28 14:27:21,223 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.54, 3.54, 3.5100000000000002], power=-2508.1000000000004, exported=7962910.0, dc_power=-2549.8)
2024-01-28 14:27:21,224 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:21,283 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448430.8918495, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:21,284 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288647, power1: 0, power2: 0
2024-01-28 14:27:21,285 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:27:21,285 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448441.2831554, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:21,286 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:21,296 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:21,303 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:21,335 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:21,337 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:21,338 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2508.1000000000004, exported=8004906.12, dc_power=None)
2024-01-28 14:27:21,338 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:21,339 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2508.1000000000004, exported=8004906.12, dc_power=None)
2024-01-28 14:27:21,340 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301359.19434253976, dc_power=None)
2024-01-28 14:27:21,348 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301359.19434253976, dc_power=None)
2024-01-28 14:27:21,383 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:21,384 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 2.7, 3.2], powers=[3250.0, 319.0, 688.0], voltages=[237.18, 240.27, 237.32], power_factors=[0.9860000000000001, 0.47600000000000003, 0.879], imported=8628453.0, exported=4872875.0, power=4258.0, frequency=49.97)
2024-01-28 14:27:21,442 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:21,443 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:27:21,444 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edb3100>
2024-01-28 14:27:21,449 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:21,451 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edb3100>
2024-01-28 14:27:21,574 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:27:21,576 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.2, 32.4, 31.8]A
2024-01-28 14:27:21,577 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19742.0W
2024-01-28 14:27:21,578 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:27:21,579 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:27:21,580 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:27:21,583 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:27:21.582828
2024-01-28 14:27:21,585 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137267.733942s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:27:21,586 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:27:21.586078
2024-01-28 14:27:21,587 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:27:21.586078
2024-01-28 14:27:21,588 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54109.966717s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:27:21,592 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:27:21.591721
2024-01-28 14:27:21,597 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129486.35859s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:27:21,598 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:27:21.597855
2024-01-28 14:27:21,599 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:27:21.597855
2024-01-28 14:27:21,600 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52813.06053s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:27:21,601 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:27:21,610 - {control.chargepoint.chargepoint:667} - {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-28 14:27:21,612 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:27:21,652 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448431.2791467, power=6851.7, imported=4311690.140168777, exported=0)
2024-01-28 14:27:21,653 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288153, power1: 6851.7, power2: 6856.1
2024-01-28 14:27:21,658 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 19.7497
2024-01-28 14:27:21,662 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 19.7497 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448441.6526558, power=6856.1, imported=4311709.889889468, exported=0)
2024-01-28 14:27:21,667 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:27:21,670 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:27:21,676 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:27:21,678 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.54, 237.74, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6eda2a48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:27:21,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-28 14:27:21,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-28 14:27:21,687 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3250.0, 319.0, 688.0], currents=[13.8, 2.7, 3.2], voltages=[237.18, 240.27, 237.32], power_factors=[0.99, 0.48, 0.88], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628453.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4258.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19742.0, raw_currents_left=[21.2, 32.4, 31.8], surplus_power_left=0, state_str=''))
2024-01-28 14:27: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=6856.1, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311709.889889468, disengageable_smarthome_power=0))
2024-01-28 14:27:21,689 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:27: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-28 14:27: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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:27: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-28 14:27:21,699 - {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-28 14:27:21,701 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:21,702 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:21,703 - {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-28 14:27: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-28 14:27:21,704 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27: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=2, keep_charge_active_duration=40)
2024-01-28 14:27:21,708 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7fd520>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:27:21,709 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:27:21,713 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:27:21,716 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edbaeb0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:27:21,720 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301359.194, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:27:21,721 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004906.12, fault_state=0, fault_str='Kein Fehler.', power=-2508.1))
2024-01-28 14:27:21,722 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306265.314, power=-2598.1))
2024-01-28 14:27:21,723 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448431, 'time': '14:27:11', 'grid': 4.229, 'house-power': 6.852, 'charging-all': 0.0, 'pv-all': 2.623, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:27:21,724 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:27:21,725 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:27:21,726 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:21,727 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:21,727 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:27:21,728 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:27:21,728 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:27:21,729 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:27:21,729 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:27:21,731 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:27:21,733 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:27:21,735 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:27:21,736 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4358.0W
2024-01-28 14:27:21,736 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4358.0W
2024-01-28 14:27:21,737 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:27:21,738 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:27:21,738 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:27:21,740 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:27:21,745 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:21,793 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:27:25,203 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:25,204 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:30,215 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:30,217 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:27:30,218 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:27:30,278 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:27:30,279 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:30,287 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:30,287 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:27:30,292 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:30,337 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:27:30,340 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.9, "voltage":240.6, "current":0.385, "aenergy":{"total":9418.555,"by_minute":[748.572,1499.991,1506.636],"minute_ts":1706448449},"temperature":{"tC":39.0, "tF":102.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:27","unixtime":1706448450,"uptime":5807845,"ram_size":248996,"ram_free":145020,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:27:30,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4288, -3248, -335, -705], Scale 0
2024-01-28 14:27:30,347 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448440.874786, power=-90, imported=0.0, exported=301359.19434253976)
2024-01-28 14:27:30,348 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263118, power1: -90, power2: -89
2024-01-28 14:27:30,349 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.23549
2024-01-28 14:27:30,349 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.23549 Wh, new state: SimCounterState(timestamp=1706448450.3470285, power=-89, imported=0.0, exported=301359.42983301537)
2024-01-28 14:27:30,351 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.42983301537, dc_power=None)
2024-01-28 14:27:30,371 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 27, 32], Scale -1
2024-01-28 14:27:30,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23716, 24014, 23734, 0, 0, 0, 0], Scale -2
2024-01-28 14:27:30,411 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:27:30,431 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9850, 4850, 8889], Scale -2
2024-01-28 14:27:30,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628462, 3551166, 2508453, 3136945], Scale 0
2024-01-28 14:27:30,483 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 2.7, 3.2], powers=[3248.0, 335.0, 705.0], voltages=[237.16, 240.14000000000001, 237.34], power_factors=[0.985, 0.485, 0.8889], imported=8628462.0, exported=4872875.0, power=4288.0, frequency=49.97)
2024-01-28 14:27:30,485 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:30,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24892], Scale -1
2024-01-28 14:27:30,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962917], Scale 0
2024-01-28 14:27:30,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [349, 353, 346], Scale -2
2024-01-28 14:27:30,613 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25271], Scale -1
2024-01-28 14:27:30,614 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.49, 3.5300000000000002, 3.46]
2024-01-28 14:27:30,615 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.49, 3.5300000000000002, 3.46], power=-2489.2000000000003, exported=7962917.0, dc_power=-2527.1000000000004)
2024-01-28 14:27:30,616 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:30,682 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448441.2831554, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:30,682 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261084, power1: 0, power2: 0
2024-01-28 14:27:30,683 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:27:30,683 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448450.6821642, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:30,684 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:30,698 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:30,699 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:30,727 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:30,728 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:30,730 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2489.2000000000003, exported=8004913.12, dc_power=None)
2024-01-28 14:27:30,730 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2489.2000000000003, exported=8004913.12, dc_power=None)
2024-01-28 14:27:30,729 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:30,738 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.42983301537, dc_power=None)
2024-01-28 14:27:30,742 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.42983301537, dc_power=None)
2024-01-28 14:27:30,783 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:30,783 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 2.7, 3.2], powers=[3248.0, 335.0, 705.0], voltages=[237.16, 240.14000000000001, 237.34], power_factors=[0.985, 0.485, 0.8889], imported=8628462.0, exported=4872875.0, power=4288.0, frequency=49.97)
2024-01-28 14:27:30,842 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:30,843 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:27:30,843 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7f56a0>
2024-01-28 14:27:30,847 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:30,848 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7f56a0>
2024-01-28 14:27:30,966 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:27:30,968 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.2, 32.4, 31.8]A
2024-01-28 14:27:30,969 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19712.0W
2024-01-28 14:27:30,971 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:27:30,974 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:27:30,975 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:27:30,977 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:27:30.976604
2024-01-28 14:27:30,979 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137258.340166s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:27:30,980 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:27:30.980406
2024-01-28 14:27:30,982 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:27:30.980406
2024-01-28 14:27:30,983 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54100.572389s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:27:30,988 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:27:30.987621
2024-01-28 14:27:30,990 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129476.96269s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:27:30,992 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:27:30.992379
2024-01-28 14:27:30,993 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:27:30.992379
2024-01-28 14:27:30,995 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52803.666006s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:27:30,998 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:27:31,004 - {control.chargepoint.chargepoint:667} - {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-28 14:27:31,019 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:27:31,030 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448441.6526558, power=6856.1, imported=4311709.889889468, exported=0)
2024-01-28 14:27:31,033 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260499, power1: 6856.1, power2: 6866.2
2024-01-28 14:27:31,034 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.8732
2024-01-28 14:27:31,038 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.8732 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448451.030605, power=6866.2, imported=4311727.763088472, exported=0)
2024-01-28 14:27:31,043 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:27:31,044 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:27:31,045 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:27:31,048 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.84, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701622b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:27:31,049 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:27:31,049 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:27:31,051 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3248.0, 335.0, 705.0], currents=[13.8, 2.7, 3.2], voltages=[237.16, 240.14, 237.34], power_factors=[0.98, 0.48, 0.89], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628462.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4288.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19712.0, raw_currents_left=[21.2, 32.4, 31.8], surplus_power_left=0, state_str=''))
2024-01-28 14:27:31,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=6866.2, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311727.763088472, disengageable_smarthome_power=0))
2024-01-28 14:27:31,055 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:27:31,058 - {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-28 14:27:31,060 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:27:31,062 - {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-28 14:27:31,064 - {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-28 14:27:31,066 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:31,067 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:31,068 - {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-28 14:27:31,070 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:27:31,071 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:31,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=2, keep_charge_active_duration=40)
2024-01-28 14:27:31,075 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6eda04c0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:27:31,076 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:27:31,077 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:27:31,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 0x6f7c0040>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:27:31,082 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301359.43, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:27:31,083 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004913.12, fault_state=0, fault_str='Kein Fehler.', power=-2489.2))
2024-01-28 14:27:31,085 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306272.55, power=-2578.2))
2024-01-28 14:27:31,086 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448441, 'time': '14:27:21', 'grid': 4.258, 'house-power': 6.856, 'charging-all': 0.0, 'pv-all': 2.598, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:27:31,088 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:27:31,089 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:27:31,091 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:31,092 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:31,095 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:27:31,096 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:27:31,098 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:27:31,099 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:27:31,102 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:27:31,106 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:27:31,108 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:27:31,112 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:27:31,114 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4388.0W
2024-01-28 14:27:31,115 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4388.0W
2024-01-28 14:27:31,117 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:27:31,118 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:27:31,120 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:27:31,125 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:27:31,128 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:31,182 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:27:35,453 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:35,454 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:40,465 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:40,466 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:40,466 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:27:40,467 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:27:40,507 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:27:40,509 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:40,514 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:40,522 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:27:40,524 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:40,565 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:27:40,567 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.8, "voltage":240.4, "current":0.387, "aenergy":{"total":9418.804,"by_minute":[997.779,1499.991,1506.636],"minute_ts":1706448459},"temperature":{"tC":39.0, "tF":102.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:27","unixtime":1706448461,"uptime":5807855,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:27:40,569 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448450.3470285, power=-89, imported=0.0, exported=301359.42983301537)
2024-01-28 14:27:40,569 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00283945, power1: -89, power2: -89
2024-01-28 14:27:40,570 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.252711
2024-01-28 14:27:40,570 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.252711 Wh, new state: SimCounterState(timestamp=1706448460.5690565, power=-89, imported=0.0, exported=301359.68254426355)
2024-01-28 14:27:40,571 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.68254426355, dc_power=None)
2024-01-28 14:27:40,601 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4311, -3263, -339, -707], Scale 0
2024-01-28 14:27:40,623 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [139, 28, 33], Scale -1
2024-01-28 14:27:40,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23712, 24011, 23732, 0, 0, 0, 0], Scale -2
2024-01-28 14:27:40,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:27:40,882 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 5099, 8920], Scale -2
2024-01-28 14:27:40,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628481, 3551180, 2508455, 3136948], Scale 0
2024-01-28 14:27:40,936 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.9, 2.8000000000000003, 3.3000000000000003], powers=[3263.0, 339.0, 707.0], voltages=[237.12, 240.11, 237.32], power_factors=[0.9869, 0.5099, 0.892], imported=8628481.0, exported=4872875.0, power=4311.0, frequency=49.97)
2024-01-28 14:27:40,948 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:40,991 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24686], Scale -1
2024-01-28 14:27:41,010 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962924], Scale 0
2024-01-28 14:27:41,040 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [346, 349, 345], Scale -2
2024-01-28 14:27:41,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25062], Scale -1
2024-01-28 14:27:41,174 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.46, 3.49, 3.45]
2024-01-28 14:27:41,176 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.46, 3.49, 3.45], power=-2468.6000000000004, exported=7962924.0, dc_power=-2506.2000000000003)
2024-01-28 14:27:41,188 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:41,231 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448450.6821642, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:41,232 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293045, power1: 0, power2: 0
2024-01-28 14:27:41,233 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:27:41,233 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448461.2317724, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:41,235 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:41,254 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:41,255 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:41,309 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:41,311 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:41,313 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2468.6000000000004, exported=8004920.12, dc_power=None)
2024-01-28 14:27:41,314 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:41,314 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2468.6000000000004, exported=8004920.12, dc_power=None)
2024-01-28 14:27:41,315 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.68254426355, dc_power=None)
2024-01-28 14:27:41,317 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.68254426355, dc_power=None)
2024-01-28 14:27:41,361 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:41,361 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.9, 2.8000000000000003, 3.3000000000000003], powers=[3263.0, 339.0, 707.0], voltages=[237.12, 240.11, 237.32], power_factors=[0.9869, 0.5099, 0.892], imported=8628481.0, exported=4872875.0, power=4311.0, frequency=49.97)
2024-01-28 14:27:41,426 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:41,427 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:27:41,427 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7f5c88>
2024-01-28 14:27:41,434 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:41,437 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7f5c88>
2024-01-28 14:27:41,565 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:27:41,569 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.1, 32.3, 31.7]A
2024-01-28 14:27:41,571 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19689.0W
2024-01-28 14:27:41,573 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:27:41,577 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:27:41,579 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:27:41,581 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:27:41.581116
2024-01-28 14:27:41,585 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137247.735654s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:27:41,586 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:27:41.585855
2024-01-28 14:27:41,587 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:27:41.585855
2024-01-28 14:27:41,588 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54089.96694s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:27:41,590 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:27:41.589696
2024-01-28 14:27:41,591 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129466.360615s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:27:41,592 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:27:41.592066
2024-01-28 14:27:41,595 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:27:41.592066
2024-01-28 14:27:41,597 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52793.066319s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:27:41,601 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:27:41,609 - {control.chargepoint.chargepoint:667} - {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-28 14:27:41,622 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:27:41,643 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448451.030605, power=6866.2, imported=4311727.763088472, exported=0)
2024-01-28 14:27:41,644 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294803, power1: 6866.2, power2: 6868.6
2024-01-28 14:27:41,646 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 20.2453
2024-01-28 14:27:41,648 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 20.2453 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448461.64353, power=6868.6, imported=4311748.008421769, exported=0)
2024-01-28 14:27:41,650 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:27:41,652 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:27:41,657 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:27:41,662 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.82, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb8bb0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:27:41,663 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:27:41,664 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:27:41,667 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3263.0, 339.0, 707.0], currents=[13.9, 2.8, 3.3], voltages=[237.12, 240.11, 237.32], power_factors=[0.99, 0.51, 0.89], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628481.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4311.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19689.0, raw_currents_left=[21.1, 32.3, 31.7], surplus_power_left=0, state_str=''))
2024-01-28 14:27:41,669 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6868.6, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311748.008421769, disengageable_smarthome_power=0))
2024-01-28 14:27:41,672 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:27:41,679 - {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-28 14:27:41,681 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:27:41,682 - {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-28 14:27: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-28 14:27:41,690 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:41,691 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:41,697 - {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-28 14:27:41,698 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:27:41,699 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:41,701 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:41,702 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cb748>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:27:41,704 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:27:41,711 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:27:41,714 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed5b910>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:27:41,715 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301359.683, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:27:41,715 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004920.12, fault_state=0, fault_str='Kein Fehler.', power=-2468.6))
2024-01-28 14:27:41,716 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306279.803, power=-2557.6))
2024-01-28 14:27:41,717 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448451, 'time': '14:27:31', 'grid': 4.288, 'house-power': 6.866, 'charging-all': 0.0, 'pv-all': 2.578, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:27:41,717 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:27:41,718 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:27:41,718 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:41,719 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:41,719 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:27:41,719 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:27:41,720 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:27:41,720 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:27:41,720 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:27:41,722 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:27:41,723 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:27:41,725 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:27:41,726 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4411.0W
2024-01-28 14:27:41,726 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4411.0W
2024-01-28 14:27:41,727 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:27:41,727 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:27:41,727 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:27:41,729 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:27:41,740 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:41,781 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:27:45,152 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:50,166 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:50,167 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:27:50,167 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:27:50,168 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:27:50,214 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:27:50,216 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:50,223 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:50,225 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:27:50,230 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:50,272 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:27:50,275 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.7, "voltage":240.5, "current":0.388, "aenergy":{"total":9419.053,"by_minute":[1246.986,1499.991,1506.636],"minute_ts":1706448469},"temperature":{"tC":39.1, "tF":102.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:27","unixtime":1706448470,"uptime":5807864,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:27:50,278 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448460.5690565, power=-89, imported=0.0, exported=301359.68254426355)
2024-01-28 14:27:50,279 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.002697, power1: -89, power2: -89
2024-01-28 14:27:50,280 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.240033
2024-01-28 14:27:50,281 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.240033 Wh, new state: SimCounterState(timestamp=1706448470.2782705, power=-89, imported=0.0, exported=301359.92257760896)
2024-01-28 14:27:50,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4342, -3277, -351, -713], Scale 0
2024-01-28 14:27:50,285 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.92257760896, dc_power=None)
2024-01-28 14:27:50,301 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 28, 34], Scale -1
2024-01-28 14:27:50,320 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23708, 24049, 23739, 0, 0, 0, 0], Scale -2
2024-01-28 14:27:50,339 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:27:50,392 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 5130, 8820], Scale -2
2024-01-28 14:27:50,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628491, 3551187, 2508455, 3136949], Scale 0
2024-01-28 14:27:50,415 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 2.8000000000000003, 3.4000000000000004], powers=[3277.0, 351.0, 713.0], voltages=[237.08, 240.49, 237.39000000000001], power_factors=[0.9860000000000001, 0.513, 0.882], imported=8628491.0, exported=4872875.0, power=4342.0, frequency=49.99)
2024-01-28 14:27:50,422 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:50,440 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24727], Scale -1
2024-01-28 14:27:50,512 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962931], Scale 0
2024-01-28 14:27:50,542 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [348, 350, 345], Scale -2
2024-01-28 14:27:50,599 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25104], Scale -1
2024-01-28 14:27:50,600 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.48, 3.5, 3.45]
2024-01-28 14:27:50,600 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.48, 3.5, 3.45], power=-2472.7000000000003, exported=7962931.0, dc_power=-2510.4)
2024-01-28 14:27:50,605 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:50,641 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448461.2317724, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:50,641 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026137, power1: 0, power2: 0
2024-01-28 14:27:50,642 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:27:50,642 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448470.6410782, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:27:50,644 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:50,651 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:27:50,652 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:27:50,689 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:50,692 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:27:50,695 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2472.7000000000003, exported=8004927.12, dc_power=None)
2024-01-28 14:27:50,696 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2472.7000000000003, exported=8004927.12, dc_power=None)
2024-01-28 14:27:50,693 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:27:50,705 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.92257760896, dc_power=None)
2024-01-28 14:27:50,705 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301359.92257760896, dc_power=None)
2024-01-28 14:27:50,739 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:27:50,740 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 2.8000000000000003, 3.4000000000000004], powers=[3277.0, 351.0, 713.0], voltages=[237.08, 240.49, 237.39000000000001], power_factors=[0.9860000000000001, 0.513, 0.882], imported=8628491.0, exported=4872875.0, power=4342.0, frequency=49.99)
2024-01-28 14:27:50,843 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:50,843 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:27:50,844 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6a60>
2024-01-28 14:27:50,851 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:27:50,855 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6a60>
2024-01-28 14:27:50,980 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:27:50,983 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.0, 32.3, 31.6]A
2024-01-28 14:27:50,983 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19658.0W
2024-01-28 14:27:50,985 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:27:50,988 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:27:50,989 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:27:50,991 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:27:50.990570
2024-01-28 14:27:50,992 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137238.3262s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:27:50,993 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:27:50.993460
2024-01-28 14:27:50,995 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:27:50.993460
2024-01-28 14:27:50,996 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54080.559335s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:27:50,998 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:27:50.997994
2024-01-28 14:27:51,001 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129456.952317s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:27:51,002 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:27:51.002627
2024-01-28 14:27:51,004 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:27:51.002627
2024-01-28 14:27:51,005 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52783.655758s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:27:51,006 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:27:51,016 - {control.chargepoint.chargepoint:667} - {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-28 14:27:51,032 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:27:51,039 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448461.64353, power=6868.6, imported=4311748.008421769, exported=0)
2024-01-28 14:27:51,041 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261001, power1: 6868.6, power2: 6903.7
2024-01-28 14:27:51,042 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.9729
2024-01-28 14:27:51,043 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.9729 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448471.0395632, power=6903.7, imported=4311765.981336942, exported=0)
2024-01-28 14:27:51,047 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:27:51,049 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:27:51,050 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:27:51,051 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.67, 237.45]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d6238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:27:51,052 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:27:51,053 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:27:51,054 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3277.0, 351.0, 713.0], currents=[14.0, 2.8, 3.4], voltages=[237.08, 240.49, 237.39], power_factors=[0.99, 0.51, 0.88], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628491.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4342.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19658.0, raw_currents_left=[21.0, 32.3, 31.6], surplus_power_left=0, state_str=''))
2024-01-28 14:27:51,056 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6903.7, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311765.981336942, disengageable_smarthome_power=0))
2024-01-28 14:27:51,058 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:27:51,059 - {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-28 14:27:51,061 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:27:51,062 - {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-28 14:27:51,062 - {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-28 14:27:51,064 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:51,065 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:27:51,066 - {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-28 14:27:51,067 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:27:51,069 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:51,070 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:27:51,071 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d5b08>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:27:51,073 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:27:51,073 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:27:51,075 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cfc40>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:27:51,076 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301359.923, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:27:51,077 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004927.12, fault_state=0, fault_str='Kein Fehler.', power=-2472.7))
2024-01-28 14:27:51,077 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306287.0430000005, power=-2561.7))
2024-01-28 14:27:51,078 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448461, 'time': '14:27:41', 'grid': 4.311, 'house-power': 6.869, 'charging-all': 0.0, 'pv-all': 2.558, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:27:51,079 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:27:51,080 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:27:51,081 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:51,083 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:27:51,084 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:27:51,084 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:27:51,086 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:27:51,087 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:27:51,089 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:27:51,093 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:27:51,096 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:27:51,099 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:27:51,100 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4442.0W
2024-01-28 14:27:51,102 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4442.0W
2024-01-28 14:27:51,104 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:27:51,105 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:27:51,106 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:27:51,111 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:27:51,114 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:27:51,131 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:27:55,430 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:27:55,432 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:00,443 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:00,445 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:28:00,446 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:28:00,489 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:28:00,490 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:00,497 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:28:00,507 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:00,512 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:00,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4334, -3267, -349, -716], Scale 0
2024-01-28 14:28:00,558 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:28:00,560 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.8, "voltage":240.5, "current":0.388, "aenergy":{"total":9419.303,"by_minute":[1496.668,1499.991,1506.636],"minute_ts":1706448479},"temperature":{"tC":39.1, "tF":102.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:28","unixtime":1706448481,"uptime":5807875,"ram_size":248948,"ram_free":144500,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:28:00,563 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [139, 28, 33], Scale -1
2024-01-28 14:28:00,565 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448470.2782705, power=-89, imported=0.0, exported=301359.92257760896)
2024-01-28 14:28:00,566 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028574, power1: -89, power2: -89
2024-01-28 14:28:00,566 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.254308
2024-01-28 14:28:00,566 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.254308 Wh, new state: SimCounterState(timestamp=1706448480.564898, power=-89, imported=0.0, exported=301360.17688590067)
2024-01-28 14:28:00,567 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.17688590067, dc_power=None)
2024-01-28 14:28:00,582 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23682, 23992, 23696, 0, 0, 0, 0], Scale -2
2024-01-28 14:28:00,612 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:28:00,642 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 5070, 8849], Scale -2
2024-01-28 14:28:00,685 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628500, 3551194, 2508456, 3136951], Scale 0
2024-01-28 14:28:00,686 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.9, 2.8000000000000003, 3.3000000000000003], powers=[3267.0, 349.0, 716.0], voltages=[236.82, 239.92000000000002, 236.96], power_factors=[0.9860000000000001, 0.507, 0.8848999999999999], imported=8628500.0, exported=4872875.0, power=4334.0, frequency=49.99)
2024-01-28 14:28:00,700 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:00,732 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24729], Scale -1
2024-01-28 14:28:00,752 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962938], Scale 0
2024-01-28 14:28:00,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [349, 348, 345], Scale -2
2024-01-28 14:28:00,861 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25105], Scale -1
2024-01-28 14:28:00,862 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.49, 3.48, 3.45]
2024-01-28 14:28:00,862 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.49, 3.48, 3.45], power=-2472.9, exported=7962938.0, dc_power=-2510.5)
2024-01-28 14:28:00,876 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:00,941 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448470.6410782, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:00,942 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286129, power1: 0, power2: 0
2024-01-28 14:28:00,942 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:28:00,943 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448480.9417088, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:00,944 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:00,950 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:00,952 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:00,989 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:00,990 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:00,992 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2472.9, exported=8004934.12, dc_power=None)
2024-01-28 14:28:00,994 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2472.9, exported=8004934.12, dc_power=None)
2024-01-28 14:28:00,996 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:01,007 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.17688590067, dc_power=None)
2024-01-28 14:28:01,008 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.17688590067, dc_power=None)
2024-01-28 14:28:01,039 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:01,041 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.9, 2.8000000000000003, 3.3000000000000003], powers=[3267.0, 349.0, 716.0], voltages=[236.82, 239.92000000000002, 236.96], power_factors=[0.9860000000000001, 0.507, 0.8848999999999999], imported=8628500.0, exported=4872875.0, power=4334.0, frequency=49.99)
2024-01-28 14:28:01,107 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:01,108 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:28:01,109 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed8a640>
2024-01-28 14:28:01,112 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:01,113 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed8a640>
2024-01-28 14:28:01,240 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:28:01,243 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.1, 32.3, 31.7]A
2024-01-28 14:28:01,244 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19666.0W
2024-01-28 14:28:01,246 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:28:01,247 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:28:01,249 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:28:01,252 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:28:01.251704
2024-01-28 14:28:01,254 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137228.065066s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:28:01,255 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:28:01.255152
2024-01-28 14:28:01,256 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:28:01.255152
2024-01-28 14:28:01,258 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54070.297643s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:28:01,259 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:28:01.259143
2024-01-28 14:28:01,260 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129446.691168s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:28:01,264 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:28:01.263699
2024-01-28 14:28:01,267 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:28:01.263699
2024-01-28 14:28:01,268 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52773.394686s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:28:01,269 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:28:01,273 - {control.chargepoint.chargepoint:667} - {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-28 14:28:01,275 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:28:01,309 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448471.0395632, power=6903.7, imported=4311765.981336942, exported=0)
2024-01-28 14:28:01,310 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028527, power1: 6903.7, power2: 6895.9
2024-01-28 14:28:01,311 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 19.683
2024-01-28 14:28:01,314 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 19.683 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448481.3092656, power=6895.9, imported=4311785.664362736, exported=0)
2024-01-28 14:28:01,318 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:28:01,320 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:28:01,321 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:28:01,323 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.8, 237.47]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c09e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:28:01,324 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:28:01,325 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:28:01,327 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3267.0, 349.0, 716.0], currents=[13.9, 2.8, 3.3], voltages=[236.82, 239.92, 236.96], power_factors=[0.99, 0.51, 0.88], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628500.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4334.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19666.0, raw_currents_left=[21.1, 32.3, 31.7], surplus_power_left=0, state_str=''))
2024-01-28 14:28:01,328 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6895.9, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311785.664362736, disengageable_smarthome_power=0))
2024-01-28 14:28:01,329 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:28:01,331 - {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-28 14:28:01,333 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:28:01,335 - {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-28 14:28:01,336 - {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-28 14:28:01,338 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:01,340 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:01,341 - {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-28 14:28:01,342 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:28:01,343 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:01,344 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:01,346 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d68b0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:28:01,347 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:28:01,348 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:28:01,353 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6340>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:28:01,358 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301360.177, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:28:01,359 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004934.12, fault_state=0, fault_str='Kein Fehler.', power=-2472.9))
2024-01-28 14:28:01,360 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306294.297, power=-2561.9))
2024-01-28 14:28:01,361 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448471, 'time': '14:27:51', 'grid': 4.342, 'house-power': 6.904, 'charging-all': 0.0, 'pv-all': 2.562, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:28:01,362 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:28:01,365 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:28:01,367 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:01,368 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:01,370 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:28:01,371 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:28:01,372 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:28:01,373 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:28:01,376 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:28:01,379 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:28:01,381 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:28:01,384 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:28:01,385 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4434.0W
2024-01-28 14:28:01,390 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4434.0W
2024-01-28 14:28:01,391 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:28:01,391 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:28:01,393 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:28:01,399 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:28:01,401 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:01,425 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:28:05,730 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:05,731 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:10,748 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:10,749 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:10,749 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:28:10,750 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:28:10,804 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:28:10,805 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:10,813 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:28:10,815 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:10,817 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:10,841 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4360, -3287, -353, -718], Scale 0
2024-01-28 14:28:10,860 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:28:10,862 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.6, "voltage":240.6, "current":0.390, "aenergy":{"total":9419.552,"by_minute":[249.207,1496.668,1499.991],"minute_ts":1706448489},"temperature":{"tC":39.0, "tF":102.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:28","unixtime":1706448491,"uptime":5807885,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:28:10,864 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448480.564898, power=-89, imported=0.0, exported=301360.17688590067)
2024-01-28 14:28:10,865 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.002861, power1: -89, power2: -89
2024-01-28 14:28:10,865 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.254629
2024-01-28 14:28:10,866 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.254629 Wh, new state: SimCounterState(timestamp=1706448490.8645127, power=-89, imported=0.0, exported=301360.4315152633)
2024-01-28 14:28:10,867 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.4315152633, dc_power=None)
2024-01-28 14:28:10,885 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [139, 27, 33], Scale -1
2024-01-28 14:28:10,911 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23711, 24027, 23726, 0, 0, 0, 0], Scale -2
2024-01-28 14:28:10,932 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:28:10,983 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9879, 5220, 9010], Scale -2
2024-01-28 14:28:11,046 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628510, 3551202, 2508457, 3136953], Scale 0
2024-01-28 14:28:11,047 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.9, 2.7, 3.3000000000000003], powers=[3287.0, 353.0, 718.0], voltages=[237.11, 240.27, 237.26], power_factors=[0.9879000000000001, 0.522, 0.9010000000000001], imported=8628510.0, exported=4872875.0, power=4360.0, frequency=49.99)
2024-01-28 14:28:11,051 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:11,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24884], Scale -1
2024-01-28 14:28:11,190 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962946], Scale 0
2024-01-28 14:28:11,210 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [349, 350, 347], Scale -2
2024-01-28 14:28:11,233 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25200], Scale -1
2024-01-28 14:28:11,233 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.49, 3.5, 3.47]
2024-01-28 14:28:11,234 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.49, 3.5, 3.47], power=-2488.4, exported=7962946.0, dc_power=-2520.0)
2024-01-28 14:28:11,237 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:11,481 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448480.9417088, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:11,482 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292769, power1: 0, power2: 0
2024-01-28 14:28:11,482 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:28:11,483 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448491.4814, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:11,484 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:11,497 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:11,498 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:11,537 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:11,539 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:11,540 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:11,540 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2488.4, exported=8004942.12, dc_power=None)
2024-01-28 14:28:11,541 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.4315152633, dc_power=None)
2024-01-28 14:28:11,542 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2488.4, exported=8004942.12, dc_power=None)
2024-01-28 14:28:11,542 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.4315152633, dc_power=None)
2024-01-28 14:28:11,588 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:11,589 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.9, 2.7, 3.3000000000000003], powers=[3287.0, 353.0, 718.0], voltages=[237.11, 240.27, 237.26], power_factors=[0.9879000000000001, 0.522, 0.9010000000000001], imported=8628510.0, exported=4872875.0, power=4360.0, frequency=49.99)
2024-01-28 14:28:11,673 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:11,674 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:28:11,675 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6d00>
2024-01-28 14:28:11,682 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:11,684 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6d00>
2024-01-28 14:28:12,078 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:28:12,088 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.1, 32.4, 31.7]A
2024-01-28 14:28:12,089 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19640.0W
2024-01-28 14:28:12,091 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:28:12,092 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:28:12,093 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:28:12,095 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:28:12.094698
2024-01-28 14:28:12,096 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137217.222072s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:28:12,098 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:28:12.097662
2024-01-28 14:28:12,099 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:28:12.097662
2024-01-28 14:28:12,100 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54059.455133s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:28:12,102 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:28:12.101843
2024-01-28 14:28:12,103 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129435.848468s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:28:12,104 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:28:12.104512
2024-01-28 14:28:12,106 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:28:12.104512
2024-01-28 14:28:12,107 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52762.553873s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:28:12,108 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:28:12,111 - {control.chargepoint.chargepoint:667} - {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-28 14:28:12,112 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:28:12,123 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448481.3092656, power=6895.9, imported=4311785.664362736, exported=0)
2024-01-28 14:28:12,125 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00300402, power1: 6895.9, power2: 6937.4
2024-01-28 14:28:12,126 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 20.7778
2024-01-28 14:28:12,132 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 20.7778 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448492.1237452, power=6937.4, imported=4311806.44213225, exported=0)
2024-01-28 14:28:12,135 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:28:12,137 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:28:12,138 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:28:12,143 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.76, 237.82, 237.62]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701737c0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:28:12,147 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:28:12,154 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:28:12,155 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3287.0, 353.0, 718.0], currents=[13.9, 2.7, 3.3], voltages=[237.11, 240.27, 237.26], power_factors=[0.99, 0.52, 0.9], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628510.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4360.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19640.0, raw_currents_left=[21.1, 32.4, 31.7], surplus_power_left=0, state_str=''))
2024-01-28 14:28:12,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=6937.4, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311806.44213225, disengageable_smarthome_power=0))
2024-01-28 14:28:12,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-28 14:28:12,163 - {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-28 14:28:12,164 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:28:12,165 - {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-28 14:28:12,166 - {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-28 14:28:12,169 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28: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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:12,176 - {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-28 14:28:12,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-28 14:28:12,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-28 14:28:12,181 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:12,183 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edbba00>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:28:12,185 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:28:12,186 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:28:12,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 0x6edaa3a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:28:12,189 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301360.432, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:28:12,191 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004942.12, fault_state=0, fault_str='Kein Fehler.', power=-2488.4))
2024-01-28 14:28:12,193 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306302.552, power=-2577.4))
2024-01-28 14:28:12,195 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448481, 'time': '14:28:01', 'grid': 4.334, 'house-power': 6.896, 'charging-all': 0.0, 'pv-all': 2.562, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:28:12,197 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:28:12,199 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:28:12,201 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:12,202 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:12,205 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:28:12,206 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:28:12,208 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:28:12,211 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:28:12,213 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:28:12,221 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:28:12,225 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:28:12,227 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:28:12,228 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4460.0W
2024-01-28 14:28:12,230 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4460.0W
2024-01-28 14:28:12,231 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:28:12,231 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:28:12,232 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:28:12,234 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:28:12,236 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:12,258 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:28:15,536 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:20,558 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:20,561 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:20,562 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:28:20,562 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:28:20,612 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:28:20,613 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:20,620 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:28:20,623 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:20,625 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:20,650 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4369, -3291, -354, -723], Scale 0
2024-01-28 14:28:20,671 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:28:20,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":true, "apower":89.5, "voltage":240.4, "current":0.386, "aenergy":{"total":9419.799,"by_minute":[497.466,1496.668,1499.991],"minute_ts":1706448499},"temperature":{"tC":39.0, "tF":102.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:28","unixtime":1706448501,"uptime":5807895,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:28:20,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 28, 33], Scale -1
2024-01-28 14:28:20,678 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448490.8645127, power=-89, imported=0.0, exported=301360.4315152633)
2024-01-28 14:28:20,679 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00272604, power1: -89, power2: -89
2024-01-28 14:28:20,679 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.242617
2024-01-28 14:28:20,680 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.242617 Wh, new state: SimCounterState(timestamp=1706448500.6782503, power=-89, imported=0.0, exported=301360.6741326658)
2024-01-28 14:28:20,681 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.6741326658, dc_power=None)
2024-01-28 14:28:20,711 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23728, 24033, 23745, 0, 0, 0, 0], Scale -2
2024-01-28 14:28:20,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:28:20,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 5099, 8899], Scale -2
2024-01-28 14:28:20,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628530, 3551216, 2508459, 3136956], Scale 0
2024-01-28 14:28:20,814 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 2.8000000000000003, 3.3000000000000003], powers=[3291.0, 354.0, 723.0], voltages=[237.28, 240.33, 237.45000000000002], power_factors=[0.9869, 0.5099, 0.8898999999999999], imported=8628530.0, exported=4872875.0, power=4369.0, frequency=49.99)
2024-01-28 14:28:20,815 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:20,893 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24705], Scale -1
2024-01-28 14:28:20,912 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962953], Scale 0
2024-01-28 14:28:20,932 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [348, 348, 345], Scale -2
2024-01-28 14:28:20,952 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25081], Scale -1
2024-01-28 14:28:20,953 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.48, 3.48, 3.45]
2024-01-28 14:28:20,953 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.48, 3.48, 3.45], power=-2470.5, exported=7962953.0, dc_power=-2508.1000000000004)
2024-01-28 14:28:20,954 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:21,022 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448491.4814, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:21,023 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265023, power1: 0, power2: 0
2024-01-28 14:28:21,023 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:28:21,023 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448501.0222433, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:21,025 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:21,037 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:21,040 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:21,075 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:21,079 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:21,082 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2470.5, exported=8004949.12, dc_power=None)
2024-01-28 14:28:21,083 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:21,083 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2470.5, exported=8004949.12, dc_power=None)
2024-01-28 14:28:21,084 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.6741326658, dc_power=None)
2024-01-28 14:28:21,088 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.6741326658, dc_power=None)
2024-01-28 14:28:21,128 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:21,131 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 2.8000000000000003, 3.3000000000000003], powers=[3291.0, 354.0, 723.0], voltages=[237.28, 240.33, 237.45000000000002], power_factors=[0.9869, 0.5099, 0.8898999999999999], imported=8628530.0, exported=4872875.0, power=4369.0, frequency=49.99)
2024-01-28 14:28:21,193 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:21,194 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:28:21,195 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cf5e0>
2024-01-28 14:28:21,200 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:21,202 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cf5e0>
2024-01-28 14:28:21,327 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:28:21,329 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.0, 32.3, 31.7]A
2024-01-28 14:28:21,330 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19631.0W
2024-01-28 14:28:21,331 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:28:21,333 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:28:21,335 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:28:21,338 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:28:21.337469
2024-01-28 14:28:21,339 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137207.979301s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:28:21,341 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:28:21.340662
2024-01-28 14:28:21,344 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:28:21.340662
2024-01-28 14:28:21,345 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54050.212133s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:28:21,348 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:28:21.347574
2024-01-28 14:28:21,349 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129426.602737s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:28:21,351 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:28:21.351288
2024-01-28 14:28:21,353 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:28:21.351288
2024-01-28 14:28:21,354 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52753.307097s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:28:21,356 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:28:21,361 - {control.chargepoint.chargepoint:667} - {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-28 14:28:21,362 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:28:21,379 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448492.1237452, power=6937.4, imported=4311806.44213225, exported=0)
2024-01-28 14:28:21,385 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00257106, power1: 6937.4, power2: 6928.5
2024-01-28 14:28:21,386 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.825
2024-01-28 14:28:21,387 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.825 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448501.3795495, power=6928.5, imported=4311824.267140146, exported=0)
2024-01-28 14:28:21,390 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:28:21,392 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:28:21,395 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:28:21,398 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.78, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed9e610>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:28:21,398 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:28:21,401 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:28:21,403 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3291.0, 354.0, 723.0], currents=[14.0, 2.8, 3.3], voltages=[237.28, 240.33, 237.45], power_factors=[0.99, 0.51, 0.89], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628530.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4369.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19631.0, raw_currents_left=[21.0, 32.3, 31.7], surplus_power_left=0, state_str=''))
2024-01-28 14:28:21,409 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6928.5, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311824.267140146, disengageable_smarthome_power=0))
2024-01-28 14:28:21,414 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:28:21,415 - {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-28 14:28:21,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:28:21,420 - {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-28 14:28:21,423 - {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-28 14:28:21,424 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:21,425 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:21,426 - {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-28 14:28:21,428 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:28:21,430 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:21,432 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:21,435 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c0b20>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:28:21,436 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:28:21,438 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:28:21,439 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5b68>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:28:21,441 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301360.674, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:28:21,442 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004949.12, fault_state=0, fault_str='Kein Fehler.', power=-2470.5))
2024-01-28 14:28:21,446 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306309.794, power=-2559.5))
2024-01-28 14:28:21,447 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448492, 'time': '14:28:12', 'grid': 4.36, 'house-power': 6.937, 'charging-all': 0.0, 'pv-all': 2.577, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:28:21,449 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:28:21,450 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:28:21,452 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:21,453 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:21,455 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:28:21,462 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:28:21,464 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:28:21,465 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:28:21,466 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:28:21,470 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:28:21,473 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:28:21,475 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:28:21,476 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4469.0W
2024-01-28 14:28:21,478 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4469.0W
2024-01-28 14:28:21,479 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:28:21,483 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:28:21,484 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:28:21,487 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:28:21,492 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:21,524 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:28:25,949 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:25,950 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:30,963 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:30,966 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:28:30,967 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:28:31,047 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:28:31,065 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:31,073 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:31,075 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:31,087 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:28:31,120 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4430, -3301, -383, -745], Scale 0
2024-01-28 14:28:31,148 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:28:31,150 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.4, "voltage":240.4, "current":0.389, "aenergy":{"total":9420.072,"by_minute":[771.357,1496.668,1499.991],"minute_ts":1706448510},"temperature":{"tC":39.1, "tF":102.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:28","unixtime":1706448511,"uptime":5807905,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:28:31,152 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448500.6782503, power=-89, imported=0.0, exported=301360.6741326658)
2024-01-28 14:28:31,153 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290947, power1: -89, power2: -89
2024-01-28 14:28:31,153 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.258943
2024-01-28 14:28:31,154 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.258943 Wh, new state: SimCounterState(timestamp=1706448511.1523561, power=-89, imported=0.0, exported=301360.93307583785)
2024-01-28 14:28:31,156 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.93307583785, dc_power=None)
2024-01-28 14:28:31,193 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 28, 34], Scale -1
2024-01-28 14:28:31,222 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23722, 24020, 23738, 0, 0, 0, 0], Scale -2
2024-01-28 14:28:31,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:28:31,271 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 5270, 8870], Scale -2
2024-01-28 14:28:31,292 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628540, 3551224, 2508459, 3136957], Scale 0
2024-01-28 14:28:31,293 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 2.8000000000000003, 3.4000000000000004], powers=[3301.0, 383.0, 745.0], voltages=[237.22, 240.20000000000002, 237.38], power_factors=[0.9860000000000001, 0.527, 0.887], imported=8628540.0, exported=4872875.0, power=4430.0, frequency=49.99)
2024-01-28 14:28:31,297 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:31,320 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24113], Scale -1
2024-01-28 14:28:31,341 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962960], Scale 0
2024-01-28 14:28:31,360 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [339, 340, 337], Scale -2
2024-01-28 14:28:31,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24392], Scale -1
2024-01-28 14:28:31,437 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.39, 3.4, 3.37]
2024-01-28 14:28:31,437 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.39, 3.4, 3.37], power=-2411.3, exported=7962960.0, dc_power=-2439.2000000000003)
2024-01-28 14:28:31,439 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:31,486 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448501.0222433, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:31,487 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290681, power1: 0, power2: 0
2024-01-28 14:28:31,489 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:28:31,491 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448511.4867465, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:31,493 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:31,499 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:31,502 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:31,673 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:31,675 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:31,677 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2411.3, exported=8004956.12, dc_power=None)
2024-01-28 14:28:31,678 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2411.3, exported=8004956.12, dc_power=None)
2024-01-28 14:28:31,681 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:31,682 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.93307583785, dc_power=None)
2024-01-28 14:28:31,683 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301360.93307583785, dc_power=None)
2024-01-28 14:28:31,748 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:31,749 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 2.8000000000000003, 3.4000000000000004], powers=[3301.0, 383.0, 745.0], voltages=[237.22, 240.20000000000002, 237.38], power_factors=[0.9860000000000001, 0.527, 0.887], imported=8628540.0, exported=4872875.0, power=4430.0, frequency=49.99)
2024-01-28 14:28:31,815 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:31,816 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:28:31,817 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d59a0>
2024-01-28 14:28:31,819 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:31,820 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d59a0>
2024-01-28 14:28:31,960 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:28:31,965 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [21.0, 32.3, 31.6]A
2024-01-28 14:28:31,967 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19570.0W
2024-01-28 14:28:31,968 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:28:31,970 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:28:31,972 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:28:31,973 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:28:31.973206
2024-01-28 14:28:31,975 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137197.343564s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:28:31,977 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:28:31.976716
2024-01-28 14:28:31,978 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:28:31.976716
2024-01-28 14:28:31,982 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54039.576079s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:28:31,984 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:28:31.983747
2024-01-28 14:28:31,985 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129415.966564s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:28:31,986 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:28:31.986430
2024-01-28 14:28:31,990 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:28:31.986430
2024-01-28 14:28:31,991 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52742.671955s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:28:31,993 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:28:32,012 - {control.chargepoint.chargepoint:667} - {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-28 14:28:32,025 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:28:32,056 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448501.3795495, power=6928.5, imported=4311824.267140146, exported=0)
2024-01-28 14:28:32,059 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00296574, power1: 6928.5, power2: 6930.3
2024-01-28 14:28:32,061 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 20.5508
2024-01-28 14:28:32,063 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 20.5508 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448512.0562303, power=6930.3, imported=4311844.817971246, exported=0)
2024-01-28 14:28:32,067 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:28:32,074 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:28:32,081 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:28:32,083 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.78, 237.43]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f67f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:28:32,084 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:28:32,086 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:28:32,089 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3301.0, 383.0, 745.0], currents=[14.0, 2.8, 3.4], voltages=[237.22, 240.2, 237.38], power_factors=[0.99, 0.53, 0.89], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628540.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4430.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19570.0, raw_currents_left=[21.0, 32.3, 31.6], surplus_power_left=0, state_str=''))
2024-01-28 14:28:32,090 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6930.3, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311844.817971246, disengageable_smarthome_power=0))
2024-01-28 14:28:32,092 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:28:32,094 - {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-28 14:28:32,097 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:28:32,098 - {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-28 14:28:32,100 - {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-28 14:28:32,101 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:32,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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:32,112 - {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-28 14:28:32,114 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:28:32,115 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:32,116 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:32,117 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed5b940>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:28:32,118 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:28:32,119 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:28:32,120 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c39b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:28:32,121 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301360.933, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:28:32,121 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004956.12, fault_state=0, fault_str='Kein Fehler.', power=-2411.3))
2024-01-28 14:28:32,122 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306317.053, power=-2500.3))
2024-01-28 14:28:32,123 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448501, 'time': '14:28:21', 'grid': 4.369, 'house-power': 6.928, 'charging-all': 0.0, 'pv-all': 2.559, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:28:32,123 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:28:32,124 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:28:32,124 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:32,125 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:32,126 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:28:32,126 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:28:32,127 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:28:32,127 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:28:32,128 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:28:32,130 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:28:32,132 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:28:32,134 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:28:32,135 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4530.0W
2024-01-28 14:28:32,135 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4530.0W
2024-01-28 14:28:32,136 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:28:32,137 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:28:32,137 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:28:32,144 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:28:32,163 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:32,186 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:28:35,450 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:35,453 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:40,465 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:40,466 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:40,467 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:28:40,467 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:28:40,523 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:28:40,524 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:40,531 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:28:40,533 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:40,534 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:40,561 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4476, -3317, -392, -766], Scale 0
2024-01-28 14:28:40,575 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:28:40,577 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.7, "voltage":240.4, "current":0.391, "aenergy":{"total":9420.297,"by_minute":[995.881,1496.668,1499.991],"minute_ts":1706448519},"temperature":{"tC":39.0, "tF":102.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:28","unixtime":1706448521,"uptime":5807915,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:28:40,580 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448511.1523561, power=-89, imported=0.0, exported=301360.93307583785)
2024-01-28 14:28:40,582 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [141, 28, 35], Scale -1
2024-01-28 14:28:40,582 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261898, power1: -89, power2: -89
2024-01-28 14:28:40,584 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.233089
2024-01-28 14:28:40,584 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.233089 Wh, new state: SimCounterState(timestamp=1706448520.5806663, power=-89, imported=0.0, exported=301361.1661646167)
2024-01-28 14:28:40,587 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.1661646167, dc_power=None)
2024-01-28 14:28:40,624 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23707, 24022, 23744, 0, 0, 0, 0], Scale -2
2024-01-28 14:28:40,651 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:28:40,682 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 5600, 9039], Scale -2
2024-01-28 14:28:40,701 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628549, 3551231, 2508460, 3136959], Scale 0
2024-01-28 14:28:40,702 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.100000000000001, 2.8000000000000003, 3.5], powers=[3317.0, 392.0, 766.0], voltages=[237.07, 240.22, 237.44], power_factors=[0.9869, 0.56, 0.9039], imported=8628549.0, exported=4872875.0, power=4476.0, frequency=49.99)
2024-01-28 14:28:40,704 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:40,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23914], Scale -1
2024-01-28 14:28:40,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962966], Scale 0
2024-01-28 14:28:40,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [335, 338, 335], Scale -2
2024-01-28 14:28:40,852 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24278], Scale -1
2024-01-28 14:28:40,852 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.35, 3.38, 3.35]
2024-01-28 14:28:40,853 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.35, 3.38, 3.35], power=-2391.4, exported=7962966.0, dc_power=-2427.8)
2024-01-28 14:28:40,855 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:40,893 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448511.4867465, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:40,894 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261298, power1: 0, power2: 0
2024-01-28 14:28:40,894 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:28:40,895 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448520.8934727, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:40,896 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:40,909 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:40,918 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:40,959 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:40,960 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:40,961 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2391.4, exported=8004962.12, dc_power=None)
2024-01-28 14:28:40,962 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2391.4, exported=8004962.12, dc_power=None)
2024-01-28 14:28:40,969 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:40,976 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.1661646167, dc_power=None)
2024-01-28 14:28:40,977 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.1661646167, dc_power=None)
2024-01-28 14:28:41,013 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:41,013 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.100000000000001, 2.8000000000000003, 3.5], powers=[3317.0, 392.0, 766.0], voltages=[237.07, 240.22, 237.44], power_factors=[0.9869, 0.56, 0.9039], imported=8628549.0, exported=4872875.0, power=4476.0, frequency=49.99)
2024-01-28 14:28:41,078 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:41,079 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:28:41,079 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5ac0>
2024-01-28 14:28:41,085 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:41,093 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5ac0>
2024-01-28 14:28:41,214 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:28:41,216 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.9, 32.3, 31.5]A
2024-01-28 14:28:41,217 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19524.0W
2024-01-28 14:28:41,218 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:28:41,220 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:28:41,221 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:28:41,222 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:28:41.221761
2024-01-28 14:28:41,225 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137188.095009s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:28:41,226 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:28:41.225895
2024-01-28 14:28:41,227 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:28:41.225895
2024-01-28 14:28:41,229 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54030.3269s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:28:41,231 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:28:41.231139
2024-01-28 14:28:41,233 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129406.719172s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:28:41,238 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:28:41.237754
2024-01-28 14:28:41,240 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:28:41.237754
2024-01-28 14:28:41,241 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52733.420631s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:28:41,246 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:28:41,253 - {control.chargepoint.chargepoint:667} - {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-28 14:28:41,255 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:28:41,261 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448512.0562303, power=6930.3, imported=4311844.817971246, exported=0)
2024-01-28 14:28:41,263 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00255711, power1: 6930.3, power2: 6956.4
2024-01-28 14:28:41,281 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.7549
2024-01-28 14:28:41,283 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.7549 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448521.261839, power=6956.4, imported=4311862.572905279, exported=0)
2024-01-28 14:28:41,294 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:28:41,296 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:28:41,297 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:28:41,299 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.44, 237.93, 237.46]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70156d18>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:28:41,301 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:28:41,306 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:28:41,308 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3317.0, 392.0, 766.0], currents=[14.1, 2.8, 3.5], voltages=[237.07, 240.22, 237.44], power_factors=[0.99, 0.56, 0.9], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628549.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4476.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19524.0, raw_currents_left=[20.9, 32.3, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:28:41,310 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6956.4, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311862.572905279, disengageable_smarthome_power=0))
2024-01-28 14:28:41,313 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:28:41,314 - {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-28 14:28:41,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:28:41,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-28 14:28:41,320 - {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-28 14:28:41,321 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:41,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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:41,326 - {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-28 14:28:41,327 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:28:41,331 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:41,332 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:41,334 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb7820>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:28:41,337 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:28:41,339 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:28:41,342 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f765aa8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:28:41,343 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301361.166, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:28:41,344 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004962.12, fault_state=0, fault_str='Kein Fehler.', power=-2391.4))
2024-01-28 14:28:41,345 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306323.286, power=-2480.4))
2024-01-28 14:28:41,347 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448512, 'time': '14:28:32', 'grid': 4.43, 'house-power': 6.93, 'charging-all': 0.0, 'pv-all': 2.5, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:28:41,348 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:28:41,350 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:28:41,351 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:41,354 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:41,356 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:28:41,358 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:28:41,359 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:28:41,362 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:28:41,364 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:28:41,367 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:28:41,369 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:28:41,372 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:28:41,374 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4576.0W
2024-01-28 14:28:41,375 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4576.0W
2024-01-28 14:28:41,377 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:28:41,379 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:28:41,381 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:28:41,387 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:28:41,402 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:41,426 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:28:45,854 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:50,867 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:50,868 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:28:50,869 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:28:50,869 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:28:50,918 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:28:50,921 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:50,927 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:28:50,929 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:50,935 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:50,971 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:28: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":true, "apower":89.4, "voltage":240.2, "current":0.389, "aenergy":{"total":9420.546,"by_minute":[1245.088,1496.668,1499.991],"minute_ts":1706448529},"temperature":{"tC":39.1, "tF":102.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:28","unixtime":1706448531,"uptime":5807925,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:28:50,976 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448520.5806663, power=-89, imported=0.0, exported=301361.1661646167)
2024-01-28 14:28:50,977 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288761, power1: -89, power2: -89
2024-01-28 14:28:50,977 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.256997
2024-01-28 14:28:50,978 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.256997 Wh, new state: SimCounterState(timestamp=1706448530.9760637, power=-89, imported=0.0, exported=301361.42316194193)
2024-01-28 14:28:50,980 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.42316194193, dc_power=None)
2024-01-28 14:28:51,002 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4477, -3317, -393, -765], Scale 0
2024-01-28 14:28:51,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [141, 29, 35], Scale -1
2024-01-28 14:28:51,159 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23702, 23993, 23746, 0, 0, 0, 0], Scale -2
2024-01-28 14:28:51,185 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:28:51,233 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9860, 5509, 9010], Scale -2
2024-01-28 14:28:51,254 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628569, 3551246, 2508462, 3136962], Scale 0
2024-01-28 14:28:51,255 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.100000000000001, 2.9000000000000004, 3.5], powers=[3317.0, 393.0, 765.0], voltages=[237.02, 239.93, 237.46], power_factors=[0.9860000000000001, 0.5509000000000001, 0.9010000000000001], imported=8628569.0, exported=4872875.0, power=4477.0, frequency=49.97)
2024-01-28 14:28:51,259 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:51,282 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23832], Scale -1
2024-01-28 14:28:51,303 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962974], Scale 0
2024-01-28 14:28:51,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [336, 337, 332], Scale -2
2024-01-28 14:28:51,382 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24195], Scale -1
2024-01-28 14:28:51,382 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.36, 3.37, 3.3200000000000003]
2024-01-28 14:28:51,383 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.36, 3.37, 3.3200000000000003], power=-2383.2000000000003, exported=7962974.0, dc_power=-2419.5)
2024-01-28 14:28:51,384 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:51,422 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448520.8934727, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:51,423 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292466, power1: 0, power2: 0
2024-01-28 14:28:51,423 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:28:51,423 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448531.4222565, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:28:51,424 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:51,432 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:28:51,443 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:28:51,476 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:51,477 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:28:51,477 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:28:51,478 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2383.2000000000003, exported=8004970.12, dc_power=None)
2024-01-28 14:28:51,479 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.42316194193, dc_power=None)
2024-01-28 14:28:51,479 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2383.2000000000003, exported=8004970.12, dc_power=None)
2024-01-28 14:28:51,480 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.42316194193, dc_power=None)
2024-01-28 14:28:51,525 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:28:51,526 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.100000000000001, 2.9000000000000004, 3.5], powers=[3317.0, 393.0, 765.0], voltages=[237.02, 239.93, 237.46], power_factors=[0.9860000000000001, 0.5509000000000001, 0.9010000000000001], imported=8628569.0, exported=4872875.0, power=4477.0, frequency=49.97)
2024-01-28 14:28:51,585 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:51,586 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:28:51,586 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7f5ec8>
2024-01-28 14:28:51,589 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:28:51,590 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7f5ec8>
2024-01-28 14:28:51,712 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:28:51,714 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.9, 32.2, 31.5]A
2024-01-28 14:28:51,715 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19523.0W
2024-01-28 14:28:51,717 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:28:51,720 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:28:51,722 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:28:51,724 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:28:51.723702
2024-01-28 14:28:51,726 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137177.593068s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:28:51,727 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:28:51.727148
2024-01-28 14:28:51,728 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:28:51.727148
2024-01-28 14:28:51,729 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54019.825647s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:28:51,730 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:28:51.730322
2024-01-28 14:28:51,732 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129396.219989s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:28:51,734 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:28:51.734135
2024-01-28 14:28:51,735 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:28:51.734135
2024-01-28 14:28:51,736 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52722.92425s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:28:51,737 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:28:51,742 - {control.chargepoint.chargepoint:667} - {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-28 14:28:51,743 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:28:51,765 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448521.261839, power=6956.4, imported=4311862.572905279, exported=0)
2024-01-28 14:28:51,767 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291772, power1: 6956.4, power2: 6949.2
2024-01-28 14:28:51,769 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 20.2863
2024-01-28 14:28:51,770 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 20.2863 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448531.7656372, power=6949.2, imported=4311882.8592409585, exported=0)
2024-01-28 14:28:51,775 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:28:51,783 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:28:51,785 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:28:51,786 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.98, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70156cb8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:28:51,790 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:28:51,791 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:28:51,793 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3317.0, 393.0, 765.0], currents=[14.1, 2.9, 3.5], voltages=[237.02, 239.93, 237.46], power_factors=[0.99, 0.55, 0.9], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628569.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4477.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19523.0, raw_currents_left=[20.9, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:28:51,793 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6949.2, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311882.8592409585, disengageable_smarthome_power=0))
2024-01-28 14:28:51,795 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:28:51,796 - {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-28 14:28:51,798 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:28:51,800 - {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-28 14:28:51,801 - {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-28 14:28:51,802 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:51,804 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:28:51,807 - {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-28 14:28:51,808 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:28:51,810 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:28:51,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=2, keep_charge_active_duration=40)
2024-01-28 14:28:51,816 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d58e0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:28:51,817 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:28:51,825 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:28:51,826 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c39a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:28:51,828 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301361.423, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:28:51,829 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004970.12, fault_state=0, fault_str='Kein Fehler.', power=-2383.2))
2024-01-28 14:28:51,831 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306331.5430000005, power=-2472.2))
2024-01-28 14:28:51,832 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448521, 'time': '14:28:41', 'grid': 4.476, 'house-power': 6.956, 'charging-all': 0.0, 'pv-all': 2.48, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:28:51,834 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:28:51,835 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:28:51,836 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:51,838 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:28:51,840 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:28:51,841 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:28:51,842 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:28:51,844 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:28:51,845 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:28:51,849 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:28:51,851 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:28:51,853 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:28:51,854 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4577.0W
2024-01-28 14:28:51,856 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4577.0W
2024-01-28 14:28:51,857 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:28:51,860 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:28:51,861 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:28:51,863 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:28:51,866 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:28:51,925 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:28:55,177 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:28:55,180 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:00,195 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:00,198 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:29:00,200 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:29:00,274 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:29:00,276 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:00,284 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:29:00,284 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:00,302 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:00,331 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4508, -3330, -407, -771], Scale 0
2024-01-28 14:29:00,346 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:29:00,349 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.7, "voltage":240.5, "current":0.387, "aenergy":{"total":9420.795,"by_minute":[1494.295,1496.668,1499.991],"minute_ts":1706448539},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:29","unixtime":1706448540,"uptime":5807935,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:29:00,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [142, 29, 36], Scale -1
2024-01-28 14:29:00,353 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448530.9760637, power=-89, imported=0.0, exported=301361.42316194193)
2024-01-28 14:29:00,356 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260481, power1: -89, power2: -89
2024-01-28 14:29:00,357 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.231828
2024-01-28 14:29:00,357 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.231828 Wh, new state: SimCounterState(timestamp=1706448540.3533835, power=-89, imported=0.0, exported=301361.6549901262)
2024-01-28 14:29:00,363 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.6549901262, dc_power=None)
2024-01-28 14:29:00,373 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23702, 23996, 23729, 0, 0, 0, 0], Scale -2
2024-01-28 14:29:00,422 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:29:00,482 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9850, 5600, 8960], Scale -2
2024-01-28 14:29:00,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628574, 3551253, 2508463, 3136964], Scale 0
2024-01-28 14:29:00,514 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.200000000000001, 2.9000000000000004, 3.6], powers=[3330.0, 407.0, 771.0], voltages=[237.02, 239.96, 237.29], power_factors=[0.985, 0.56, 0.8960000000000001], imported=8628574.0, exported=4872875.0, power=4508.0, frequency=49.97)
2024-01-28 14:29:00,516 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:00,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23665], Scale -1
2024-01-28 14:29:00,681 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962980], Scale 0
2024-01-28 14:29:00,700 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [332, 335, 329], Scale -2
2024-01-28 14:29:00,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24026], Scale -1
2024-01-28 14:29:00,720 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.3200000000000003, 3.35, 3.29]
2024-01-28 14:29:00,721 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.3200000000000003, 3.35, 3.29], power=-2366.5, exported=7962980.0, dc_power=-2402.6)
2024-01-28 14:29:00,722 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:00,761 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448531.4222565, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:00,762 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259418, power1: 0, power2: 0
2024-01-28 14:29:00,762 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:29:00,762 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448540.7613044, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:00,764 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:00,781 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:00,782 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:00,830 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:00,832 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:00,833 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:00,835 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2366.5, exported=8004976.12, dc_power=None)
2024-01-28 14:29:00,837 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.6549901262, dc_power=None)
2024-01-28 14:29:00,840 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2366.5, exported=8004976.12, dc_power=None)
2024-01-28 14:29:00,840 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.6549901262, dc_power=None)
2024-01-28 14:29:00,884 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:00,884 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.200000000000001, 2.9000000000000004, 3.6], powers=[3330.0, 407.0, 771.0], voltages=[237.02, 239.96, 237.29], power_factors=[0.985, 0.56, 0.8960000000000001], imported=8628574.0, exported=4872875.0, power=4508.0, frequency=49.97)
2024-01-28 14:29:00,940 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:00,941 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:29:00,941 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d9868>
2024-01-28 14:29:00,949 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:00,951 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d9868>
2024-01-28 14:29:01,067 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:29:01,069 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.8, 32.2, 31.4]A
2024-01-28 14:29:01,070 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19492.0W
2024-01-28 14:29:01,071 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:29:01,073 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:29:01,075 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:29:01,077 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:29:01.076552
2024-01-28 14:29:01,078 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137168.240218s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:29:01,080 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:29:01.080011
2024-01-28 14:29:01,081 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:29:01.080011
2024-01-28 14:29:01,083 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 54010.472784s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:29:01,086 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:29:01.086042
2024-01-28 14:29:01,090 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129386.864269s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:29:01,093 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:29:01.092783
2024-01-28 14:29:01,096 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:29:01.092783
2024-01-28 14:29:01,098 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52713.565602s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:29:01,101 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:29:01,126 - {control.chargepoint.chargepoint:667} - {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-28 14:29:01,127 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:29:01,149 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448531.7656372, power=6949.2, imported=4311882.8592409585, exported=0)
2024-01-28 14:29:01,151 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260659, power1: 6949.2, power2: 6963.5
2024-01-28 14:29:01,153 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 18.1324
2024-01-28 14:29:01,155 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 18.1324 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448541.1493738, power=6963.5, imported=4311900.991617672, exported=0)
2024-01-28 14:29:01,157 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:29:01,160 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:29:01,161 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:29:01,163 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.59, 237.72, 237.45]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fdb68>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:29:01,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-28 14:29:01,166 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:29:01,167 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3330.0, 407.0, 771.0], currents=[14.2, 2.9, 3.6], voltages=[237.02, 239.96, 237.29], power_factors=[0.98, 0.56, 0.9], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628574.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=4508.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19492.0, raw_currents_left=[20.8, 32.2, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:29:01,169 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6963.5, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311900.991617672, disengageable_smarthome_power=0))
2024-01-28 14:29:01,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-28 14:29:01,173 - {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-28 14:29:01,176 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:29:01,179 - {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-28 14:29:01,185 - {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-28 14:29:01,186 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:01,187 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:01,192 - {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-28 14:29:01,193 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:29:01,194 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:01,196 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:01,198 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cb610>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:29:01,199 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:29:01,200 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:29:01,201 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e9a48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:29:01,203 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301361.655, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:29:01,205 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004976.12, fault_state=0, fault_str='Kein Fehler.', power=-2366.5))
2024-01-28 14:29:01,206 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306337.775, power=-2455.5))
2024-01-28 14:29:01,207 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448531, 'time': '14:28:51', 'grid': 4.477, 'house-power': 6.949, 'charging-all': 0.0, 'pv-all': 2.472, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:29:01,209 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:29:01,210 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:29:01,215 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:01,217 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:01,218 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:29:01,219 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:29:01,222 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:29:01,224 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:29:01,225 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:29:01,228 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:29:01,230 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:29:01,232 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:29:01,234 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4608.0W
2024-01-28 14:29:01,235 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4608.0W
2024-01-28 14:29:01,238 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:29:01,240 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:29:01,241 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:29:01,244 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:29:01,248 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:01,281 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:29:05,676 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:05,677 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:10,688 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:10,689 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:10,690 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:29:10,690 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:29:10,739 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:29:10,740 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:10,746 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:29:10,747 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:10,750 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:10,791 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:29:10,794 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.4, "voltage":240.5, "current":0.388, "aenergy":{"total":9421.043,"by_minute":[248.733,1494.295,1496.668],"minute_ts":1706448549},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:29","unixtime":1706448551,"uptime":5807945,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:29:10,797 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448540.3533835, power=-89, imported=0.0, exported=301361.6549901262)
2024-01-28 14:29:10,798 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290098, power1: -89, power2: -89
2024-01-28 14:29:10,798 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.258188
2024-01-28 14:29:10,799 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.258188 Wh, new state: SimCounterState(timestamp=1706448550.7969282, power=-89, imported=0.0, exported=301361.91317775723)
2024-01-28 14:29:10,801 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.91317775723, dc_power=None)
2024-01-28 14:29:10,872 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2158, -988, -397, -772], Scale 0
2024-01-28 14:29:10,915 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [142, 29, 35], Scale -1
2024-01-28 14:29:10,953 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23721, 24038, 23732, 0, 0, 0, 0], Scale -2
2024-01-28 14:29:10,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:29:10,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9879, 5770, 9120], Scale -2
2024-01-28 14:29:11,043 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628583, 3551261, 2508464, 3136966], Scale 0
2024-01-28 14:29:11,045 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.200000000000001, 2.9000000000000004, 3.5], powers=[988.0, 397.0, 772.0], voltages=[237.21, 240.38, 237.32], power_factors=[0.9879000000000001, 0.5770000000000001, 0.912], imported=8628583.0, exported=4872875.0, power=2158.0, frequency=49.99)
2024-01-28 14:29:11,047 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:11,076 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23994], Scale -1
2024-01-28 14:29:11,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962987], Scale 0
2024-01-28 14:29:11,163 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [338, 337, 334], Scale -2
2024-01-28 14:29:11,181 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24360], Scale -1
2024-01-28 14:29:11,182 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.38, 3.37, 3.34]
2024-01-28 14:29:11,183 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.38, 3.37, 3.34], power=-2399.4, exported=7962987.0, dc_power=-2436.0)
2024-01-28 14:29:11,186 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:11,263 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448540.7613044, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:11,265 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291736, power1: 0, power2: 0
2024-01-28 14:29:11,267 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:29:11,268 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448551.2638066, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:11,271 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:11,276 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:11,277 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:11,398 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:11,399 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:11,400 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2399.4, exported=8004983.12, dc_power=None)
2024-01-28 14:29:11,401 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:11,402 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2399.4, exported=8004983.12, dc_power=None)
2024-01-28 14:29:11,402 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.91317775723, dc_power=None)
2024-01-28 14:29:11,406 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301361.91317775723, dc_power=None)
2024-01-28 14:29:11,448 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:11,449 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.200000000000001, 2.9000000000000004, 3.5], powers=[988.0, 397.0, 772.0], voltages=[237.21, 240.38, 237.32], power_factors=[0.9879000000000001, 0.5770000000000001, 0.912], imported=8628583.0, exported=4872875.0, power=2158.0, frequency=49.99)
2024-01-28 14:29:11,513 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:11,514 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:29:11,515 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c3d00>
2024-01-28 14:29:11,522 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:11,529 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c3d00>
2024-01-28 14:29:11,643 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:29:11,646 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.8, 32.2, 31.5]A
2024-01-28 14:29:11,646 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21842.0W
2024-01-28 14:29:11,647 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:29:11,649 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:29:11,650 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:29:11,651 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:29:11.651217
2024-01-28 14:29:11,652 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137157.665553s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:29:11,654 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:29:11.654498
2024-01-28 14:29:11,656 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:29:11.654498
2024-01-28 14:29:11,657 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53999.898297s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:29:11,659 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:29:11.658988
2024-01-28 14:29:11,661 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129376.291323s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:29:11,661 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:29:11.661551
2024-01-28 14:29:11,663 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:29:11.661551
2024-01-28 14:29:11,665 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52702.996834s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:29:11,667 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:29:11,671 - {control.chargepoint.chargepoint:667} - {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-28 14:29:11,672 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:29:11,699 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448541.1493738, power=6963.5, imported=4311900.991617672, exported=0)
2024-01-28 14:29:11,700 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00293053, power1: 6963.5, power2: 4646.4
2024-01-28 14:29:11,701 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 17.0116
2024-01-28 14:29:11,701 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 17.0116 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448551.6992981, power=4646.4, imported=4311918.003224198, exported=0)
2024-01-28 14:29:11,708 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:29:11,709 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:29:11,712 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:29:11,717 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.7, 237.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed8eb38>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:29:11,719 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:29:11,720 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:29:11,721 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[988.0, 397.0, 772.0], currents=[14.2, 2.9, 3.5], voltages=[237.21, 240.38, 237.32], power_factors=[0.99, 0.58, 0.91], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21619.0, imported=8628583.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2158.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21842.0, raw_currents_left=[20.8, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:29:11,722 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4646.4, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311918.003224198, disengageable_smarthome_power=0))
2024-01-28 14:29:11,723 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:29:11,725 - {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-28 14:29:11,726 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:29:11,727 - {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-28 14:29:11,735 - {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-28 14:29:11,736 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:11,737 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:11,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-28 14:29:11,741 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:29:11,746 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:11,750 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:11,752 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed5b8c8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:29:11,755 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:29:11,756 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:29:11,760 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e2478>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:29:11,761 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301361.913, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:29:11,763 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004983.12, fault_state=0, fault_str='Kein Fehler.', power=-2399.4))
2024-01-28 14:29:11,765 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306345.033, power=-2488.4))
2024-01-28 14:29:11,767 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448541, 'time': '14:29:01', 'grid': 4.508, 'house-power': 6.963, 'charging-all': 0.0, 'pv-all': 2.455, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:29:11,768 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:29:11,770 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:29:11,771 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:11,774 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:11,775 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:29:11,782 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:29:11,783 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:29:11,793 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:29:11,795 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:29:11,798 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:29:11,800 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:29:11,802 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:29:11,803 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2258.0W
2024-01-28 14:29:11,804 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2258.0W
2024-01-28 14:29:11,805 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:29:11,806 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:29:11,807 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:29:11,815 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:29:11,829 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:11,853 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:29:15,120 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:20,138 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:20,139 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:20,139 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:29:20,140 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:29:20,191 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:29:20,193 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:20,194 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:20,201 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:29:20,235 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:20,293 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2142, -974, -398, -768], Scale 0
2024-01-28 14:29:20,311 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:29:20,315 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.7, "voltage":240.1, "current":0.384, "aenergy":{"total":9421.292,"by_minute":[497.940,1494.295,1496.668],"minute_ts":1706448559},"temperature":{"tC":39.1, "tF":102.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:29","unixtime":1706448560,"uptime":5807955,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-72},"ws":{"connected":false}}

2024-01-28 14:29:20,317 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448550.7969282, power=-89, imported=0.0, exported=301361.91317775723)
2024-01-28 14:29:20,320 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 29, 35], Scale -1
2024-01-28 14:29:20,320 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264468, power1: -89, power2: -89
2024-01-28 14:29:20,323 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.235376
2024-01-28 14:29:20,324 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.235376 Wh, new state: SimCounterState(timestamp=1706448560.3177607, power=-89, imported=0.0, exported=301362.148553895)
2024-01-28 14:29:20,326 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.148553895, dc_power=None)
2024-01-28 14:29:20,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23881, 23998, 23739, 0, 0, 0, 0], Scale -2
2024-01-28 14:29:20,372 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:29:20,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8700, 5400, 8930], Scale -2
2024-01-28 14:29:20,411 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628599, 3551267, 2508465, 3136968], Scale 0
2024-01-28 14:29:20,411 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 2.9000000000000004, 3.5], powers=[974.0, 398.0, 768.0], voltages=[238.81, 239.98000000000002, 237.39000000000001], power_factors=[0.87, 0.54, 0.893], imported=8628599.0, exported=4872875.0, power=2142.0, frequency=49.97)
2024-01-28 14:29:20,413 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:20,451 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24099], Scale -1
2024-01-28 14:29:20,470 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7962993], Scale 0
2024-01-28 14:29:20,512 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [338, 341, 334], Scale -2
2024-01-28 14:29:20,543 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24567], Scale -1
2024-01-28 14:29:20,544 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.38, 3.41, 3.34]
2024-01-28 14:29:20,544 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.38, 3.41, 3.34], power=-2409.9, exported=7962993.0, dc_power=-2456.7000000000003)
2024-01-28 14:29:20,545 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:20,641 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448551.2638066, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:20,641 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260481, power1: 0, power2: 0
2024-01-28 14:29:20,642 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:29:20,642 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448560.6411066, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:20,643 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:20,648 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:20,650 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:20,691 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:20,692 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:20,693 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2409.9, exported=8004989.12, dc_power=None)
2024-01-28 14:29:20,694 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:20,695 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2409.9, exported=8004989.12, dc_power=None)
2024-01-28 14:29:20,695 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.148553895, dc_power=None)
2024-01-28 14:29:20,697 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.148553895, dc_power=None)
2024-01-28 14:29:20,736 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:20,737 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 2.9000000000000004, 3.5], powers=[974.0, 398.0, 768.0], voltages=[238.81, 239.98000000000002, 237.39000000000001], power_factors=[0.87, 0.54, 0.893], imported=8628599.0, exported=4872875.0, power=2142.0, frequency=49.97)
2024-01-28 14:29:20,924 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:20,926 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:29:20,929 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70165838>
2024-01-28 14:29:20,943 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:20,945 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70165838>
2024-01-28 14:29:21,202 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:29:21,210 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 32.2, 31.5]A
2024-01-28 14:29:21,212 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21858.0W
2024-01-28 14:29:21,220 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:29:21,228 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:29:21,232 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:29:21,236 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:29:21.236076
2024-01-28 14:29:21,240 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137148.080694s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:29:21,242 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:29:21.242366
2024-01-28 14:29:21,244 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:29:21.242366
2024-01-28 14:29:21,244 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53990.310429s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:29:21,245 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:29:21.245361
2024-01-28 14:29:21,246 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129366.70495s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:29:21,247 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:29:21.247471
2024-01-28 14:29:21,248 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:29:21.247471
2024-01-28 14:29:21,248 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52693.410914s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:29:21,249 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:29:21,258 - {control.chargepoint.chargepoint:667} - {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-28 14:29:21,263 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:29:21,286 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448551.6992981, power=4646.4, imported=4311918.003224198, exported=0)
2024-01-28 14:29:21,288 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026632, power1: 4646.4, power2: 4640.9
2024-01-28 14:29:21,289 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.367
2024-01-28 14:29:21,293 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.367 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448561.2868075, power=4640.9, imported=4311930.370179197, exported=0)
2024-01-28 14:29:21,296 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:29:21,299 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:29:21,300 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:29:21,306 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.74, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb3490>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:29:21,311 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:29:21,313 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:29:21,315 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[974.0, 398.0, 768.0], currents=[4.6, 2.9, 3.5], voltages=[238.81, 239.98, 237.39], power_factors=[0.87, 0.54, 0.89], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628599.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2142.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21858.0, raw_currents_left=[30.4, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:29:21,316 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4640.9, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311930.370179197, disengageable_smarthome_power=0))
2024-01-28 14:29:21,324 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:29:21,325 - {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-28 14:29:21,326 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:29:21,328 - {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-28 14:29:21,329 - {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-28 14:29:21,336 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:21,338 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:21,340 - {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-28 14:29:21,340 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:29:21,341 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:21,342 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:21,343 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6190>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:29:21,344 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:29:21,345 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:29:21,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 0x6f7d6478>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:29:21,346 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301362.149, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:29:21,348 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004989.12, fault_state=0, fault_str='Kein Fehler.', power=-2409.9))
2024-01-28 14:29:21,348 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306351.269, power=-2498.9))
2024-01-28 14:29:21,349 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448551, 'time': '14:29:11', 'grid': 2.158, 'house-power': 4.646, 'charging-all': 0.0, 'pv-all': 2.488, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:29:21,349 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:29:21,350 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:29:21,350 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:21,350 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:21,351 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:29:21,351 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:29:21,351 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:29:21,352 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:29:21,352 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:29:21,354 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:29:21,356 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:29:21,358 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:29:21,358 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2242.0W
2024-01-28 14:29:21,359 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2242.0W
2024-01-28 14:29:21,359 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:29:21,359 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:29:21,360 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:29:21,366 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:29:21,388 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:21,411 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:29:25,700 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:25,701 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:30,713 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:30,716 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:29:30,718 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:29:30,822 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:29:30,824 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:30,831 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:29:30,833 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:30,834 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:30,876 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:29:30,878 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.6, "voltage":239.9, "current":0.389, "aenergy":{"total":9421.541,"by_minute":[747.148,1494.295,1496.668],"minute_ts":1706448569},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:29","unixtime":1706448571,"uptime":5807965,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:29:30,880 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448560.3177607, power=-89, imported=0.0, exported=301362.148553895)
2024-01-28 14:29:30,882 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2169, -1009, -394, -764], Scale 0
2024-01-28 14:29:30,882 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293404, power1: -89, power2: -89
2024-01-28 14:29:30,884 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.261129
2024-01-28 14:29:30,885 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.261129 Wh, new state: SimCounterState(timestamp=1706448570.8802884, power=-89, imported=0.0, exported=301362.40968305094)
2024-01-28 14:29:30,886 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.40968305094, dc_power=None)
2024-01-28 14:29:30,904 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 29, 35], Scale -1
2024-01-28 14:29:30,921 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23864, 23965, 23722, 0, 0, 0, 0], Scale -2
2024-01-28 14:29:31,002 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:29:31,023 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8740, 5519, 9020], Scale -2
2024-01-28 14:29:31,212 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628604, 3551269, 2508466, 3136970], Scale 0
2024-01-28 14:29:31,213 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 2.9000000000000004, 3.5], powers=[1009.0, 394.0, 764.0], voltages=[238.64000000000001, 239.65, 237.22], power_factors=[0.8740000000000001, 0.5519, 0.902], imported=8628604.0, exported=4872875.0, power=2169.0, frequency=49.97)
2024-01-28 14:29:31,214 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:31,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24233], Scale -1
2024-01-28 14:29:31,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963001], Scale 0
2024-01-28 14:29:31,334 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [340, 340, 340], Scale -2
2024-01-28 14:29:31,410 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24602], Scale -1
2024-01-28 14:29:31,411 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.4, 3.4, 3.4]
2024-01-28 14:29:31,411 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.4, 3.4, 3.4], power=-2423.3, exported=7963001.0, dc_power=-2460.2000000000003)
2024-01-28 14:29:31,413 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:31,450 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448560.6411066, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:31,451 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00300258, power1: 0, power2: 0
2024-01-28 14:29:31,451 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:29:31,451 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448571.4503906, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:31,452 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:31,456 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:31,457 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:31,498 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:31,499 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:31,500 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2423.3, exported=8004997.12, dc_power=None)
2024-01-28 14:29:31,501 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:31,501 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2423.3, exported=8004997.12, dc_power=None)
2024-01-28 14:29:31,503 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.40968305094, dc_power=None)
2024-01-28 14:29:31,506 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.40968305094, dc_power=None)
2024-01-28 14:29:31,546 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:31,547 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 2.9000000000000004, 3.5], powers=[1009.0, 394.0, 764.0], voltages=[238.64000000000001, 239.65, 237.22], power_factors=[0.8740000000000001, 0.5519, 0.902], imported=8628604.0, exported=4872875.0, power=2169.0, frequency=49.97)
2024-01-28 14:29:31,609 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:31,610 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:29:31,610 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6820>
2024-01-28 14:29:31,613 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:31,614 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6820>
2024-01-28 14:29:31,742 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:29:31,746 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 32.2, 31.5]A
2024-01-28 14:29:31,748 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21831.0W
2024-01-28 14:29:31,749 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:29:31,750 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:29:31,752 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:29:31,754 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:29:31.753587
2024-01-28 14:29:31,755 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137137.563183s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:29:31,756 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:29:31.755982
2024-01-28 14:29:31,758 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:29:31.755982
2024-01-28 14:29:31,759 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53979.796813s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:29:31,762 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:29:31.761646
2024-01-28 14:29:31,763 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129356.188665s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:29:31,766 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:29:31.765934
2024-01-28 14:29:31,779 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:29:31.765934
2024-01-28 14:29:31,781 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52682.892451s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:29:31,782 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:29:31,794 - {control.chargepoint.chargepoint:667} - {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-28 14:29:31,795 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:29:31,812 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448561.2868075, power=4640.9, imported=4311930.370179197, exported=0)
2024-01-28 14:29:31,814 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292377, power1: 4640.9, power2: 4681.3
2024-01-28 14:29:31,815 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 13.628
2024-01-28 14:29:31,817 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 13.628 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448571.8123834, power=4681.3, imported=4311943.998168563, exported=0)
2024-01-28 14:29:31,820 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:29:31,825 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:29:31,826 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:29:31,828 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.63, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c3d00>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:29:31,829 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:29:31,830 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:29:31,832 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1009.0, 394.0, 764.0], currents=[4.7, 2.9, 3.5], voltages=[238.64, 239.65, 237.22], power_factors=[0.87, 0.55, 0.9], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628604.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2169.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21831.0, raw_currents_left=[30.3, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:29:31,833 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4681.3, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311943.998168563, disengageable_smarthome_power=0))
2024-01-28 14:29:31,835 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:29:31,836 - {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-28 14:29:31,838 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:29:31,839 - {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-28 14:29:31,841 - {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-28 14:29:31,842 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:31,843 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:31,845 - {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-28 14:29:31,846 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:29:31,848 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:31,849 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:31,851 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edaad30>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:29:31,851 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:29:31,853 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:29:31,854 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cb718>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:29:31,856 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301362.41, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:29:31,857 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8004997.12, fault_state=0, fault_str='Kein Fehler.', power=-2423.3))
2024-01-28 14:29:31,859 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306359.53, power=-2512.3))
2024-01-28 14:29:31,860 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448561, 'time': '14:29:21', 'grid': 2.142, 'house-power': 4.641, 'charging-all': 0.0, 'pv-all': 2.499, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:29:31,862 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:29:31,865 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:29:31,866 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:31,867 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:31,868 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:29:31,869 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:29:31,870 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:29:31,871 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:29:31,872 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:29:31,875 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:29:31,886 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:29:31,893 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:29:31,906 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2269.0W
2024-01-28 14:29:31,907 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2269.0W
2024-01-28 14:29:31,910 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:29:31,916 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:29:31,925 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:29:31,936 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:29:31,942 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:31,971 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:29:35,246 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:35,247 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:40,258 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:40,258 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:40,259 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:29:40,260 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:29:40,310 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:29:40,311 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:40,319 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:29:40,321 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:40,328 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:40,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2177, -1008, -399, -770], Scale 0
2024-01-28 14:29:40,385 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:29:40,388 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.7, "voltage":239.8, "current":0.390, "aenergy":{"total":9421.789,"by_minute":[995.881,1494.295,1496.668],"minute_ts":1706448579},"temperature":{"tC":39.2, "tF":102.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:29","unixtime":1706448580,"uptime":5807975,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:29:40,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 29, 35], Scale -1
2024-01-28 14:29:40,391 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448570.8802884, power=-89, imported=0.0, exported=301362.40968305094)
2024-01-28 14:29:40,393 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264208, power1: -89, power2: -89
2024-01-28 14:29:40,394 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.235145
2024-01-28 14:29:40,394 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.235145 Wh, new state: SimCounterState(timestamp=1706448580.3917778, power=-89, imported=0.0, exported=301362.64482820535)
2024-01-28 14:29:40,395 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.64482820535, dc_power=None)
2024-01-28 14:29:40,462 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23864, 23960, 23716, 0, 0, 0, 0], Scale -2
2024-01-28 14:29:40,491 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:29:40,535 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8709, 5550, 8989], Scale -2
2024-01-28 14:29:40,562 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628609, 3551272, 2508467, 3136972], Scale 0
2024-01-28 14:29:40,563 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.5], powers=[1008.0, 399.0, 770.0], voltages=[238.64000000000001, 239.6, 237.16], power_factors=[0.8709, 0.555, 0.8989], imported=8628609.0, exported=4872875.0, power=2177.0, frequency=49.97)
2024-01-28 14:29:40,570 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:40,591 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24289], Scale -1
2024-01-28 14:29:40,644 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963007], Scale 0
2024-01-28 14:29:40,704 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [341, 343, 339], Scale -2
2024-01-28 14:29:40,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24649], Scale -1
2024-01-28 14:29:40,731 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.41, 3.43, 3.39]
2024-01-28 14:29:40,732 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.41, 3.43, 3.39], power=-2428.9, exported=7963007.0, dc_power=-2464.9)
2024-01-28 14:29:40,733 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:40,782 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448571.4503906, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:40,782 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259211, power1: 0, power2: 0
2024-01-28 14:29:40,783 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:29:40,784 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448580.781985, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:40,785 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:40,796 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:40,804 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:40,863 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:40,872 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:40,884 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2428.9, exported=8005003.12, dc_power=None)
2024-01-28 14:29:40,882 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:40,888 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2428.9, exported=8005003.12, dc_power=None)
2024-01-28 14:29:40,890 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.64482820535, dc_power=None)
2024-01-28 14:29:40,904 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.64482820535, dc_power=None)
2024-01-28 14:29:41,070 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:41,070 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.5], powers=[1008.0, 399.0, 770.0], voltages=[238.64000000000001, 239.6, 237.16], power_factors=[0.8709, 0.555, 0.8989], imported=8628609.0, exported=4872875.0, power=2177.0, frequency=49.97)
2024-01-28 14:29:41,171 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:41,172 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:29:41,173 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f776d90>
2024-01-28 14:29:41,175 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:41,176 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f776d90>
2024-01-28 14:29:41,303 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:29:41,311 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 32.2, 31.5]A
2024-01-28 14:29:41,314 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21823.0W
2024-01-28 14:29:41,318 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:29:41,324 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:29:41,330 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:29:41,332 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:29:41.332263
2024-01-28 14:29:41,334 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137127.984507s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:29:41,335 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:29:41.334968
2024-01-28 14:29:41,336 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:29:41.334968
2024-01-28 14:29:41,337 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53970.217827s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:29:41,339 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:29:41.339117
2024-01-28 14:29:41,341 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129346.611194s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:29:41,344 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:29:41.344144
2024-01-28 14:29:41,345 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:29:41.344144
2024-01-28 14:29:41,346 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52673.314241s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:29:41,347 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:29:41,361 - {control.chargepoint.chargepoint:667} - {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-28 14:29:41,376 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:29:41,389 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448571.8123834, power=4681.3, imported=4311943.998168563, exported=0)
2024-01-28 14:29:41,396 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266034, power1: 4681.3, power2: 4694.9
2024-01-28 14:29:41,399 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.472
2024-01-28 14:29:41,401 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.472 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448581.3896234, power=4694.9, imported=4311956.47012934, exported=0)
2024-01-28 14:29:41,411 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:29:41,415 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:29:41,416 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:29:41,418 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.0, 237.46, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d52c8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:29:41,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-28 14:29:41,420 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:29:41,422 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1008.0, 399.0, 770.0], currents=[4.8, 2.9, 3.5], voltages=[238.64, 239.6, 237.16], power_factors=[0.87, 0.56, 0.9], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628609.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2177.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21823.0, raw_currents_left=[30.2, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:29:41,423 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4694.9, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311956.47012934, disengageable_smarthome_power=0))
2024-01-28 14:29:41,426 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:29:41,427 - {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-28 14:29:41,429 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:29:41,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-28 14:29:41,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-28 14:29:41,442 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:41,446 - {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=77, soc_timestamp=1706448284.261549, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:41,448 - {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-28 14:29:41,450 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:29:41,452 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:41,453 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:41,456 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e9e80>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:29:41,459 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:29:41,463 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:29:41,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 0x6f7d5ad8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:29:41,467 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301362.645, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:29:41,468 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8005003.12, fault_state=0, fault_str='Kein Fehler.', power=-2428.9))
2024-01-28 14:29:41,469 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306365.765000001, power=-2517.9))
2024-01-28 14:29:41,470 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448571, 'time': '14:29:31', 'grid': 2.169, 'house-power': 4.681, 'charging-all': 0.0, 'pv-all': 2.512, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:29:41,471 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:29:41,471 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:29:41,472 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:41,472 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:41,473 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:29:41,473 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:29:41,474 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:29:41,474 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:29:41,475 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:29:41,477 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:29:41,479 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:29:41,481 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:29:41,482 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2277.0W
2024-01-28 14:29:41,483 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2277.0W
2024-01-28 14:29:41,483 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:29:41,484 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:29:41,485 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:29:41,490 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:29:41,514 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:41,535 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:29:45,804 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:50,820 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:50,824 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:29:50,828 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:29:50,830 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:29:50,900 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:29:50,901 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:50,910 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:50,918 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:29:50,918 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:50,966 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:29:50,969 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.5, "voltage":239.7, "current":0.388, "aenergy":{"total":9422.037,"by_minute":[1244.613,1494.295,1496.668],"minute_ts":1706448589},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:29","unixtime":1706448591,"uptime":5807985,"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-28 14:29:50,972 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448580.3917778, power=-89, imported=0.0, exported=301362.64482820535)
2024-01-28 14:29:50,973 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293905, power1: -89, power2: -89
2024-01-28 14:29:50,974 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.261575
2024-01-28 14:29:50,975 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.261575 Wh, new state: SimCounterState(timestamp=1706448590.9723525, power=-89, imported=0.0, exported=301362.90640352556)
2024-01-28 14:29:50,979 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.90640352556, dc_power=None)
2024-01-28 14:29:50,994 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2175, -1018, -393, -764], Scale 0
2024-01-28 14:29:51,040 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 29, 35], Scale -1
2024-01-28 14:29:51,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23864, 23944, 23725, 0, 0, 0, 0], Scale -2
2024-01-28 14:29:51,117 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:29:51,151 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8750, 5559, 9070], Scale -2
2024-01-28 14:29:51,205 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628619, 3551276, 2508468, 3136975], Scale 0
2024-01-28 14:29:51,206 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 2.9000000000000004, 3.5], powers=[1018.0, 393.0, 764.0], voltages=[238.64000000000001, 239.44, 237.25], power_factors=[0.875, 0.5559000000000001, 0.907], imported=8628619.0, exported=4872875.0, power=2175.0, frequency=49.97)
2024-01-28 14:29:51,207 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:51,231 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24492], Scale -1
2024-01-28 14:29:51,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963015], Scale 0
2024-01-28 14:29:51,332 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [344, 346, 340], Scale -2
2024-01-28 14:29:51,361 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24865], Scale -1
2024-01-28 14:29:51,362 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.44, 3.46, 3.4]
2024-01-28 14:29:51,362 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.44, 3.46, 3.4], power=-2449.2000000000003, exported=7963015.0, dc_power=-2486.5)
2024-01-28 14:29:51,364 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:51,415 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448580.781985, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:51,416 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00295381, power1: 0, power2: 0
2024-01-28 14:29:51,416 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:29:51,417 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448591.4156833, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:29:51,418 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:51,424 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:29:51,432 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:29:51,467 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:51,469 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:29:51,470 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2449.2000000000003, exported=8005011.12, dc_power=None)
2024-01-28 14:29:51,470 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:29:51,471 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2449.2000000000003, exported=8005011.12, dc_power=None)
2024-01-28 14:29:51,471 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.90640352556, dc_power=None)
2024-01-28 14:29:51,473 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301362.90640352556, dc_power=None)
2024-01-28 14:29:51,512 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:29:51,512 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 2.9000000000000004, 3.5], powers=[1018.0, 393.0, 764.0], voltages=[238.64000000000001, 239.44, 237.25], power_factors=[0.875, 0.5559000000000001, 0.907], imported=8628619.0, exported=4872875.0, power=2175.0, frequency=49.97)
2024-01-28 14:29:51,575 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:51,576 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:29:51,576 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5f40>
2024-01-28 14:29:51,578 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:29:51,579 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5f40>
2024-01-28 14:29:51,720 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:29:51,727 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.2, 31.5]A
2024-01-28 14:29:51,731 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21825.0W
2024-01-28 14:29:51,737 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:29:51,744 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:29:51,746 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:29:51,749 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:29:51.748929
2024-01-28 14:29:51,750 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137117.567841s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:29:51,754 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:29:51.754179
2024-01-28 14:29:51,756 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:29:51.754179
2024-01-28 14:29:51,757 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53959.798616s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:29:51,762 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:29:51.762153
2024-01-28 14:29:51,763 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129336.188158s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:29:51,764 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:29:51.764362
2024-01-28 14:29:51,765 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:29:51.764362
2024-01-28 14:29:51,766 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52662.894023s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:29:51,770 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:29:51,787 - {control.chargepoint.chargepoint:667} - {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-28 14:29:51,788 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:29:51,806 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448581.3896234, power=4694.9, imported=4311956.47012934, exported=0)
2024-01-28 14:29:51,808 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289367, power1: 4694.9, power2: 4713.2
2024-01-28 14:29:51,809 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 13.612
2024-01-28 14:29:51,810 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 13.612 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448591.8068223, power=4713.2, imported=4311970.082080581, exported=0)
2024-01-28 14:29:51,816 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:29:51,817 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:29:51,819 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=81.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:29:51,821 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=81.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.06, 237.64, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7790b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:29:51,822 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:29:51,823 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:29:51,839 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1018.0, 393.0, 764.0], currents=[4.9, 2.9, 3.5], voltages=[238.64, 239.44, 237.25], power_factors=[0.88, 0.56, 0.91], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21619.0, imported=8628619.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2175.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21825.0, raw_currents_left=[30.1, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:29:51,840 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4713.2, invalid_home_consumption=0, daily_yield_home_consumption=25709.0, imported_home_consumption=4311970.082080581, disengageable_smarthome_power=0))
2024-01-28 14:29:51,842 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:29:51,843 - {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-28 14:29:51,844 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:29:51,846 - {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-28 14:29:51,848 - {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-28 14:29:51,850 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:51,858 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:29:51,859 - {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-28 14:29:51,859 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:29:51,860 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:51,861 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:29:51,863 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d50b8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:29:51,864 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:29:51,865 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:29:51,866 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cfd78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:29:51,867 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=414.0, monthly_exported=0, yearly_exported=0, exported=301362.906, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:29:51,868 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4276.0, monthly_exported=0, yearly_exported=0, exported=8005011.12, fault_state=0, fault_str='Kein Fehler.', power=-2449.2))
2024-01-28 14:29:51,869 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4691.0, monthly_exported=0, yearly_exported=0, exported=8306374.026000001, power=-2538.2))
2024-01-28 14:29:51,870 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448581, 'time': '14:29:41', 'grid': 2.177, 'house-power': 4.695, 'charging-all': 0.0, 'pv-all': 2.518, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:29:51,872 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:29:51,874 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:29:51,875 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:51,876 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:29:51,876 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:29:51,877 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:29:51,877 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:29:51,878 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:29:51,878 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:29:51,880 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:29:51,881 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:29:51,883 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:29:51,884 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2275.0W
2024-01-28 14:29:51,884 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2275.0W
2024-01-28 14:29:51,885 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:29:51,885 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:29:51,886 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:29:51,887 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:29:51,889 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:29:51,910 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:29:55,194 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:29:55,195 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:00,206 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:00,208 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:30:00,211 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-28 14:30:00,239 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-28 14:30:00,241 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:30:02,185 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:30:02,188 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:30:02,237 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:30:02,239 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:02,246 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:30:02,253 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:02,255 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:02,291 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 725
2024-01-28 14:30:02,295 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.5, "voltage":240.0, "current":0.390, "aenergy":{"total":9422.335,"by_minute":[49.841,1493.345,1494.295],"minute_ts":1706448601},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:30","unixtime":1706448602,"uptime":5807997,"ram_size":248948,"ram_free":144520,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:30:02,298 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448590.9723525, power=-89, imported=0.0, exported=301362.90640352556)
2024-01-28 14:30:02,300 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00314625, power1: -89, power2: -89
2024-01-28 14:30:02,301 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.280016
2024-01-28 14:30:02,310 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.280016 Wh, new state: SimCounterState(timestamp=1706448602.2988434, power=-89, imported=0.0, exported=301363.1864195501)
2024-01-28 14:30:02,318 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.1864195501, dc_power=None)
2024-01-28 14:30:02,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2178, -1012, -397, -768], Scale 0
2024-01-28 14:30:02,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 29, 35], Scale -1
2024-01-28 14:30:02,372 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23875, 23976, 23738, 0, 0, 0, 0], Scale -2
2024-01-28 14:30:02,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:30:02,463 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8690, 5469, 8999], Scale -2
2024-01-28 14:30:02,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628621, 3551278, 2508469, 3136977], Scale 0
2024-01-28 14:30:02,494 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.5], powers=[1012.0, 397.0, 768.0], voltages=[238.75, 239.76, 237.38], power_factors=[0.8690000000000001, 0.5468999999999999, 0.8998999999999999], imported=8628621.0, exported=4872875.0, power=2178.0, frequency=49.99)
2024-01-28 14:30:02,498 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:02,523 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24260], Scale -1
2024-01-28 14:30:02,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963022], Scale 0
2024-01-28 14:30:02,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [341, 343, 336], Scale -2
2024-01-28 14:30:02,604 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24630], Scale -1
2024-01-28 14:30:02,605 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.41, 3.43, 3.36]
2024-01-28 14:30:02,605 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.41, 3.43, 3.36], power=-2426.0, exported=7963022.0, dc_power=-2463.0)
2024-01-28 14:30:02,608 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:02,709 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448591.4156833, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:02,710 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00313708, power1: 0, power2: 0
2024-01-28 14:30:02,711 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:30:02,716 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448602.7091627, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:02,718 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:02,725 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:02,727 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:02,927 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:02,930 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:02,933 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:02,941 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2426.0, exported=8005018.12, dc_power=None)
2024-01-28 14:30:02,943 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.1864195501, dc_power=None)
2024-01-28 14:30:02,948 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2426.0, exported=8005018.12, dc_power=None)
2024-01-28 14:30:02,949 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.1864195501, dc_power=None)
2024-01-28 14:30:03,004 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:03,005 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.5], powers=[1012.0, 397.0, 768.0], voltages=[238.75, 239.76, 237.38], power_factors=[0.8690000000000001, 0.5468999999999999, 0.8998999999999999], imported=8628621.0, exported=4872875.0, power=2178.0, frequency=49.99)
2024-01-28 14:30:03,071 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:03,072 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:30:03,073 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cf0a0>
2024-01-28 14:30:03,075 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:03,077 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cf0a0>
2024-01-28 14:30:03,204 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:30:03,206 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 32.2, 31.5]A
2024-01-28 14:30:03,207 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21822.0W
2024-01-28 14:30:03,209 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:30:03,213 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:30:03,213 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:30:03,215 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:30:03.215074
2024-01-28 14:30:03,216 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137106.101696s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:30:03,219 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:30:03.218724
2024-01-28 14:30:03,220 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:30:03.218724
2024-01-28 14:30:03,221 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53948.334071s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:30:03,223 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:30:03.223090
2024-01-28 14:30:03,225 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129324.727221s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:30:03,226 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:30:03.226167
2024-01-28 14:30:03,228 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:30:03.226167
2024-01-28 14:30:03,229 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52651.432218s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:30:03,230 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:30:03,234 - {control.chargepoint.chargepoint:667} - {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-28 14:30:03,255 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:30:03,262 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448591.8068223, power=4713.2, imported=4311970.082080581, exported=0)
2024-01-28 14:30:03,263 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00318221, power1: 4713.2, power2: 4693
2024-01-28 14:30:03,265 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.9663
2024-01-28 14:30:03,266 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.9663 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448603.262793, power=4693.0, imported=4311985.04835172, exported=0)
2024-01-28 14:30:03,269 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:30:03,271 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:30:03,272 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:30:03,274 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.65, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d6fb8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:30:03,275 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:30:03,277 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:30:03,278 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1012.0, 397.0, 768.0], currents=[4.8, 2.9, 3.5], voltages=[238.75, 239.76, 237.38], power_factors=[0.87, 0.55, 0.9], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628621.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2178.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21822.0, raw_currents_left=[30.2, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:30:03,280 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4693.0, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4311985.04835172, disengageable_smarthome_power=0))
2024-01-28 14:30:03,281 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:30:03,283 - {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-28 14:30:03,285 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:30:03,287 - {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-28 14:30:03,288 - {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-28 14:30:03,289 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:03,291 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:03,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-28 14:30:03,292 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:30:03,294 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:03,295 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:03,298 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edbe790>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:30:03,298 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:30:03,300 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:30:03,301 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed99b98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:30:03,304 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301363.186, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:30:03,307 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005018.12, fault_state=0, fault_str='Kein Fehler.', power=-2426.0))
2024-01-28 14:30:03,310 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306381.306, power=-2515.0))
2024-01-28 14:30:03,312 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448591, 'time': '14:29:51', 'grid': 2.175, 'house-power': 4.713, 'charging-all': 0.0, 'pv-all': 2.538, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:30:03,314 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:30:03,315 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:30:03,316 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:03,317 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:03,319 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:30:03,320 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:30:03,321 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:30:03,322 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:30:03,323 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:30:03,326 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:30:03,329 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:30:03,331 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:30:03,333 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2278.0W
2024-01-28 14:30:03,334 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2278.0W
2024-01-28 14:30:03,337 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:30:03,338 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:30:03,340 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:30:03,342 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:30:03,348 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:03,383 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:30:05,678 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:05,681 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:10,692 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:10,693 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:10,694 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:30:10,695 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:30:10,742 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:30:10,743 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:10,744 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:10,751 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:30:10,753 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:10,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2205, -1028, -403, -773], Scale 0
2024-01-28 14:30:10,808 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:30:10,814 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.5, "voltage":239.8, "current":0.385, "aenergy":{"total":9422.533,"by_minute":[248.733,1493.345,1494.295],"minute_ts":1706448609},"temperature":{"tC":39.2, "tF":102.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:30","unixtime":1706448611,"uptime":5808005,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:30:10,825 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448602.2988434, power=-89, imported=0.0, exported=301363.1864195501)
2024-01-28 14:30:10,834 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00236845, power1: -89, power2: -89
2024-01-28 14:30:10,839 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.210792
2024-01-28 14:30:10,847 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.210792 Wh, new state: SimCounterState(timestamp=1706448610.8252537, power=-89, imported=0.0, exported=301363.3972113613)
2024-01-28 14:30:10,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [50, 29, 36], Scale -1
2024-01-28 14:30:10,852 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.3972113613, dc_power=None)
2024-01-28 14:30:10,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23863, 23980, 23720, 0, 0, 0, 0], Scale -2
2024-01-28 14:30:10,902 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:30:11,012 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8690, 5749, 9010], Scale -2
2024-01-28 14:30:11,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628625, 3551281, 2508470, 3136979], Scale 0
2024-01-28 14:30:11,042 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.0, 2.9000000000000004, 3.6], powers=[1028.0, 403.0, 773.0], voltages=[238.63, 239.8, 237.20000000000002], power_factors=[0.8690000000000001, 0.5749, 0.9010000000000001], imported=8628625.0, exported=4872875.0, power=2205.0, frequency=49.99)
2024-01-28 14:30:11,044 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:11,071 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24191], Scale -1
2024-01-28 14:30:11,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963029], Scale 0
2024-01-28 14:30:11,133 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [340, 336, 334], Scale -2
2024-01-28 14:30:11,161 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24381], Scale -1
2024-01-28 14:30:11,162 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.4, 3.36, 3.34]
2024-01-28 14:30:11,163 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.4, 3.36, 3.34], power=-2419.1, exported=7963029.0, dc_power=-2438.1)
2024-01-28 14:30:11,164 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:11,221 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448602.7091627, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:11,222 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00236446, power1: 0, power2: 0
2024-01-28 14:30:11,222 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:30:11,222 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448611.2212296, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:11,223 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:11,227 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:11,242 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:11,311 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:11,315 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:11,316 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2419.1, exported=8005025.12, dc_power=None)
2024-01-28 14:30:11,316 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:11,317 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2419.1, exported=8005025.12, dc_power=None)
2024-01-28 14:30:11,317 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.3972113613, dc_power=None)
2024-01-28 14:30:11,319 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.3972113613, dc_power=None)
2024-01-28 14:30:11,357 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:11,358 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.0, 2.9000000000000004, 3.6], powers=[1028.0, 403.0, 773.0], voltages=[238.63, 239.8, 237.20000000000002], power_factors=[0.8690000000000001, 0.5749, 0.9010000000000001], imported=8628625.0, exported=4872875.0, power=2205.0, frequency=49.99)
2024-01-28 14:30:11,423 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:11,424 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:30:11,424 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70145550>
2024-01-28 14:30:11,428 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:11,429 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70145550>
2024-01-28 14:30:11,565 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:30:11,567 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.0, 32.2, 31.4]A
2024-01-28 14:30:11,568 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21795.0W
2024-01-28 14:30:11,570 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:30:11,574 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:30:11,575 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:30:11,577 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:30:11.576472
2024-01-28 14:30:11,578 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137097.740298s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:30:11,580 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:30:11.579737
2024-01-28 14:30:11,581 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:30:11.579737
2024-01-28 14:30:11,582 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53939.973058s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:30:11,586 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:30:11.586405
2024-01-28 14:30:11,588 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129316.363906s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:30:11,590 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:30:11.589778
2024-01-28 14:30:11,591 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:30:11.589778
2024-01-28 14:30:11,592 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52643.068607s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:30:11,594 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:30:11,598 - {control.chargepoint.chargepoint:667} - {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-28 14:30:11,599 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:30:11,625 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448603.262793, power=4693.0, imported=4311985.04835172, exported=0)
2024-01-28 14:30:11,627 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00232295, power1: 4693, power2: 4713.1
2024-01-28 14:30:11,630 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 10.9249
2024-01-28 14:30:11,632 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 10.9249 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448611.625396, power=4713.1, imported=4311995.973279443, exported=0)
2024-01-28 14:30:11,638 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:30:11,640 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:30:11,657 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:30:11,662 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.04, 237.62, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7014db50>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:30:11,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-28 14:30:11,668 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:30:11,671 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1028.0, 403.0, 773.0], currents=[5.0, 2.9, 3.6], voltages=[238.63, 239.8, 237.2], power_factors=[0.87, 0.57, 0.9], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628625.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2205.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21795.0, raw_currents_left=[30.0, 32.2, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:30:11,672 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4713.1, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4311995.973279443, disengageable_smarthome_power=0))
2024-01-28 14:30:11,673 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:30:11,675 - {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-28 14:30:11,677 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:30:11,678 - {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-28 14:30:11,679 - {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-28 14:30:11,680 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:11,680 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:11,682 - {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-28 14:30:11,683 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:30:11,688 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:11,689 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:11,691 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6340>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:30:11,693 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:30:11,697 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:30:11,699 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d9808>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:30:11,700 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301363.397, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:30:11,706 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005025.12, fault_state=0, fault_str='Kein Fehler.', power=-2419.1))
2024-01-28 14:30:11,712 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306388.517, power=-2508.1))
2024-01-28 14:30:11,714 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448603, 'time': '14:30:03', 'grid': 2.178, 'house-power': 4.693, 'charging-all': 0.0, 'pv-all': 2.515, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:30:11,717 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:30:11,718 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:30:11,721 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:11,723 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:11,724 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:30:11,726 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:30:11,729 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:30:11,730 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:30:11,731 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:30:11,735 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:30:11,738 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:30:11,741 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:30:11,743 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2305.0W
2024-01-28 14:30:11,747 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2305.0W
2024-01-28 14:30:11,748 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:30:11,749 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:30:11,753 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:30:11,761 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:30:11,782 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:11,811 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:30:15,092 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:20,105 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:20,106 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:20,107 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:30:20,107 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:30:20,153 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:30:20,156 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:20,163 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:30:20,165 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:20,170 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:20,210 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:30:20,212 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.7, "voltage":239.6, "current":0.385, "aenergy":{"total":9422.782,"by_minute":[497.940,1493.345,1494.295],"minute_ts":1706448619},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:30","unixtime":1706448620,"uptime":5808014,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:30:20,216 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448610.8252537, power=-89, imported=0.0, exported=301363.3972113613)
2024-01-28 14:30:20,217 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260855, power1: -89, power2: -89
2024-01-28 14:30:20,218 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.232161
2024-01-28 14:30:20,219 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.232161 Wh, new state: SimCounterState(timestamp=1706448620.2160232, power=-89, imported=0.0, exported=301363.6293720513)
2024-01-28 14:30:20,220 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.6293720513, dc_power=None)
2024-01-28 14:30:20,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2200, -1020, -402, -778], Scale 0
2024-01-28 14:30:20,295 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 29, 36], Scale -1
2024-01-28 14:30:20,381 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23866, 23959, 23715, 0, 0, 0, 0], Scale -2
2024-01-28 14:30:20,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:30:20,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8629, 5559, 8949], Scale -2
2024-01-28 14:30:20,441 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628635, 3551284, 2508472, 3136981], Scale 0
2024-01-28 14:30:20,441 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 2.9000000000000004, 3.6], powers=[1020.0, 402.0, 778.0], voltages=[238.66, 239.59, 237.15], power_factors=[0.8629000000000001, 0.5559000000000001, 0.8948999999999999], imported=8628635.0, exported=4872875.0, power=2200.0, frequency=49.99)
2024-01-28 14:30:20,443 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:20,580 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24285], Scale -1
2024-01-28 14:30:20,622 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963035], Scale 0
2024-01-28 14:30:20,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [341, 341, 339], Scale -2
2024-01-28 14:30:20,662 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24655], Scale -1
2024-01-28 14:30:20,662 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.41, 3.41, 3.39]
2024-01-28 14:30:20,663 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.41, 3.41, 3.39], power=-2428.5, exported=7963035.0, dc_power=-2465.5)
2024-01-28 14:30:20,669 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:20,790 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448611.2212296, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:20,792 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265812, power1: 0, power2: 0
2024-01-28 14:30:20,794 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:30:20,795 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448620.7904649, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:20,798 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:20,817 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:20,827 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:20,984 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:20,986 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:20,990 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:20,991 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2428.5, exported=8005031.12, dc_power=None)
2024-01-28 14:30:20,992 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.6293720513, dc_power=None)
2024-01-28 14:30:20,993 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2428.5, exported=8005031.12, dc_power=None)
2024-01-28 14:30:20,994 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.6293720513, dc_power=None)
2024-01-28 14:30:21,048 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:21,049 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 2.9000000000000004, 3.6], powers=[1020.0, 402.0, 778.0], voltages=[238.66, 239.59, 237.15], power_factors=[0.8629000000000001, 0.5559000000000001, 0.8948999999999999], imported=8628635.0, exported=4872875.0, power=2200.0, frequency=49.99)
2024-01-28 14:30:21,111 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:21,113 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:30:21,113 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5178>
2024-01-28 14:30:21,115 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:21,116 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5178>
2024-01-28 14:30:21,240 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:30:21,251 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.2, 31.4]A
2024-01-28 14:30:21,256 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21800.0W
2024-01-28 14:30:21,261 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:30:21,266 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:30:21,271 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:30:21,274 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:30:21.273922
2024-01-28 14:30:21,276 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137088.042848s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:30:21,278 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:30:21.277720
2024-01-28 14:30:21,281 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:30:21.277720
2024-01-28 14:30:21,283 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53930.275075s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:30:21,284 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:30:21.284108
2024-01-28 14:30:21,285 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129306.666203s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:30:21,285 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:30:21.285604
2024-01-28 14:30:21,286 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:30:21.285604
2024-01-28 14:30:21,286 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52633.372781s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:30:21,287 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:30:21,296 - {control.chargepoint.chargepoint:667} - {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-28 14:30:21,300 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:30:21,329 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448611.625396, power=4713.1, imported=4311995.973279443, exported=0)
2024-01-28 14:30:21,333 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269557, power1: 4713.1, power2: 4717.5
2024-01-28 14:30:21,336 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.7104
2024-01-28 14:30:21,336 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.7104 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448621.3294587, power=4717.5, imported=4312008.6837146785, exported=0)
2024-01-28 14:30:21,341 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:30:21,342 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:30:21,344 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:30:21,348 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.73, 237.85, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c04d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:30:21,348 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:30:21,349 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:30:21,349 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1020.0, 402.0, 778.0], currents=[4.9, 2.9, 3.6], voltages=[238.66, 239.59, 237.15], power_factors=[0.86, 0.56, 0.89], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628635.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2200.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21800.0, raw_currents_left=[30.1, 32.2, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:30:21,350 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4717.5, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312008.6837146785, disengageable_smarthome_power=0))
2024-01-28 14:30:21,350 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:30:21,351 - {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-28 14:30:21,352 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:30:21,352 - {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-28 14:30:21,353 - {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-28 14:30:21,353 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:21,354 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:21,354 - {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-28 14:30:21,356 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:30:21,362 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:21,364 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:21,368 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed5b250>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:30:21,369 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:30:21,370 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:30:21,371 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d51c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:30:21,373 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301363.629, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:30:21,374 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005031.12, fault_state=0, fault_str='Kein Fehler.', power=-2428.5))
2024-01-28 14:30:21,378 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306394.749, power=-2517.5))
2024-01-28 14:30:21,378 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448611, 'time': '14:30:11', 'grid': 2.205, 'house-power': 4.713, 'charging-all': 0.0, 'pv-all': 2.508, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:30:21,379 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:30:21,380 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:30:21,381 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:21,382 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:21,383 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:30:21,387 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:30:21,388 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:30:21,388 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:30:21,390 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:30:21,392 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:30:21,393 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:30:21,396 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:30:21,397 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2300.0W
2024-01-28 14:30:21,398 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2300.0W
2024-01-28 14:30:21,399 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:30:21,399 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:30:21,400 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:30:21,402 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:30:21,404 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:21,425 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:30:25,693 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:25,695 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:30,707 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:30,709 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:30:30,710 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:30:30,755 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:30:30,757 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:30,763 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:30:30,765 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:30,783 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:30,815 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2240, -1042, -412, -785], Scale 0
2024-01-28 14:30:30,820 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:30:30,823 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.7, "voltage":239.5, "current":0.385, "aenergy":{"total":9423.031,"by_minute":[747.148,1493.345,1494.295],"minute_ts":1706448629},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:30","unixtime":1706448631,"uptime":5808025,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:30:30,825 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448620.2160232, power=-89, imported=0.0, exported=301363.6293720513)
2024-01-28 14:30:30,827 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294717, power1: -89, power2: -89
2024-01-28 14:30:30,829 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.262299
2024-01-28 14:30:30,830 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.262299 Wh, new state: SimCounterState(timestamp=1706448630.8258522, power=-89, imported=0.0, exported=301363.8916706003)
2024-01-28 14:30:30,832 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [50, 30, 36], Scale -1
2024-01-28 14:30:30,833 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.8916706003, dc_power=None)
2024-01-28 14:30:30,903 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23870, 23943, 23749, 0, 0, 0, 0], Scale -2
2024-01-28 14:30:30,931 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:30:30,951 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8679, 5669, 8960], Scale -2
2024-01-28 14:30:30,974 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628640, 3551286, 2508473, 3136983], Scale 0
2024-01-28 14:30:30,975 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.0, 3.0, 3.6], powers=[1042.0, 412.0, 785.0], voltages=[238.70000000000002, 239.43, 237.49], power_factors=[0.8679000000000001, 0.5669, 0.8960000000000001], imported=8628640.0, exported=4872875.0, power=2240.0, frequency=49.97)
2024-01-28 14:30:30,977 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:31,001 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24277], Scale -1
2024-01-28 14:30:31,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963042], Scale 0
2024-01-28 14:30:31,054 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [340, 343, 339], Scale -2
2024-01-28 14:30:31,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24647], Scale -1
2024-01-28 14:30:31,082 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.4, 3.43, 3.39]
2024-01-28 14:30:31,083 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.4, 3.43, 3.39], power=-2427.7000000000003, exported=7963042.0, dc_power=-2464.7000000000003)
2024-01-28 14:30:31,084 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:31,181 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448620.7904649, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:31,182 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288643, power1: 0, power2: 0
2024-01-28 14:30:31,182 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:30:31,183 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448631.1815999, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:31,184 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:31,199 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:31,203 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:31,237 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:31,239 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:31,240 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2427.7000000000003, exported=8005038.12, dc_power=None)
2024-01-28 14:30:31,240 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:31,241 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2427.7000000000003, exported=8005038.12, dc_power=None)
2024-01-28 14:30:31,242 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.8916706003, dc_power=None)
2024-01-28 14:30:31,244 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301363.8916706003, dc_power=None)
2024-01-28 14:30:31,281 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:31,282 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.0, 3.0, 3.6], powers=[1042.0, 412.0, 785.0], voltages=[238.70000000000002, 239.43, 237.49], power_factors=[0.8679000000000001, 0.5669, 0.8960000000000001], imported=8628640.0, exported=4872875.0, power=2240.0, frequency=49.97)
2024-01-28 14:30:31,344 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:31,344 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:30:31,345 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed5b730>
2024-01-28 14:30:31,350 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:31,358 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed5b730>
2024-01-28 14:30:31,478 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:30:31,481 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.0, 32.1, 31.4]A
2024-01-28 14:30:31,482 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21760.0W
2024-01-28 14:30:31,483 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:30:31,488 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:30:31,489 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:30:31,494 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:30:31.493717
2024-01-28 14:30:31,497 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137077.823053s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:30:31,499 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:30:31.499102
2024-01-28 14:30:31,500 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:30:31.499102
2024-01-28 14:30:31,501 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53920.053693s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:30:31,503 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:30:31.502720
2024-01-28 14:30:31,506 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129296.447591s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:30:31,508 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:30:31.508344
2024-01-28 14:30:31,509 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:30:31.508344
2024-01-28 14:30:31,510 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52623.150041s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:30:31,514 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:30:31,520 - {control.chargepoint.chargepoint:667} - {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-28 14:30:31,521 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:30:31,568 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448621.3294587, power=4717.5, imported=4312008.6837146785, exported=0)
2024-01-28 14:30:31,570 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00284408, power1: 4717.5, power2: 4756.7
2024-01-28 14:30:31,572 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 13.4727
2024-01-28 14:30:31,578 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 13.4727 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448631.5681365, power=4756.7, imported=4312022.156392545, exported=0)
2024-01-28 14:30:31,583 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:30:31,584 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:30:31,586 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:30:31,588 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.75, 237.83, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701761f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:30:31,590 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:30:31,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-28 14:30:31,595 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1042.0, 412.0, 785.0], currents=[5.0, 3.0, 3.6], voltages=[238.7, 239.43, 237.49], power_factors=[0.87, 0.57, 0.9], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628640.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2240.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21760.0, raw_currents_left=[30.0, 32.1, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:30:31,596 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4756.7, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312022.156392545, disengageable_smarthome_power=0))
2024-01-28 14:30:31,601 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:30:31,602 - {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-28 14:30:31,603 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:30:31,605 - {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-28 14:30:31,607 - {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-28 14:30:31,608 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:31,610 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:31,612 - {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-28 14:30:31,615 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:30:31,619 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:31,621 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:31,628 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edbe3e8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:30:31,629 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:30:31,631 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:30:31,632 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d62f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:30:31,633 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301363.892, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:30:31,634 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005038.12, fault_state=0, fault_str='Kein Fehler.', power=-2427.7))
2024-01-28 14:30:31,637 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306402.012, power=-2516.7))
2024-01-28 14:30:31,639 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448621, 'time': '14:30:21', 'grid': 2.2, 'house-power': 4.718, 'charging-all': 0.0, 'pv-all': 2.518, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:30:31,644 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:30:31,646 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:30:31,647 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:31,649 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:31,649 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:30:31,651 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:30:31,651 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:30:31,652 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:30:31,654 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:30:31,656 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:30:31,658 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:30:31,660 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:30:31,661 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2340.0W
2024-01-28 14:30:31,662 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2340.0W
2024-01-28 14:30:31,663 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:30:31,663 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:30:31,664 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:30:31,666 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:30:31,669 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:31,721 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:30:35,999 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:36,001 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:40,010 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:40,011 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:40,013 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:30:40,014 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:30:40,071 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:30:40,072 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:40,079 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:30:40,081 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:40,082 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:40,118 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2227, -1035, -406, -785], Scale 0
2024-01-28 14:30:40,121 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:30:40,123 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.8, "voltage":239.8, "current":0.385, "aenergy":{"total":9423.281,"by_minute":[996.830,1493.345,1494.295],"minute_ts":1706448639},"temperature":{"tC":39.4, "tF":102.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:30","unixtime":1706448640,"uptime":5808034,"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-28 14:30:40,125 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448630.8258522, power=-89, imported=0.0, exported=301363.8916706003)
2024-01-28 14:30:40,126 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0025833, power1: -89, power2: -89
2024-01-28 14:30:40,126 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.229914
2024-01-28 14:30:40,127 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.229914 Wh, new state: SimCounterState(timestamp=1706448640.1257284, power=-89, imported=0.0, exported=301364.12158420664)
2024-01-28 14:30:40,138 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301364.12158420664, dc_power=None)
2024-01-28 14:30:40,141 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 30, 36], Scale -1
2024-01-28 14:30:40,158 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23890, 23969, 23761, 0, 0, 0, 0], Scale -2
2024-01-28 14:30:40,241 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:30:40,271 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8799, 5730, 9100], Scale -2
2024-01-28 14:30:40,294 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628645, 3551289, 2508474, 3136984], Scale 0
2024-01-28 14:30:40,295 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 3.0, 3.6], powers=[1035.0, 406.0, 785.0], voltages=[238.9, 239.69, 237.61], power_factors=[0.8798999999999999, 0.5730000000000001, 0.91], imported=8628645.0, exported=4872875.0, power=2227.0, frequency=49.97)
2024-01-28 14:30:40,296 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:40,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24350], Scale -1
2024-01-28 14:30:40,375 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963049], Scale 0
2024-01-28 14:30:40,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [341, 344, 340], Scale -2
2024-01-28 14:30:40,466 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24721], Scale -1
2024-01-28 14:30:40,468 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.41, 3.44, 3.4]
2024-01-28 14:30:40,471 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.41, 3.44, 3.4], power=-2435.0, exported=7963049.0, dc_power=-2472.1000000000004)
2024-01-28 14:30:40,475 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:40,533 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448631.1815999, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:40,534 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0025976, power1: 0, power2: 0
2024-01-28 14:30:40,536 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:30:40,537 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448640.5329752, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:40,539 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:40,545 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:40,550 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:40,752 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:40,754 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:40,760 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2435.0, exported=8005045.12, dc_power=None)
2024-01-28 14:30:40,762 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2435.0, exported=8005045.12, dc_power=None)
2024-01-28 14:30:40,763 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:40,773 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301364.12158420664, dc_power=None)
2024-01-28 14:30:40,777 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301364.12158420664, dc_power=None)
2024-01-28 14:30:40,842 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:40,844 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 3.0, 3.6], powers=[1035.0, 406.0, 785.0], voltages=[238.9, 239.69, 237.61], power_factors=[0.8798999999999999, 0.5730000000000001, 0.91], imported=8628645.0, exported=4872875.0, power=2227.0, frequency=49.97)
2024-01-28 14:30:40,915 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:40,916 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:30:40,916 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed5b958>
2024-01-28 14:30:40,919 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:40,929 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed5b958>
2024-01-28 14:30:41,053 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:30:41,056 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.1, 31.4]A
2024-01-28 14:30:41,056 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21773.0W
2024-01-28 14:30:41,058 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:30:41,062 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:30:41,063 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:30:41,064 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:30:41.064296
2024-01-28 14:30:41,065 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137068.252474s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:30:41,066 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:30:41.066285
2024-01-28 14:30:41,068 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:30:41.066285
2024-01-28 14:30:41,069 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53910.48651s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:30:41,070 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:30:41.070430
2024-01-28 14:30:41,074 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129286.879881s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:30:41,075 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:30:41.075261
2024-01-28 14:30:41,077 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:30:41.075261
2024-01-28 14:30:41,078 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52613.583124s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:30:41,079 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:30:41,089 - {control.chargepoint.chargepoint:667} - {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-28 14:30:41,089 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:30:41,093 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448631.5681365, power=4756.7, imported=4312022.156392545, exported=0)
2024-01-28 14:30:41,095 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264584, power1: 4756.7, power2: 4751
2024-01-28 14:30:41,096 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.5779
2024-01-28 14:30:41,106 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.5779 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448641.0931616, power=4751.0, imported=4312034.73432052, exported=0)
2024-01-28 14:30:41,113 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:30:41,115 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:30:41,116 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:30:41,130 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.06, 238.14, 239.22]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed8d208>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:30:41,131 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:30:41,132 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:30:41,138 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1035.0, 406.0, 785.0], currents=[4.9, 3.0, 3.6], voltages=[238.9, 239.69, 237.61], power_factors=[0.88, 0.57, 0.91], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628645.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2227.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21773.0, raw_currents_left=[30.1, 32.1, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:30:41,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=4751.0, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312034.73432052, disengageable_smarthome_power=0))
2024-01-28 14:30:41,143 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:30:41,151 - {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-28 14:30:41,153 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:30:41,154 - {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-28 14:30:41,155 - {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-28 14:30:41,156 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:41,158 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:41,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-28 14:30:41,164 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:30:41,165 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:41,167 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:41,174 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c3418>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:30:41,178 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:30:41,181 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:30:41,182 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb6d48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:30:41,183 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301364.122, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:30:41,185 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005045.12, fault_state=0, fault_str='Kein Fehler.', power=-2435.0))
2024-01-28 14:30:41,193 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306409.242000001, power=-2524.0))
2024-01-28 14:30:41,195 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448631, 'time': '14:30:31', 'grid': 2.24, 'house-power': 4.757, 'charging-all': 0.0, 'pv-all': 2.517, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:30:41,204 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:30:41,206 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:30:41,211 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:41,212 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:41,213 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:30:41,214 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:30:41,216 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:30:41,217 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:30:41,218 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:30:41,221 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:30:41,223 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:30:41,225 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:30:41,226 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2327.0W
2024-01-28 14:30:41,227 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2327.0W
2024-01-28 14:30:41,227 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:30:41,228 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:30:41,228 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:30:41,235 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:30:41,245 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:41,268 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:30:45,522 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:50,536 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:50,537 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:30:50,538 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:30:50,538 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:30:50,584 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:30:50,585 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:50,592 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:30:50,593 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:50,598 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:50,636 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:30:50,638 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":89.9, "voltage":239.9, "current":0.386, "aenergy":{"total":9423.531,"by_minute":[1246.512,1493.345,1494.295],"minute_ts":1706448649},"temperature":{"tC":39.2, "tF":102.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:30","unixtime":1706448651,"uptime":5808045,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:30:50,640 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448640.1257284, power=-89, imported=0.0, exported=301364.12158420664)
2024-01-28 14:30:50,641 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292072, power1: -89, power2: -89
2024-01-28 14:30:50,641 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.259944
2024-01-28 14:30:50,643 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2250, -1039, -416, -794], Scale 0
2024-01-28 14:30:50,643 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.259944 Wh, new state: SimCounterState(timestamp=1706448650.6403177, power=-89, imported=0.0, exported=301364.38152822014)
2024-01-28 14:30:50,646 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301364.38152822014, dc_power=None)
2024-01-28 14:30:50,729 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 29, 36], Scale -1
2024-01-28 14:30:50,749 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23884, 23961, 23773, 0, 0, 0, 0], Scale -2
2024-01-28 14:30:50,769 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:30:50,883 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8820, 5899, 9160], Scale -2
2024-01-28 14:30:50,931 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628650, 3551291, 2508474, 3136986], Scale 0
2024-01-28 14:30:50,932 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 2.9000000000000004, 3.6], powers=[1039.0, 416.0, 794.0], voltages=[238.84, 239.61, 237.73000000000002], power_factors=[0.882, 0.5899, 0.916], imported=8628650.0, exported=4872875.0, power=2250.0, frequency=50.0)
2024-01-28 14:30:50,933 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:50,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24404], Scale -1
2024-01-28 14:30:50,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963056], Scale 0
2024-01-28 14:30:51,019 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [343, 342, 341], Scale -2
2024-01-28 14:30:51,071 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24776], Scale -1
2024-01-28 14:30:51,072 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.43, 3.42, 3.41]
2024-01-28 14:30:51,072 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.43, 3.42, 3.41], power=-2440.4, exported=7963056.0, dc_power=-2477.6000000000004)
2024-01-28 14:30:51,074 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:51,131 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448640.5329752, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:51,132 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0029441, power1: 0, power2: 0
2024-01-28 14:30:51,133 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:30:51,133 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448651.1317282, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:30:51,134 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:51,139 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:30:51,140 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:30:51,181 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:51,183 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:30:51,184 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2440.4, exported=8005052.12, dc_power=None)
2024-01-28 14:30:51,185 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:30:51,186 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2440.4, exported=8005052.12, dc_power=None)
2024-01-28 14:30:51,187 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301364.38152822014, dc_power=None)
2024-01-28 14:30:51,190 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-89, exported=301364.38152822014, dc_power=None)
2024-01-28 14:30:51,229 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:30:51,230 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 2.9000000000000004, 3.6], powers=[1039.0, 416.0, 794.0], voltages=[238.84, 239.61, 237.73000000000002], power_factors=[0.882, 0.5899, 0.916], imported=8628650.0, exported=4872875.0, power=2250.0, frequency=50.0)
2024-01-28 14:30:51,298 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:51,298 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:30:51,299 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed8e2c8>
2024-01-28 14:30:51,302 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:30:51,303 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed8e2c8>
2024-01-28 14:30:51,435 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:30:51,443 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.2, 31.4]A
2024-01-28 14:30:51,449 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21750.0W
2024-01-28 14:30:51,451 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:30:51,453 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:30:51,454 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:30:51,456 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:30:51.455931
2024-01-28 14:30:51,457 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137057.860839s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:30:51,459 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:30:51.459091
2024-01-28 14:30:51,460 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:30:51.459091
2024-01-28 14:30:51,461 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53900.093704s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:30:51,463 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:30:51.463246
2024-01-28 14:30:51,464 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129276.487065s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:30:51,465 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:30:51.465513
2024-01-28 14:30:51,466 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:30:51.465513
2024-01-28 14:30:51,467 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52603.192872s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:30:51,468 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:30:51,477 - {control.chargepoint.chargepoint:667} - {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-28 14:30:51,478 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:30:51,501 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448641.0931616, power=4751.0, imported=4312034.73432052, exported=0)
2024-01-28 14:30:51,503 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289126, power1: 4751, power2: 4779.4
2024-01-28 14:30:51,506 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 13.7774
2024-01-28 14:30:51,508 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 13.7774 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448651.5016925, power=4779.4, imported=4312048.511745988, exported=0)
2024-01-28 14:30:51,512 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:30:51,513 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:30:51,514 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:30:51,516 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.04, 238.16, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70155058>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:30:51,517 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:30:51,519 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:30:51,521 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1039.0, 416.0, 794.0], currents=[4.9, 2.9, 3.6], voltages=[238.84, 239.61, 237.73], power_factors=[0.88, 0.59, 0.92], unbalanced_load=0, frequency=50.0, daily_exported=11.0, daily_imported=21955.0, imported=8628650.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2250.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21750.0, raw_currents_left=[30.1, 32.2, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:30:51,522 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4779.4, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312048.511745988, disengageable_smarthome_power=0))
2024-01-28 14:30:51,524 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:30:51,525 - {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-28 14:30:51,527 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:30:51,529 - {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-28 14:30:51,531 - {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-28 14:30:51,535 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30: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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:30:51,542 - {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-28 14:30:51,543 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:30:51,544 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:51,545 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:30:51,547 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d4f10>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:30:51,549 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:30:51,550 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:30:51,552 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x70be3eb0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:30:51,553 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301364.382, fault_state=0, fault_str='Kein Fehler.', power=-89))
2024-01-28 14:30:51,555 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005052.12, fault_state=0, fault_str='Kein Fehler.', power=-2440.4))
2024-01-28 14:30:51,558 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306416.502, power=-2529.4))
2024-01-28 14:30:51,558 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448641, 'time': '14:30:41', 'grid': 2.227, 'house-power': 4.751, 'charging-all': 0.0, 'pv-all': 2.524, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:30:51,560 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:30:51,561 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:30:51,562 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:51,564 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:30:51,567 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:30:51,569 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:30:51,570 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:30:51,571 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:30:51,572 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:30:51,575 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:30:51,577 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:30:51,580 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:30:51,584 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2350.0W
2024-01-28 14:30:51,586 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2350.0W
2024-01-28 14:30:51,589 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:30:51,600 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:30:51,601 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:30:51,607 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:30:51,610 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:30:51,661 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:30:55,943 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:30:55,944 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:00,959 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:00,961 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:31:00,963 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:31:01,050 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:31:01,068 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:01,078 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:01,079 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:31:01,082 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:01,122 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2246, -1044, -414, -788], Scale 0
2024-01-28 14:31:01,132 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 725
2024-01-28 14:31:01,134 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.3, "voltage":240.1, "current":0.387, "aenergy":{"total":9423.808,"by_minute":[25.158,1496.668,1493.345],"minute_ts":1706448660},"temperature":{"tC":39.4, "tF":103.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:31","unixtime":1706448661,"uptime":5808055,"ram_size":248948,"ram_free":144520,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:31:01,137 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448650.6403177, power=-89, imported=0.0, exported=301364.38152822014)
2024-01-28 14:31:01,137 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291573, power1: -89, power2: -90
2024-01-28 14:31:01,138 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.260958
2024-01-28 14:31:01,139 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.260958 Wh, new state: SimCounterState(timestamp=1706448661.136951, power=-90, imported=0.0, exported=301364.6424861867)
2024-01-28 14:31:01,144 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301364.6424861867, dc_power=None)
2024-01-28 14:31:01,152 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 29, 36], Scale -1
2024-01-28 14:31:01,171 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23875, 23953, 23761, 0, 0, 0, 0], Scale -2
2024-01-28 14:31:01,191 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:31:01,210 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8790, 5839, 9100], Scale -2
2024-01-28 14:31:01,262 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628661, 3551296, 2508476, 3136990], Scale 0
2024-01-28 14:31:01,263 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 2.9000000000000004, 3.6], powers=[1044.0, 414.0, 788.0], voltages=[238.75, 239.53, 237.61], power_factors=[0.879, 0.5839, 0.91], imported=8628661.0, exported=4872875.0, power=2246.0, frequency=49.99)
2024-01-28 14:31:01,265 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:01,290 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24739], Scale -1
2024-01-28 14:31:01,310 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963063], Scale 0
2024-01-28 14:31:01,381 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [347, 347, 345], Scale -2
2024-01-28 14:31:01,401 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25115], Scale -1
2024-01-28 14:31:01,401 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.47, 3.47, 3.45]
2024-01-28 14:31:01,402 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.47, 3.47, 3.45], power=-2473.9, exported=7963063.0, dc_power=-2511.5)
2024-01-28 14:31:01,403 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:01,481 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448651.1317282, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:01,481 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287483, power1: 0, power2: 0
2024-01-28 14:31:01,482 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:31:01,482 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448661.481101, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:01,483 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:01,486 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:01,487 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:01,527 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:01,528 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:01,529 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2473.9, exported=8005059.12, dc_power=None)
2024-01-28 14:31:01,530 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2473.9, exported=8005059.12, dc_power=None)
2024-01-28 14:31:01,531 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:01,532 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301364.6424861867, dc_power=None)
2024-01-28 14:31:01,535 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301364.6424861867, dc_power=None)
2024-01-28 14:31:01,570 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:01,571 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 2.9000000000000004, 3.6], powers=[1044.0, 414.0, 788.0], voltages=[238.75, 239.53, 237.61], power_factors=[0.879, 0.5839, 0.91], imported=8628661.0, exported=4872875.0, power=2246.0, frequency=49.99)
2024-01-28 14:31:01,627 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:01,628 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:31:01,629 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edaae68>
2024-01-28 14:31:01,632 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:01,633 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edaae68>
2024-01-28 14:31:01,754 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:31:01,756 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.2, 31.4]A
2024-01-28 14:31:01,757 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21754.0W
2024-01-28 14:31:01,758 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:31:01,760 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:31:01,761 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:31:01,763 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:31:01.762469
2024-01-28 14:31:01,765 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137047.554301s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:31:01,770 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:31:01.770381
2024-01-28 14:31:01,781 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:31:01.770381
2024-01-28 14:31:01,782 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53889.782414s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:31:01,783 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:31:01.782657
2024-01-28 14:31:01,784 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129266.167654s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:31:01,786 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:31:01.786231
2024-01-28 14:31:01,787 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:31:01.786231
2024-01-28 14:31:01,791 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52592.872154s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:31:01,792 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:31:01,808 - {control.chargepoint.chargepoint:667} - {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-28 14:31:01,819 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:31:01,838 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448651.5016925, power=4779.4, imported=4312048.511745988, exported=0)
2024-01-28 14:31:01,844 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287137, power1: 4779.4, power2: 4809.9
2024-01-28 14:31:01,850 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 13.7672
2024-01-28 14:31:01,854 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 13.7672 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448661.8386273, power=4809.9, imported=4312062.278963895, exported=0)
2024-01-28 14:31:01,866 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:31:01,872 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:31:01,875 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:31:01,877 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.2, 238.06, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edbb9d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:31:01,878 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:31:01,878 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:31:01,879 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1044.0, 414.0, 788.0], currents=[4.9, 2.9, 3.6], voltages=[238.75, 239.53, 237.61], power_factors=[0.88, 0.58, 0.91], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628661.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2246.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21754.0, raw_currents_left=[30.1, 32.2, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:31:01,880 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4809.9, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312062.278963895, disengageable_smarthome_power=0))
2024-01-28 14:31:01,880 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:31:01,881 - {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-28 14:31:01,882 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:31:01,882 - {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-28 14:31:01,883 - {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-28 14:31:01,883 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:01,884 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:01,884 - {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-28 14:31:01,886 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:31:01,887 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:01,888 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:01,891 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed99280>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:31:01,894 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:31:01,895 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:31:01,897 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x70172c40>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:31:01,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=421.0, monthly_exported=0, yearly_exported=0, exported=301364.642, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:31:01,900 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005059.12, fault_state=0, fault_str='Kein Fehler.', power=-2473.9))
2024-01-28 14:31:01,904 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306423.762, power=-2563.9))
2024-01-28 14:31:01,912 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448651, 'time': '14:30:51', 'grid': 2.25, 'house-power': 4.779, 'charging-all': 0.0, 'pv-all': 2.529, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:31:01,913 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:31:01,915 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:31:01,917 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:01,918 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:01,919 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:31:01,922 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:31:01,926 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:31:01,929 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:31:01,934 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:31:01,936 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:31:01,939 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:31:01,942 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:31:01,943 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2346.0W
2024-01-28 14:31:01,945 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2346.0W
2024-01-28 14:31:01,946 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:31:01,948 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:31:01,950 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:31:01,957 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:31:01,962 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:02,053 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:31:05,395 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:05,396 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:10,407 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:10,408 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:10,408 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:31:10,409 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:31:10,457 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:31:10,458 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:10,465 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:31:10,467 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:10,468 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:10,508 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:31:10,509 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":90.8, "voltage":240.2, "current":0.389, "aenergy":{"total":9424.036,"by_minute":[251.581,1496.668,1493.345],"minute_ts":1706448669},"temperature":{"tC":39.4, "tF":102.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:31","unixtime":1706448671,"uptime":5808065,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:31:10,511 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448661.136951, power=-90, imported=0.0, exported=301364.6424861867)
2024-01-28 14:31:10,512 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260413, power1: -90, power2: -90
2024-01-28 14:31:10,513 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.234372
2024-01-28 14:31:10,513 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.234372 Wh, new state: SimCounterState(timestamp=1706448670.5118315, power=-90, imported=0.0, exported=301364.8768582005)
2024-01-28 14:31:10,516 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301364.8768582005, dc_power=None)
2024-01-28 14:31:10,527 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2229, -1026, -415, -787], Scale 0
2024-01-28 14:31:10,551 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 30, 36], Scale -1
2024-01-28 14:31:10,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23893, 23985, 23774, 0, 0, 0, 0], Scale -2
2024-01-28 14:31:10,590 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:31:10,610 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8750, 5690, 9029], Scale -2
2024-01-28 14:31:10,645 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628666, 3551298, 2508477, 3136992], Scale 0
2024-01-28 14:31:10,646 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 3.0, 3.6], powers=[1026.0, 415.0, 787.0], voltages=[238.93, 239.85, 237.74], power_factors=[0.875, 0.569, 0.9029], imported=8628666.0, exported=4872875.0, power=2229.0, frequency=50.0)
2024-01-28 14:31:10,647 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:10,690 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24853], Scale -1
2024-01-28 14:31:10,721 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963070], Scale 0
2024-01-28 14:31:10,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [347, 349, 348], Scale -2
2024-01-28 14:31:10,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25231], Scale -1
2024-01-28 14:31:10,772 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.47, 3.49, 3.48]
2024-01-28 14:31:10,773 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.47, 3.49, 3.48], power=-2485.3, exported=7963070.0, dc_power=-2523.1000000000004)
2024-01-28 14:31:10,776 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:10,871 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448661.481101, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:10,872 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260835, power1: 0, power2: 0
2024-01-28 14:31:10,872 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:31:10,873 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448670.8711514, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:10,874 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:10,890 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:10,891 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:10,938 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:10,939 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:10,940 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2485.3, exported=8005066.12, dc_power=None)
2024-01-28 14:31:10,941 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2485.3, exported=8005066.12, dc_power=None)
2024-01-28 14:31:10,953 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:10,955 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301364.8768582005, dc_power=None)
2024-01-28 14:31:10,956 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-90, exported=301364.8768582005, dc_power=None)
2024-01-28 14:31:10,984 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:10,985 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 3.0, 3.6], powers=[1026.0, 415.0, 787.0], voltages=[238.93, 239.85, 237.74], power_factors=[0.875, 0.569, 0.9029], imported=8628666.0, exported=4872875.0, power=2229.0, frequency=50.0)
2024-01-28 14:31:11,052 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:11,053 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:31:11,054 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cb970>
2024-01-28 14:31:11,063 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:11,064 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cb970>
2024-01-28 14:31:11,185 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:31:11,188 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.1, 31.4]A
2024-01-28 14:31:11,189 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21771.0W
2024-01-28 14:31:11,191 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:31:11,193 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:31:11,194 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:31:11,195 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:31:11.195359
2024-01-28 14:31:11,196 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137038.121411s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:31:11,197 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:31:11.197554
2024-01-28 14:31:11,200 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:31:11.197554
2024-01-28 14:31:11,204 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53880.355241s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:31:11,206 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:31:11.205753
2024-01-28 14:31:11,207 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129256.744558s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:31:11,209 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:31:11.209113
2024-01-28 14:31:11,223 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:31:11.209113
2024-01-28 14:31:11,226 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52583.449272s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:31:11,229 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:31:11,242 - {control.chargepoint.chargepoint:667} - {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-28 14:31:11,244 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:31:11,265 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448661.8386273, power=4809.9, imported=4312062.278963895, exported=0)
2024-01-28 14:31:11,268 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261857, power1: 4809.9, power2: 4804.3
2024-01-28 14:31:11,269 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.5877
2024-01-28 14:31:11,271 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.5877 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448671.2654636, power=4804.3, imported=4312074.866670714, exported=0)
2024-01-28 14:31:11,276 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:31:11,277 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:31:11,279 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:31:11,280 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.21, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f74e640>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:31:11,281 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:31:11,282 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:31:11,283 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1026.0, 415.0, 787.0], currents=[4.9, 3.0, 3.6], voltages=[238.93, 239.85, 237.74], power_factors=[0.88, 0.57, 0.9], unbalanced_load=0, frequency=50.0, daily_exported=11.0, daily_imported=21955.0, imported=8628666.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2229.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21771.0, raw_currents_left=[30.1, 32.1, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:31:11,285 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4804.3, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312074.866670714, disengageable_smarthome_power=0))
2024-01-28 14:31:11,285 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:31:11,287 - {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-28 14:31:11,288 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:31:11,289 - {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-28 14:31:11,290 - {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-28 14:31:11,290 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:11,292 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:11,293 - {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-28 14:31:11,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-28 14:31:11,293 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:11,294 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:11,295 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed8e280>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:31:11,295 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:31:11,296 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:31:11,297 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e9e08>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:31:11,298 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301364.877, fault_state=0, fault_str='Kein Fehler.', power=-90))
2024-01-28 14:31:11,300 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005066.12, fault_state=0, fault_str='Kein Fehler.', power=-2485.3))
2024-01-28 14:31:11,303 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306430.997, power=-2575.3))
2024-01-28 14:31:11,304 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448662, 'time': '14:31:02', 'grid': 2.246, 'house-power': 4.81, 'charging-all': 0.0, 'pv-all': 2.564, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:31:11,305 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:31:11,309 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:31:11,312 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:11,314 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:11,315 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:31:11,316 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:31:11,324 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:31:11,325 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:31:11,327 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:31:11,330 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:31:11,333 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:31:11,336 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:31:11,337 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2329.0W
2024-01-28 14:31:11,338 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2329.0W
2024-01-28 14:31:11,339 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:31:11,340 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:31:11,342 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:31:11,350 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:31:11,354 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:11,388 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:31:15,673 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:20,692 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:20,693 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:20,694 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:31:20,695 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:31:20,744 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:31:20,746 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:20,752 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:31:20,755 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:20,777 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:20,802 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:31:20,804 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":91.4, "voltage":240.2, "current":0.392, "aenergy":{"total":9424.290,"by_minute":[504.586,1496.668,1493.345],"minute_ts":1706448679},"temperature":{"tC":39.4, "tF":103.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:31","unixtime":1706448681,"uptime":5808075,"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-28 14:31:20,807 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448670.5118315, power=-90, imported=0.0, exported=301364.8768582005)
2024-01-28 14:31:20,808 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285977, power1: -90, power2: -91
2024-01-28 14:31:20,809 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.258809
2024-01-28 14:31:20,809 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.258809 Wh, new state: SimCounterState(timestamp=1706448680.807015, power=-91, imported=0.0, exported=301365.1356676726)
2024-01-28 14:31:20,811 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-91, exported=301365.1356676726, dc_power=None)
2024-01-28 14:31:20,865 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2203, -1016, -405, -780], Scale 0
2024-01-28 14:31:20,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 30, 36], Scale -1
2024-01-28 14:31:20,951 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23906, 23990, 23771, 0, 0, 0, 0], Scale -2
2024-01-28 14:31:20,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:31:21,042 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8709, 5590, 8980], Scale -2
2024-01-28 14:31:21,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628670, 3551300, 2508478, 3136994], Scale 0
2024-01-28 14:31:21,081 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 3.0, 3.6], powers=[1016.0, 405.0, 780.0], voltages=[239.06, 239.9, 237.71], power_factors=[0.8709, 0.5589999999999999, 0.898], imported=8628670.0, exported=4872875.0, power=2203.0, frequency=50.0)
2024-01-28 14:31:21,085 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:21,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25162], Scale -1
2024-01-28 14:31:21,240 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963078], Scale 0
2024-01-28 14:31:21,260 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [351, 354, 350], Scale -2
2024-01-28 14:31:21,282 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25545], Scale -1
2024-01-28 14:31:21,283 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.5100000000000002, 3.54, 3.5]
2024-01-28 14:31:21,283 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.5100000000000002, 3.54, 3.5], power=-2516.2000000000003, exported=7963078.0, dc_power=-2554.5)
2024-01-28 14:31:21,284 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:21,340 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448670.8711514, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:21,340 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.002908, power1: 0, power2: 0
2024-01-28 14:31:21,341 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:31:21,341 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448681.3399444, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:21,342 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:21,352 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:21,362 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:21,392 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:21,395 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:21,396 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:21,397 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2516.2000000000003, exported=8005074.12, dc_power=None)
2024-01-28 14:31:21,398 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-91, exported=301365.1356676726, dc_power=None)
2024-01-28 14:31:21,398 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2516.2000000000003, exported=8005074.12, dc_power=None)
2024-01-28 14:31:21,399 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-91, exported=301365.1356676726, dc_power=None)
2024-01-28 14:31:21,440 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:21,440 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 3.0, 3.6], powers=[1016.0, 405.0, 780.0], voltages=[239.06, 239.9, 237.71], power_factors=[0.8709, 0.5589999999999999, 0.898], imported=8628670.0, exported=4872875.0, power=2203.0, frequency=50.0)
2024-01-28 14:31:21,499 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:21,500 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:31:21,501 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed8ed78>
2024-01-28 14:31:21,503 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:21,503 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed8ed78>
2024-01-28 14:31:21,633 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:31:21,644 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.1, 31.4]A
2024-01-28 14:31:21,645 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21797.0W
2024-01-28 14:31:21,646 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:31:21,650 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:31:21,651 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:31:21,654 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:31:21.653755
2024-01-28 14:31:21,656 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137027.663015s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:31:21,661 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:31:21.660979
2024-01-28 14:31:21,664 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:31:21.660979
2024-01-28 14:31:21,667 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53869.891816s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:31:21,670 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:31:21.669509
2024-01-28 14:31:21,671 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129246.280802s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:31:21,674 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:31:21.673767
2024-01-28 14:31:21,676 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:31:21.673767
2024-01-28 14:31:21,679 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52572.984618s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:31:21,680 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:31:21,685 - {control.chargepoint.chargepoint:667} - {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-28 14:31:21,686 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:31:21,696 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448671.2654636, power=4804.3, imported=4312074.866670714, exported=0)
2024-01-28 14:31:21,699 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289759, power1: 4804.3, power2: 4810.2
2024-01-28 14:31:21,702 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 13.9294
2024-01-28 14:31:21,705 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 13.9294 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448681.6967797, power=4810.2, imported=4312088.796099742, exported=0)
2024-01-28 14:31:21,709 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:31:21,710 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:31:21,714 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:31:21,732 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.17, 239.4]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed5beb0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:31:21,734 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:31: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-28 14:31:21,738 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1016.0, 405.0, 780.0], currents=[4.9, 3.0, 3.6], voltages=[239.06, 239.9, 237.71], power_factors=[0.87, 0.56, 0.9], unbalanced_load=0, frequency=50.0, daily_exported=11.0, daily_imported=21955.0, imported=8628670.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2203.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21797.0, raw_currents_left=[30.1, 32.1, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:31: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=4810.2, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312088.796099742, disengageable_smarthome_power=0))
2024-01-28 14:31: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-28 14:31:21,743 - {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-28 14:31: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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:31:21,746 - {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-28 14:31:21,747 - {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-28 14:31:21,748 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:21,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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:21,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-28 14:31:21,752 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:31:21,755 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:21,757 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:21,759 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7fb130>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:31:21,759 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:31:21,761 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:31:21,763 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6eda5b50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:31:21,766 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301365.136, fault_state=0, fault_str='Kein Fehler.', power=-91))
2024-01-28 14:31:21,779 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005074.12, fault_state=0, fault_str='Kein Fehler.', power=-2516.2))
2024-01-28 14:31:21,780 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306439.256, power=-2607.2))
2024-01-28 14:31:21,781 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448671, 'time': '14:31:11', 'grid': 2.229, 'house-power': 4.804, 'charging-all': 0.0, 'pv-all': 2.575, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:31:21,786 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:31:21,789 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:31:21,792 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:21,796 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:21,796 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:31:21,798 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:31:21,800 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:31:21,800 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:31:21,802 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:31:21,804 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:31:21,806 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:31:21,808 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:31:21,809 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2303.0W
2024-01-28 14:31:21,811 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2303.0W
2024-01-28 14:31:21,813 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:31:21,815 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:31:21,817 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:31:21,819 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:31:21,825 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:21,870 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:31:25,275 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:25,276 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:30,289 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:30,292 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:31:30,295 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:31:30,372 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:31:30,373 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:30,383 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:30,394 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:31:30,395 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:30,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2194, -1017, -397, -779], Scale 0
2024-01-28 14:31:30,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 30, 36], Scale -1
2024-01-28 14:31:30,464 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:31: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":true, "apower":92.2, "voltage":240.0, "current":0.397, "aenergy":{"total":9424.544,"by_minute":[759.489,1496.668,1493.345],"minute_ts":1706448689},"temperature":{"tC":39.4, "tF":102.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:31","unixtime":1706448691,"uptime":5808085,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:31:30,468 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448680.807015, power=-91, imported=0.0, exported=301365.1356676726)
2024-01-28 14:31:30,469 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026837, power1: -91, power2: -92
2024-01-28 14:31:30,469 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.245559
2024-01-28 14:31:30,470 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.245559 Wh, new state: SimCounterState(timestamp=1706448690.4683464, power=-92, imported=0.0, exported=301365.3812265128)
2024-01-28 14:31:30,471 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-92, exported=301365.3812265128, dc_power=None)
2024-01-28 14:31:30,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23908, 24009, 23779, 0, 0, 0, 0], Scale -2
2024-01-28 14:31:30,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:31:30,571 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8759, 5659, 9049], Scale -2
2024-01-28 14:31:30,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628675, 3551303, 2508479, 3136995], Scale 0
2024-01-28 14:31:30,616 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 3.0, 3.6], powers=[1017.0, 397.0, 779.0], voltages=[239.08, 240.09, 237.79], power_factors=[0.8759, 0.5659000000000001, 0.9048999999999999], imported=8628675.0, exported=4872875.0, power=2194.0, frequency=49.97)
2024-01-28 14:31:30,617 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:30,640 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25330], Scale -1
2024-01-28 14:31:30,661 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963084], Scale 0
2024-01-28 14:31:30,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [356, 356, 354], Scale -2
2024-01-28 14:31:30,699 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25715], Scale -1
2024-01-28 14:31:30,700 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.56, 3.56, 3.54]
2024-01-28 14:31:30,700 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.56, 3.56, 3.54], power=-2533.0, exported=7963084.0, dc_power=-2571.5)
2024-01-28 14:31:30,707 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:30,771 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448681.3399444, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:30,773 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261998, power1: 0, power2: 0
2024-01-28 14:31:30,774 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:31:30,774 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448690.7718875, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:30,776 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:30,783 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:30,784 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:30,828 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:30,830 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:30,831 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2533.0, exported=8005080.12, dc_power=None)
2024-01-28 14:31:30,832 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2533.0, exported=8005080.12, dc_power=None)
2024-01-28 14:31:30,830 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:30,844 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-92, exported=301365.3812265128, dc_power=None)
2024-01-28 14:31:30,846 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-92, exported=301365.3812265128, dc_power=None)
2024-01-28 14:31:30,881 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:30,882 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 3.0, 3.6], powers=[1017.0, 397.0, 779.0], voltages=[239.08, 240.09, 237.79], power_factors=[0.8759, 0.5659000000000001, 0.9048999999999999], imported=8628675.0, exported=4872875.0, power=2194.0, frequency=49.97)
2024-01-28 14:31:30,943 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:30,944 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:31:30,944 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f765aa8>
2024-01-28 14:31:30,953 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:30,959 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f765aa8>
2024-01-28 14:31:31,075 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:31:31,077 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 32.1, 31.4]A
2024-01-28 14:31:31,078 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21806.0W
2024-01-28 14:31:31,079 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:31:31,081 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:31:31,082 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:31:31,085 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:31:31.084426
2024-01-28 14:31:31,086 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137018.232344s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:31:31,088 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:31:31.087868
2024-01-28 14:31:31,089 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:31:31.087868
2024-01-28 14:31:31,092 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53860.464927s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:31:31,094 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:31:31.094354
2024-01-28 14:31:31,096 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129236.855957s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:31:31,098 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:31:31.098098
2024-01-28 14:31:31,099 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:31:31.098098
2024-01-28 14:31:31,100 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52563.560287s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:31:31,101 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:31:31,108 - {control.chargepoint.chargepoint:667} - {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-28 14:31:31,111 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:31:31,131 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448681.6967797, power=4810.2, imported=4312088.796099742, exported=0)
2024-01-28 14:31:31,132 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262077, power1: 4810.2, power2: 4819
2024-01-28 14:31:31,134 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.618
2024-01-28 14:31:31,134 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.618 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448691.1315644, power=4819.0, imported=4312101.414075903, exported=0)
2024-01-28 14:31:31,141 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:31:31,143 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:31:31,145 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:31:31,147 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.11, 239.24]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cf208>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:31:31,148 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:31:31,150 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:31:31,152 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1017.0, 397.0, 779.0], currents=[4.8, 3.0, 3.6], voltages=[239.08, 240.09, 237.79], power_factors=[0.88, 0.57, 0.9], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628675.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2194.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21806.0, raw_currents_left=[30.2, 32.1, 31.4], surplus_power_left=0, state_str=''))
2024-01-28 14:31:31,153 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4819.0, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312101.414075903, disengageable_smarthome_power=0))
2024-01-28 14:31:31,155 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:31:31,156 - {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-28 14:31:31,160 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:31:31,161 - {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-28 14:31:31,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-28 14:31:31,166 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:31,167 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:31,169 - {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-28 14:31:31,171 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:31:31,173 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:31,175 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:31,178 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c6178>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:31:31,179 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:31:31,180 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:31:31,182 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e2088>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:31:31,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=421.0, monthly_exported=0, yearly_exported=0, exported=301365.381, fault_state=0, fault_str='Kein Fehler.', power=-92))
2024-01-28 14:31:31,187 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005080.12, fault_state=0, fault_str='Kein Fehler.', power=-2533.0))
2024-01-28 14:31:31,188 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306445.501, power=-2625.0))
2024-01-28 14:31:31,191 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448681, 'time': '14:31:21', 'grid': 2.203, 'house-power': 4.81, 'charging-all': 0.0, 'pv-all': 2.607, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:31:31,192 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:31:31,193 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:31:31,195 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:31,196 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:31,198 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:31:31,199 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:31:31,200 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:31:31,201 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:31:31,203 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:31:31,205 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:31:31,208 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:31:31,211 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:31:31,218 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2294.0W
2024-01-28 14:31:31,219 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2294.0W
2024-01-28 14:31:31,220 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:31:31,222 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:31:31,223 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:31:31,225 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:31:31,237 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:31,292 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:31:35,655 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:35,656 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:40,667 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:40,668 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:40,669 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:31:40,669 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:31:40,715 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:31:40,715 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:40,717 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:40,724 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:31:40,725 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:40,762 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2186, -1006, -383, -797], Scale 0
2024-01-28 14:31:40,774 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:31:40,782 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":92.9, "voltage":239.8, "current":0.400, "aenergy":{"total":9424.799,"by_minute":[1016.291,1496.668,1493.345],"minute_ts":1706448699},"temperature":{"tC":39.4, "tF":103.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:31","unixtime":1706448701,"uptime":5808095,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:31:40,786 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448690.4683464, power=-92, imported=0.0, exported=301365.3812265128)
2024-01-28 14:31:40,787 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286616, power1: -92, power2: -92
2024-01-28 14:31:40,788 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.263687
2024-01-28 14:31:40,789 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.263687 Wh, new state: SimCounterState(timestamp=1706448700.7865357, power=-92, imported=0.0, exported=301365.6449135748)
2024-01-28 14:31:40,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 29, 35], Scale -1
2024-01-28 14:31:40,793 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-92, exported=301365.6449135748, dc_power=None)
2024-01-28 14:31:40,843 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23880, 23967, 23769, 0, 0, 0, 0], Scale -2
2024-01-28 14:31:40,870 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:31:40,900 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8740, 5500, 9029], Scale -2
2024-01-28 14:31:40,921 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628685, 3551307, 2508481, 3136999], Scale 0
2024-01-28 14:31:40,922 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.5], powers=[1006.0, 383.0, 797.0], voltages=[238.8, 239.67000000000002, 237.69], power_factors=[0.8740000000000001, 0.55, 0.9029], imported=8628685.0, exported=4872875.0, power=2186.0, frequency=49.99)
2024-01-28 14:31:40,923 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:41,002 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25571], Scale -1
2024-01-28 14:31:41,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963092], Scale 0
2024-01-28 14:31:41,049 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [357, 359, 358], Scale -2
2024-01-28 14:31:41,072 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25961], Scale -1
2024-01-28 14:31:41,073 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.5700000000000003, 3.59, 3.58]
2024-01-28 14:31:41,073 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.5700000000000003, 3.59, 3.58], power=-2557.1000000000004, exported=7963092.0, dc_power=-2596.1000000000004)
2024-01-28 14:31:41,075 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:41,110 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448690.7718875, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:41,111 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287194, power1: 0, power2: 0
2024-01-28 14:31:41,112 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:31:41,112 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448701.1108823, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:41,113 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:41,120 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:41,125 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:41,164 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:41,165 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:41,167 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2557.1000000000004, exported=8005088.12, dc_power=None)
2024-01-28 14:31:41,167 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:41,168 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2557.1000000000004, exported=8005088.12, dc_power=None)
2024-01-28 14:31:41,169 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-92, exported=301365.6449135748, dc_power=None)
2024-01-28 14:31:41,171 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-92, exported=301365.6449135748, dc_power=None)
2024-01-28 14:31:41,208 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:41,209 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.5], powers=[1006.0, 383.0, 797.0], voltages=[238.8, 239.67000000000002, 237.69], power_factors=[0.8740000000000001, 0.55, 0.9029], imported=8628685.0, exported=4872875.0, power=2186.0, frequency=49.99)
2024-01-28 14:31:41,282 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:41,283 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:31:41,293 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c22b0>
2024-01-28 14:31:41,301 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:41,307 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c22b0>
2024-01-28 14:31:41,643 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:31:41,645 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 32.2, 31.5]A
2024-01-28 14:31:41,646 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21814.0W
2024-01-28 14:31:41,647 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:31:41,649 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:31:41,650 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:31:41,653 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:31:41.652410
2024-01-28 14:31:41,654 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137007.66436s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:31:41,655 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:31:41.655202
2024-01-28 14:31:41,656 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:31:41.655202
2024-01-28 14:31:41,657 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53849.897593s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:31:41,660 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:31:41.659519
2024-01-28 14:31:41,660 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129226.290792s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:31:41,661 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:31:41.661207
2024-01-28 14:31:41,662 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:31:41.661207
2024-01-28 14:31:41,663 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52552.997178s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:31:41,663 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:31:41,667 - {control.chargepoint.chargepoint:667} - {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-28 14:31:41,669 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:31:41,679 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448691.1315644, power=4819.0, imported=4312101.414075903, exported=0)
2024-01-28 14:31:41,681 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292983, power1: 4819, power2: 4835.1
2024-01-28 14:31:41,683 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.1424
2024-01-28 14:31:41,686 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.1424 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448701.6789615, power=4835.1, imported=4312115.556524055, exported=0)
2024-01-28 14:31:41,690 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:31:41,693 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:31:41,695 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:31:41,698 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.09, 238.13, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6eda0040>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:31:41,700 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:31:41,702 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:31:41,703 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1006.0, 383.0, 797.0], currents=[4.8, 2.9, 3.5], voltages=[238.8, 239.67, 237.69], power_factors=[0.87, 0.55, 0.9], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628685.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2186.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21814.0, raw_currents_left=[30.2, 32.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-28 14:31:41,704 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4835.1, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312115.556524055, disengageable_smarthome_power=0))
2024-01-28 14:31:41,707 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:31:41,710 - {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-28 14:31:41,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:31:41,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-28 14:31:41,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-28 14:31:41,717 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:41,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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:41,720 - {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-28 14:31:41,722 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:31:41,723 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:41,723 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:41,725 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed8bdf0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:31:41,726 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:31:41,727 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:31:41,728 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb8a78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:31:41,729 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301365.645, fault_state=0, fault_str='Kein Fehler.', power=-92))
2024-01-28 14:31:41,730 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005088.12, fault_state=0, fault_str='Kein Fehler.', power=-2557.1))
2024-01-28 14:31:41,731 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306453.765000001, power=-2649.1))
2024-01-28 14:31:41,732 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448691, 'time': '14:31:31', 'grid': 2.194, 'house-power': 4.819, 'charging-all': 0.0, 'pv-all': 2.625, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:31:41,734 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:31:41,735 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:31:41,736 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:41,739 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:41,741 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:31:41,742 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:31:41,743 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:31:41,745 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:31:41,746 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:31:41,749 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:31:41,752 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:31:41,755 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:31:41,756 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2286.0W
2024-01-28 14:31:41,757 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2286.0W
2024-01-28 14:31:41,758 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:31:41,759 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:31:41,760 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:31:41,763 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:31:41,767 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:41,799 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:31:45,086 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:50,099 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:50,100 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:31:50,101 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:31:50,101 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:31:50,149 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:31:50,151 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:50,158 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:31:50,161 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:50,162 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:50,202 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:31:50,205 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":93.9, "voltage":239.8, "current":0.405, "aenergy":{"total":9425.060,"by_minute":[1275.942,1496.668,1493.345],"minute_ts":1706448709},"temperature":{"tC":39.4, "tF":102.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:31","unixtime":1706448710,"uptime":5808104,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:31:50,207 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448700.7865357, power=-92, imported=0.0, exported=301365.6449135748)
2024-01-28 14:31:50,207 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261679, power1: -92, power2: -93
2024-01-28 14:31:50,208 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.242053
2024-01-28 14:31:50,208 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.242053 Wh, new state: SimCounterState(timestamp=1706448710.2069952, power=-93, imported=0.0, exported=301365.8869670483)
2024-01-28 14:31:50,211 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-93, exported=301365.8869670483, dc_power=None)
2024-01-28 14:31:50,240 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2257, -1029, -401, -826], Scale 0
2024-01-28 14:31:50,259 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 28, 37], Scale -1
2024-01-28 14:31:50,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23871, 23941, 23754, 0, 0, 0, 0], Scale -2
2024-01-28 14:31:50,300 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:31:50,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8740, 5529, 9060], Scale -2
2024-01-28 14:31:50,430 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628690, 3551309, 2508482, 3137000], Scale 0
2024-01-28 14:31:50,431 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 2.8000000000000003, 3.7], powers=[1029.0, 401.0, 826.0], voltages=[238.71, 239.41, 237.54], power_factors=[0.8740000000000001, 0.5529, 0.9060000000000001], imported=8628690.0, exported=4872875.0, power=2257.0, frequency=49.99)
2024-01-28 14:31:50,432 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:50,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25547], Scale -1
2024-01-28 14:31:50,469 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963099], Scale 0
2024-01-28 14:31:50,489 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [359, 359, 356], Scale -2
2024-01-28 14:31:50,511 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25936], Scale -1
2024-01-28 14:31:50,512 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.59, 3.59, 3.56]
2024-01-28 14:31:50,512 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.59, 3.59, 3.56], power=-2554.7000000000003, exported=7963099.0, dc_power=-2593.6000000000004)
2024-01-28 14:31:50,514 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:50,600 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448701.1108823, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:50,600 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263591, power1: 0, power2: 0
2024-01-28 14:31:50,601 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:31:50,601 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448710.6001685, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:31:50,602 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:50,605 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:31:50,609 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:31:50,653 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:50,653 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:31:50,654 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:31:50,655 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2554.7000000000003, exported=8005095.12, dc_power=None)
2024-01-28 14:31:50,655 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-93, exported=301365.8869670483, dc_power=None)
2024-01-28 14:31:50,656 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2554.7000000000003, exported=8005095.12, dc_power=None)
2024-01-28 14:31:50,657 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-93, exported=301365.8869670483, dc_power=None)
2024-01-28 14:31:50,699 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:31:50,699 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 2.8000000000000003, 3.7], powers=[1029.0, 401.0, 826.0], voltages=[238.71, 239.41, 237.54], power_factors=[0.8740000000000001, 0.5529, 0.9060000000000001], imported=8628690.0, exported=4872875.0, power=2257.0, frequency=49.99)
2024-01-28 14:31:50,761 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:50,761 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:31:50,762 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f772700>
2024-01-28 14:31:50,772 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:31:50,781 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f772700>
2024-01-28 14:31:50,910 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:31:50,912 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 32.3, 31.3]A
2024-01-28 14:31:50,913 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21743.0W
2024-01-28 14:31:50,914 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:31:50,916 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:31:50,918 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:31:50,920 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:31:50.919963
2024-01-28 14:31:50,921 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136998.396807s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:31:50,923 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:31:50.922581
2024-01-28 14:31:50,930 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:31:50.922581
2024-01-28 14:31:50,931 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53840.630214s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:31:50,932 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:31:50.932485
2024-01-28 14:31:50,934 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129217.017826s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:31:50,938 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:31:50.938235
2024-01-28 14:31:50,941 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:31:50.938235
2024-01-28 14:31:50,948 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52543.72015s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:31:50,950 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:31:50,957 - {control.chargepoint.chargepoint:667} - {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-28 14:31:50,957 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:31:50,963 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448701.6789615, power=4835.1, imported=4312115.556524055, exported=0)
2024-01-28 14:31:50,964 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00257912, power1: 4835.1, power2: 4904.7
2024-01-28 14:31:50,965 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.5601
2024-01-28 14:31:50,965 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.5601 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448710.9638083, power=4904.7, imported=4312128.1166005405, exported=0)
2024-01-28 14:31:50,968 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:31:50,968 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:31:50,969 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:31:50,970 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.84, 237.95, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7413e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:31:50,971 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:31:50,971 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:31:50,972 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1029.0, 401.0, 826.0], currents=[4.7, 2.8, 3.7], voltages=[238.71, 239.41, 237.54], power_factors=[0.87, 0.55, 0.91], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628690.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2257.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21743.0, raw_currents_left=[30.3, 32.3, 31.3], surplus_power_left=0, state_str=''))
2024-01-28 14:31:50,973 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4904.7, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312128.1166005405, disengageable_smarthome_power=0))
2024-01-28 14:31:50,974 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:31:50,974 - {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-28 14:31:50,976 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:31:50,976 - {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-28 14:31:50,977 - {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-28 14:31:50,978 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:50,978 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:31:50,979 - {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-28 14:31:50,979 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:31:50,980 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:50,980 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:31:50,981 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb7058>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:31:50,982 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:31:50,982 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:31:50,983 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d4f10>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:31:50,983 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301365.887, fault_state=0, fault_str='Kein Fehler.', power=-93))
2024-01-28 14:31:50,984 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005095.12, fault_state=0, fault_str='Kein Fehler.', power=-2554.7))
2024-01-28 14:31:50,985 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306461.007, power=-2647.7))
2024-01-28 14:31:50,985 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448701, 'time': '14:31:41', 'grid': 2.186, 'house-power': 4.835, 'charging-all': 0.0, 'pv-all': 2.649, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:31:50,986 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:31:50,986 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:31:50,986 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:50,987 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:31:50,987 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:31:50,988 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:31:50,988 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:31:50,988 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:31:50,989 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:31:50,991 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:31:50,992 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:31:50,996 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:31:51,012 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2357.0W
2024-01-28 14:31:51,014 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2357.0W
2024-01-28 14:31:51,016 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:31:51,018 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:31:51,019 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:31:51,032 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:31:51,041 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:31:51,084 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:31:55,521 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:31:55,522 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:00,533 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:00,537 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:32:00,539 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:32:00,620 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:32:00,623 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:00,624 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:00,631 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:00,648 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:32:00,683 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2215, -1016, -395, -803], Scale 0
2024-01-28 14:32:00,705 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:32:00,707 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":95.0, "voltage":239.9, "current":0.410, "aenergy":{"total":9425.323,"by_minute":[1538.915,1496.668,1493.345],"minute_ts":1706448719},"temperature":{"tC":39.4, "tF":102.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:32","unixtime":1706448721,"uptime":5808115,"ram_size":248948,"ram_free":144512,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:32:00,710 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448710.2069952, power=-93, imported=0.0, exported=301365.8869670483)
2024-01-28 14:32:00,711 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291769, power1: -93, power2: -95
2024-01-28 14:32:00,714 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.274263
2024-01-28 14:32:00,715 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.274263 Wh, new state: SimCounterState(timestamp=1706448720.7106922, power=-95, imported=0.0, exported=301366.1612302456)
2024-01-28 14:32:00,717 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-95, exported=301366.1612302456, dc_power=None)
2024-01-28 14:32:00,723 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 29, 37], Scale -1
2024-01-28 14:32:00,761 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23903, 23965, 23769, 0, 0, 0, 0], Scale -2
2024-01-28 14:32:00,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:32:00,840 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8759, 5519, 9079], Scale -2
2024-01-28 14:32:00,867 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628695, 3551312, 2508483, 3137002], Scale 0
2024-01-28 14:32:00,868 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.7], powers=[1016.0, 395.0, 803.0], voltages=[239.03, 239.65, 237.69], power_factors=[0.8759, 0.5519, 0.9079], imported=8628695.0, exported=4872875.0, power=2215.0, frequency=49.99)
2024-01-28 14:32:00,870 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:00,940 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25406], Scale -1
2024-01-28 14:32:00,971 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963107], Scale 0
2024-01-28 14:32:01,012 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [356, 358, 353], Scale -2
2024-01-28 14:32:01,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25792], Scale -1
2024-01-28 14:32:01,041 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.56, 3.58, 3.5300000000000002]
2024-01-28 14:32:01,042 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.56, 3.58, 3.5300000000000002], power=-2540.6000000000004, exported=7963107.0, dc_power=-2579.2000000000003)
2024-01-28 14:32:01,043 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:01,080 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448710.6001685, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:01,081 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291125, power1: 0, power2: 0
2024-01-28 14:32:01,081 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:32:01,082 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448721.0806515, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:01,083 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:01,087 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:01,089 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:01,129 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:01,131 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:01,132 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2540.6000000000004, exported=8005103.12, dc_power=None)
2024-01-28 14:32:01,133 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:01,133 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2540.6000000000004, exported=8005103.12, dc_power=None)
2024-01-28 14:32:01,135 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-95, exported=301366.1612302456, dc_power=None)
2024-01-28 14:32:01,137 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-95, exported=301366.1612302456, dc_power=None)
2024-01-28 14:32:01,174 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:01,175 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.7], powers=[1016.0, 395.0, 803.0], voltages=[239.03, 239.65, 237.69], power_factors=[0.8759, 0.5519, 0.9079], imported=8628695.0, exported=4872875.0, power=2215.0, frequency=49.99)
2024-01-28 14:32:01,431 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:01,432 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:32:01,433 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cf760>
2024-01-28 14:32:01,438 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:01,444 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cf760>
2024-01-28 14:32:01,563 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:32:01,571 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 32.2, 31.3]A
2024-01-28 14:32:01,572 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21785.0W
2024-01-28 14:32:01,573 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:32:01,581 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:32:01,584 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:32:01,586 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:32:01.585755
2024-01-28 14:32:01,587 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136987.731015s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:32:01,589 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:32:01.589170
2024-01-28 14:32:01,591 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:32:01.589170
2024-01-28 14:32:01,593 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53829.963625s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:32:01,595 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:32:01.595306
2024-01-28 14:32:01,597 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129206.355005s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:32:01,599 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:32:01.599251
2024-01-28 14:32:01,601 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:32:01.599251
2024-01-28 14:32:01,602 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52533.059134s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:32:01,603 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:32:01,623 - {control.chargepoint.chargepoint:667} - {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-28 14:32:01,632 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:32:01,655 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448710.9638083, power=4904.7, imported=4312128.1166005405, exported=0)
2024-01-28 14:32:01,659 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00296981, power1: 4904.7, power2: 4850.6
2024-01-28 14:32:01,660 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.4857
2024-01-28 14:32:01,666 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.4857 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448721.6551366, power=4850.6, imported=4312142.602310935, exported=0)
2024-01-28 14:32:01,683 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:32:01,686 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:32:01,688 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:32:01,691 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.97, 237.99, 239.24]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c05f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:32:01,693 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:32:01,694 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:32:01,697 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1016.0, 395.0, 803.0], currents=[4.8, 2.9, 3.7], voltages=[239.03, 239.65, 237.69], power_factors=[0.88, 0.55, 0.91], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628695.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2215.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21785.0, raw_currents_left=[30.2, 32.2, 31.3], surplus_power_left=0, state_str=''))
2024-01-28 14:32:01,700 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4850.6, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312142.602310935, disengageable_smarthome_power=0))
2024-01-28 14:32:01,703 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:32:01,707 - {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-28 14:32:01,709 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:32:01,710 - {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-28 14:32:01,711 - {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-28 14:32:01,712 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:01,712 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:01,713 - {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-28 14:32:01,713 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:32:01,714 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:01,714 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:01,715 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edae868>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:32:01,715 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:32:01,716 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:32:01,716 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c6e80>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:32:01,717 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301366.161, fault_state=0, fault_str='Kein Fehler.', power=-95))
2024-01-28 14:32:01,717 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005103.12, fault_state=0, fault_str='Kein Fehler.', power=-2540.6))
2024-01-28 14:32:01,718 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306469.281, power=-2635.6))
2024-01-28 14:32:01,718 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448711, 'time': '14:31:51', 'grid': 2.257, 'house-power': 4.905, 'charging-all': 0.0, 'pv-all': 2.648, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:32:01,719 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:32:01,719 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:32:01,720 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:01,720 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:01,721 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:32:01,721 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:32:01,721 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:32:01,722 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:32:01,722 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:32:01,725 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:32:01,726 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:32:01,728 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:32:01,729 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2315.0W
2024-01-28 14:32:01,729 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2315.0W
2024-01-28 14:32:01,730 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:32:01,730 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:32:01,731 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:32:01,743 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:32:01,761 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:01,786 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:32:05,054 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:05,055 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:10,067 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:10,068 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:10,069 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:32:10,070 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:32:10,117 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:32:10,119 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:10,120 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:10,126 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:32:10,129 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:10,169 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:32:10,171 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":96.2, "voltage":240.0, "current":0.416, "aenergy":{"total":9425.587,"by_minute":[265.347,1538.915,1496.668],"minute_ts":1706448729},"temperature":{"tC":39.4, "tF":103.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:32","unixtime":1706448730,"uptime":5808124,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:32:10,172 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448720.7106922, power=-95, imported=0.0, exported=301366.1612302456)
2024-01-28 14:32:10,173 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262838, power1: -95, power2: -96
2024-01-28 14:32:10,174 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.251011
2024-01-28 14:32:10,174 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.251011 Wh, new state: SimCounterState(timestamp=1706448730.1728723, power=-96, imported=0.0, exported=301366.4122408576)
2024-01-28 14:32:10,176 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301366.4122408576, dc_power=None)
2024-01-28 14:32:10,211 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2299, -1047, -426, -824], Scale 0
2024-01-28 14:32:10,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 29, 37], Scale -1
2024-01-28 14:32:10,270 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23871, 23976, 23735, 0, 0, 0, 0], Scale -2
2024-01-28 14:32:10,288 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:32:10,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8759, 5709, 9079], Scale -2
2024-01-28 14:32:10,451 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628700, 3551314, 2508483, 3137004], Scale 0
2024-01-28 14:32:10,452 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.7], powers=[1047.0, 426.0, 824.0], voltages=[238.71, 239.76, 237.35], power_factors=[0.8759, 0.5709000000000001, 0.9079], imported=8628700.0, exported=4872875.0, power=2299.0, frequency=49.99)
2024-01-28 14:32:10,454 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:10,470 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24793], Scale -1
2024-01-28 14:32:10,490 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963113], Scale 0
2024-01-28 14:32:10,551 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [352, 354, 350], Scale -2
2024-01-28 14:32:10,609 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25490], Scale -1
2024-01-28 14:32:10,609 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.52, 3.54, 3.5]
2024-01-28 14:32:10,610 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.52, 3.54, 3.5], power=-2479.3, exported=7963113.0, dc_power=-2549.0)
2024-01-28 14:32:10,611 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:10,650 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448721.0806515, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:10,651 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265831, power1: 0, power2: 0
2024-01-28 14:32:10,651 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:32:10,652 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448730.650571, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:10,653 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:10,656 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:10,657 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:10,704 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:10,705 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:10,707 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2479.3, exported=8005109.12, dc_power=None)
2024-01-28 14:32:10,708 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2479.3, exported=8005109.12, dc_power=None)
2024-01-28 14:32:10,708 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:10,714 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301366.4122408576, dc_power=None)
2024-01-28 14:32:10,716 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301366.4122408576, dc_power=None)
2024-01-28 14:32:10,759 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:10,762 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 2.9000000000000004, 3.7], powers=[1047.0, 426.0, 824.0], voltages=[238.71, 239.76, 237.35], power_factors=[0.8759, 0.5709000000000001, 0.9079], imported=8628700.0, exported=4872875.0, power=2299.0, frequency=49.99)
2024-01-28 14:32:10,836 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:10,837 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:32:10,838 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed8b328>
2024-01-28 14:32:10,843 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:10,843 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed8b328>
2024-01-28 14:32:10,999 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:32:11,002 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 32.2, 31.3]A
2024-01-28 14:32:11,003 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21701.0W
2024-01-28 14:32:11,005 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:32:11,006 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:32:11,007 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:32:11,009 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:32:11.008795
2024-01-28 14:32:11,010 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136978.307975s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:32:11,013 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:32:11.012632
2024-01-28 14:32:11,014 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:32:11.012632
2024-01-28 14:32:11,015 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53820.540163s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:32:11,018 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:32:11.018301
2024-01-28 14:32:11,019 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129196.93201s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:32:11,021 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:32:11.020959
2024-01-28 14:32:11,022 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:32:11.020959
2024-01-28 14:32:11,023 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52523.637426s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:32:11,026 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:32:11,030 - {control.chargepoint.chargepoint:667} - {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-28 14:32:11,031 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:32:11,053 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448721.6551366, power=4850.6, imported=4312142.602310935, exported=0)
2024-01-28 14:32:11,054 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026105, power1: 4850.6, power2: 4874.3
2024-01-28 14:32:11,055 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.6934
2024-01-28 14:32:11,057 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.6934 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448731.0529487, power=4874.3, imported=4312155.295753041, exported=0)
2024-01-28 14:32:11,066 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:32:11,069 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:32:11,071 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:32:11,075 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.2, 237.84, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7014fd48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:32:11,076 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:32:11,077 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:32:11,078 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1047.0, 426.0, 824.0], currents=[4.8, 2.9, 3.7], voltages=[238.71, 239.76, 237.35], power_factors=[0.88, 0.57, 0.91], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628700.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2299.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21701.0, raw_currents_left=[30.2, 32.2, 31.3], surplus_power_left=0, state_str=''))
2024-01-28 14:32:11,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=4874.3, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312155.295753041, disengageable_smarthome_power=0))
2024-01-28 14:32:11,082 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:32:11,084 - {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-28 14:32:11,086 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:32:11,088 - {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-28 14:32:11,089 - {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-28 14:32:11,091 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:11,093 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:11,097 - {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-28 14:32:11,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-28 14:32:11,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-28 14:32:11,101 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:11,103 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x70174118>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:32:11,104 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:32:11,106 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:32:11,109 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb2610>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:32:11,110 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301366.412, fault_state=0, fault_str='Kein Fehler.', power=-96))
2024-01-28 14:32:11,111 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005109.12, fault_state=0, fault_str='Kein Fehler.', power=-2479.3))
2024-01-28 14:32:11,113 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306475.532, power=-2575.3))
2024-01-28 14:32:11,114 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448721, 'time': '14:32:01', 'grid': 2.215, 'house-power': 4.851, 'charging-all': 0.0, 'pv-all': 2.636, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:32:11,118 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:32:11,120 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:32:11,122 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:11,124 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:11,126 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:32:11,126 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:32:11,127 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:32:11,128 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:32:11,130 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:32:11,132 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:32:11,134 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:32:11,137 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:32:11,138 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2399.0W
2024-01-28 14:32:11,144 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2399.0W
2024-01-28 14:32:11,151 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:32:11,152 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:32:11,153 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:32:11,158 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:32:11,163 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:11,212 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:32:15,609 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:20,622 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:20,623 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:20,623 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:32:20,623 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:32:20,669 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:32:20,671 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:20,678 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:32:20,679 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:20,681 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:20,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2344, -1062, -439, -842], Scale 0
2024-01-28 14:32:20,722 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:32:20,724 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":97.5, "voltage":240.0, "current":0.422, "aenergy":{"total":9425.857,"by_minute":[534.491,1538.915,1496.668],"minute_ts":1706448739},"temperature":{"tC":39.4, "tF":102.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:32","unixtime":1706448741,"uptime":5808135,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:32:20,726 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448730.1728723, power=-96, imported=0.0, exported=301366.4122408576)
2024-01-28 14:32:20,727 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293167, power1: -96, power2: -97
2024-01-28 14:32:20,728 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.282906
2024-01-28 14:32:20,728 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.282906 Wh, new state: SimCounterState(timestamp=1706448740.7268772, power=-97, imported=0.0, exported=301366.6951468225)
2024-01-28 14:32:20,729 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-97, exported=301366.6951468225, dc_power=None)
2024-01-28 14:32:20,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [50, 31, 38], Scale -1
2024-01-28 14:32:20,759 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23866, 23979, 23729, 0, 0, 0, 0], Scale -2
2024-01-28 14:32:20,840 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:32:20,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8750, 5770, 9020], Scale -2
2024-01-28 14:32:20,912 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628709, 3551318, 2508485, 3137008], Scale 0
2024-01-28 14:32:20,912 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.0, 3.1, 3.8000000000000003], powers=[1062.0, 439.0, 842.0], voltages=[238.66, 239.79, 237.29], power_factors=[0.875, 0.5770000000000001, 0.902], imported=8628709.0, exported=4872875.0, power=2344.0, frequency=50.0)
2024-01-28 14:32:20,914 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:20,930 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24691], Scale -1
2024-01-28 14:32:20,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963121], Scale 0
2024-01-28 14:32:21,001 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [344, 348, 346], Scale -2
2024-01-28 14:32:21,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [25067], Scale -1
2024-01-28 14:32:21,067 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.44, 3.48, 3.46]
2024-01-28 14:32:21,068 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.44, 3.48, 3.46], power=-2469.1000000000004, exported=7963121.0, dc_power=-2506.7000000000003)
2024-01-28 14:32:21,069 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:21,114 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448730.650571, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:21,115 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290656, power1: 0, power2: 0
2024-01-28 14:32:21,115 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:32:21,117 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448741.1141856, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:21,119 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:21,128 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:21,134 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:21,218 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:21,219 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:21,221 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:21,221 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2469.1000000000004, exported=8005117.12, dc_power=None)
2024-01-28 14:32:21,222 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-97, exported=301366.6951468225, dc_power=None)
2024-01-28 14:32:21,222 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2469.1000000000004, exported=8005117.12, dc_power=None)
2024-01-28 14:32:21,223 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-97, exported=301366.6951468225, dc_power=None)
2024-01-28 14:32:21,266 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:21,267 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.0, 3.1, 3.8000000000000003], powers=[1062.0, 439.0, 842.0], voltages=[238.66, 239.79, 237.29], power_factors=[0.875, 0.5770000000000001, 0.902], imported=8628709.0, exported=4872875.0, power=2344.0, frequency=50.0)
2024-01-28 14:32:21,332 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:21,333 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:32:21,334 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70173eb0>
2024-01-28 14:32:21,338 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:21,340 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70173eb0>
2024-01-28 14:32:21,465 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:32:21,467 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.0, 32.0, 31.2]A
2024-01-28 14:32:21,468 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21656.0W
2024-01-28 14:32:21,469 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:32:21,480 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:32:21,482 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:32:21,483 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:32:21.483041
2024-01-28 14:32:21,484 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136967.833729s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:32:21,485 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:32:21.485175
2024-01-28 14:32:21,488 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:32:21.485175
2024-01-28 14:32:21,491 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53810.06762s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:32:21,493 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:32:21.492471
2024-01-28 14:32:21,494 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129186.45784s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:32:21,496 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:32:21.496005
2024-01-28 14:32:21,498 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:32:21.496005
2024-01-28 14:32:21,499 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52513.16238s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:32:21,501 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:32:21,523 - {control.chargepoint.chargepoint:667} - {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-28 14:32:21,528 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:32:21,545 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448731.0529487, power=4874.3, imported=4312155.295753041, exported=0)
2024-01-28 14:32:21,546 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291452, power1: 4874.3, power2: 4910.1
2024-01-28 14:32:21,552 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.2584
2024-01-28 14:32:21,558 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.2584 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448741.5452101, power=4910.1, imported=4312169.554153394, exported=0)
2024-01-28 14:32:21,561 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:32:21,567 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:32:21,570 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:32:21,572 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.8, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fb0e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:32:21,573 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:32:21,578 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:32:21,580 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1062.0, 439.0, 842.0], currents=[5.0, 3.1, 3.8], voltages=[238.66, 239.79, 237.29], power_factors=[0.88, 0.58, 0.9], unbalanced_load=0, frequency=50.0, daily_exported=11.0, daily_imported=21955.0, imported=8628709.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2344.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21656.0, raw_currents_left=[30.0, 32.0, 31.2], surplus_power_left=0, state_str=''))
2024-01-28 14:32:21,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=4910.1, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312169.554153394, disengageable_smarthome_power=0))
2024-01-28 14:32:21,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-28 14:32:21,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-28 14:32:21,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:32:21,585 - {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-28 14:32:21,587 - {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-28 14:32:21,588 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:21,589 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:21,590 - {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-28 14:32:21,591 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:32:21,594 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:21,595 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:21,602 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6520>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:32:21,604 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:32:21,605 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:32:21,606 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb5ef8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:32:21,607 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301366.695, fault_state=0, fault_str='Kein Fehler.', power=-97))
2024-01-28 14:32:21,608 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005117.12, fault_state=0, fault_str='Kein Fehler.', power=-2469.1))
2024-01-28 14:32:21,609 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306483.815, power=-2566.1))
2024-01-28 14:32:21,610 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448731, 'time': '14:32:11', 'grid': 2.299, 'house-power': 4.874, 'charging-all': 0.0, 'pv-all': 2.575, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:32:21,610 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:32:21,611 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:32:21,612 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:21,613 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:21,613 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:32:21,614 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:32:21,614 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:32:21,614 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:32:21,615 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:32:21,617 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:32:21,619 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:32:21,621 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:32:21,621 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2444.0W
2024-01-28 14:32:21,622 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2444.0W
2024-01-28 14:32:21,622 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:32:21,623 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:32:21,623 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:32:21,629 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:32:21,652 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:21,671 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:32:25,963 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:25,964 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:30,978 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:30,985 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:32:30,986 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:32:31,104 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:32:31,117 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:31,124 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:31,135 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:32:31,156 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:31,198 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2387, -1075, -454, -857], Scale 0
2024-01-28 14:32:31,202 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:32:31,205 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":99.1, "voltage":240.2, "current":0.430, "aenergy":{"total":9426.158,"by_minute":[834.964,1538.915,1496.668],"minute_ts":1706448750},"temperature":{"tC":39.5, "tF":103.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:32","unixtime":1706448751,"uptime":5808145,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-72},"ws":{"connected":false}}

2024-01-28 14:32:31,207 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448740.7268772, power=-97, imported=0.0, exported=301366.6951468225)
2024-01-28 14:32:31,209 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029113, power1: -97, power2: -99
2024-01-28 14:32:31,209 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.285308
2024-01-28 14:32:31,210 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.285308 Wh, new state: SimCounterState(timestamp=1706448751.2075675, power=-99, imported=0.0, exported=301366.9804545013)
2024-01-28 14:32:31,213 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-99, exported=301366.9804545013, dc_power=None)
2024-01-28 14:32:31,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [49, 30, 38], Scale -1
2024-01-28 14:32:31,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23883, 23996, 23731, 0, 0, 0, 0], Scale -2
2024-01-28 14:32:31,271 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:32:31,328 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8790, 5789, 9049], Scale -2
2024-01-28 14:32:31,367 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628715, 3551321, 2508486, 3137009], Scale 0
2024-01-28 14:32:31,368 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.9, 3.0, 3.8000000000000003], powers=[1075.0, 454.0, 857.0], voltages=[238.83, 239.96, 237.31], power_factors=[0.879, 0.5789, 0.9048999999999999], imported=8628715.0, exported=4872875.0, power=2387.0, frequency=49.99)
2024-01-28 14:32:31,370 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:31,401 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23970], Scale -1
2024-01-28 14:32:31,481 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963129], Scale 0
2024-01-28 14:32:31,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [336, 337, 335], Scale -2
2024-01-28 14:32:31,522 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24335], Scale -1
2024-01-28 14:32:31,523 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.36, 3.37, 3.35]
2024-01-28 14:32:31,523 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.36, 3.37, 3.35], power=-2397.0, exported=7963129.0, dc_power=-2433.5)
2024-01-28 14:32:31,525 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:31,570 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448741.1141856, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:31,571 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290446, power1: 0, power2: 0
2024-01-28 14:32:31,571 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:32:31,571 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448751.5702536, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:31,572 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:31,584 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:31,586 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:31,627 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:31,628 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:31,628 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:31,629 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2397.0, exported=8005125.12, dc_power=None)
2024-01-28 14:32:31,630 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-99, exported=301366.9804545013, dc_power=None)
2024-01-28 14:32:31,630 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2397.0, exported=8005125.12, dc_power=None)
2024-01-28 14:32:31,631 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-99, exported=301366.9804545013, dc_power=None)
2024-01-28 14:32:31,674 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:31,675 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.9, 3.0, 3.8000000000000003], powers=[1075.0, 454.0, 857.0], voltages=[238.83, 239.96, 237.31], power_factors=[0.879, 0.5789, 0.9048999999999999], imported=8628715.0, exported=4872875.0, power=2387.0, frequency=49.99)
2024-01-28 14:32:31,737 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:31,738 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:32:31,739 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c6da8>
2024-01-28 14:32:31,744 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:31,745 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c6da8>
2024-01-28 14:32:31,893 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:32:31,901 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.1, 32.1, 31.2]A
2024-01-28 14:32:31,902 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21613.0W
2024-01-28 14:32:31,903 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:32:31,913 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:32:31,915 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:32:31,918 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:32:31.917313
2024-01-28 14:32:31,919 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136957.399457s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:32:31,925 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:32:31.924535
2024-01-28 14:32:31,928 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:32:31.924535
2024-01-28 14:32:31,929 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53799.62826s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:32:31,931 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:32:31.931028
2024-01-28 14:32:31,933 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129176.019283s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:32:31,934 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:32:31.934296
2024-01-28 14:32:31,938 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:32:31.934296
2024-01-28 14:32:31,940 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52502.724089s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:32:31,941 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:32:31,960 - {control.chargepoint.chargepoint:667} - {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-28 14:32:31,961 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:32:31,985 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448741.5452101, power=4910.1, imported=4312169.554153394, exported=0)
2024-01-28 14:32:31,988 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0029002, power1: 4910.1, power2: 4883
2024-01-28 14:32:31,989 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.201
2024-01-28 14:32:31,991 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.201 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448751.9859185, power=4883.0, imported=4312183.755111924, exported=0)
2024-01-28 14:32:32,001 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:32:32,003 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:32:32,005 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:32:32,015 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.78, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c2f40>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:32:32,016 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:32:32,017 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:32:32,018 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1075.0, 454.0, 857.0], currents=[4.9, 3.0, 3.8], voltages=[238.83, 239.96, 237.31], power_factors=[0.88, 0.58, 0.9], unbalanced_load=0, frequency=49.99, daily_exported=11.0, daily_imported=21955.0, imported=8628715.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2387.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21613.0, raw_currents_left=[30.1, 32.1, 31.2], surplus_power_left=0, state_str=''))
2024-01-28 14:32:32,020 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4883.0, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312183.755111924, disengageable_smarthome_power=0))
2024-01-28 14:32:32,021 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:32:32,024 - {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-28 14:32:32,027 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:32:32,030 - {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-28 14:32:32,031 - {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-28 14:32:32,033 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:32,036 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:32,037 - {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-28 14:32:32,039 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:32:32,040 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:32,041 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:32,042 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed92910>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:32:32,043 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:32:32,044 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:32: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 0x6f7cb220>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:32: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=421.0, monthly_exported=0, yearly_exported=0, exported=301366.98, fault_state=0, fault_str='Kein Fehler.', power=-99))
2024-01-28 14:32:32,047 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005125.12, fault_state=0, fault_str='Kein Fehler.', power=-2397.0))
2024-01-28 14:32:32,048 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306492.1, power=-2496.0))
2024-01-28 14:32:32,048 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448741, 'time': '14:32:21', 'grid': 2.344, 'house-power': 4.91, 'charging-all': 0.0, 'pv-all': 2.566, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:32:32,049 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:32:32,049 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:32:32,050 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:32,050 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:32,050 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:32:32,051 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:32:32,051 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:32:32,052 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:32:32,052 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:32:32,054 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:32:32,056 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:32:32,058 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:32:32,058 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2487.0W
2024-01-28 14:32:32,059 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2487.0W
2024-01-28 14:32:32,059 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:32:32,060 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:32:32,060 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:32:32,065 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:32:32,088 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:32,107 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:32:35,373 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:35,374 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:40,386 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:40,387 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:40,387 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:32:40,388 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:32:40,437 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:32:40,439 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:40,440 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:40,447 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:32:40,451 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:40,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2408, -1083, -454, -870], Scale 0
2024-01-28 14:32:40,491 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:32:40,495 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":100.2, "voltage":240.2, "current":0.435, "aenergy":{"total":9426.408,"by_minute":[1084.646,1538.915,1496.668],"minute_ts":1706448759},"temperature":{"tC":39.5, "tF":103.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:32","unixtime":1706448761,"uptime":5808155,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:32:40,497 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448751.2075675, power=-99, imported=0.0, exported=301366.9804545013)
2024-01-28 14:32:40,499 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00258061, power1: -99, power2: -100
2024-01-28 14:32:40,499 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.25677
2024-01-28 14:32:40,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [51, 31, 39], Scale -1
2024-01-28 14:32:40,501 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.25677 Wh, new state: SimCounterState(timestamp=1706448760.497754, power=-100, imported=0.0, exported=301367.2372249377)
2024-01-28 14:32:40,503 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-100, exported=301367.2372249377, dc_power=None)
2024-01-28 14:32:40,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23894, 23990, 23736, 0, 0, 0, 0], Scale -2
2024-01-28 14:32:40,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:32:40,612 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8840, 6119, 9179], Scale -2
2024-01-28 14:32:40,640 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628717, 3551323, 2508487, 3137011], Scale 0
2024-01-28 14:32:40,641 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.1000000000000005, 3.1, 3.9000000000000004], powers=[1083.0, 454.0, 870.0], voltages=[238.94, 239.9, 237.36], power_factors=[0.884, 0.6119, 0.9179], imported=8628717.0, exported=4872875.0, power=2408.0, frequency=49.97)
2024-01-28 14:32:40,646 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:40,691 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23905], Scale -1
2024-01-28 14:32:40,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963135], Scale 0
2024-01-28 14:32:40,751 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [335, 336, 335], Scale -2
2024-01-28 14:32:40,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24269], Scale -1
2024-01-28 14:32:40,772 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.35, 3.36, 3.35]
2024-01-28 14:32:40,772 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.35, 3.36, 3.35], power=-2390.5, exported=7963135.0, dc_power=-2426.9)
2024-01-28 14:32:40,776 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:40,820 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448751.5702536, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:40,821 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00256953, power1: 0, power2: 0
2024-01-28 14:32:40,821 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:32:40,822 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448760.8205545, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:40,823 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:40,835 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:40,838 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:40,877 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:40,879 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:40,880 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:40,880 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2390.5, exported=8005131.12, dc_power=None)
2024-01-28 14:32:40,881 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-100, exported=301367.2372249377, dc_power=None)
2024-01-28 14:32:40,882 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2390.5, exported=8005131.12, dc_power=None)
2024-01-28 14:32:40,882 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-100, exported=301367.2372249377, dc_power=None)
2024-01-28 14:32:40,918 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:40,919 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.1000000000000005, 3.1, 3.9000000000000004], powers=[1083.0, 454.0, 870.0], voltages=[238.94, 239.9, 237.36], power_factors=[0.884, 0.6119, 0.9179], imported=8628717.0, exported=4872875.0, power=2408.0, frequency=49.97)
2024-01-28 14:32:41,162 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:41,166 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:32:41,168 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e3c70>
2024-01-28 14:32:41,175 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:41,176 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e3c70>
2024-01-28 14:32:41,339 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:32:41,342 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [29.9, 32.0, 31.1]A
2024-01-28 14:32:41,343 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21592.0W
2024-01-28 14:32:41,344 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:32:41,346 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:32:41,348 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:32:41,351 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:32:41.350188
2024-01-28 14:32:41,352 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136947.966582s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:32:41,353 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:32:41.353380
2024-01-28 14:32:41,358 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:32:41.353380
2024-01-28 14:32:41,362 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53790.199415s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:32:41,364 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:32:41.363584
2024-01-28 14:32:41,368 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129166.586727s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:32:41,369 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:32:41.369256
2024-01-28 14:32:41,371 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:32:41.369256
2024-01-28 14:32:41,373 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52493.289129s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:32:41,376 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:32:41,394 - {control.chargepoint.chargepoint:667} - {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-28 14:32:41,395 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:32:41,425 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448751.9859185, power=4883.0, imported=4312183.755111924, exported=0)
2024-01-28 14:32:41,428 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026222, power1: 4883, power2: 4898.5
2024-01-28 14:32:41,430 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.8245
2024-01-28 14:32:41,431 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.8245 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448761.4258356, power=4898.5, imported=4312196.5796326175, exported=0)
2024-01-28 14:32:41,444 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:32:41,445 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:32:41,446 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:32:41,448 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.39, 238.03, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70164400>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:32:41,451 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:32:41,453 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:32:41,454 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1083.0, 454.0, 870.0], currents=[5.1, 3.1, 3.9], voltages=[238.94, 239.9, 237.36], power_factors=[0.88, 0.61, 0.92], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628717.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2408.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21592.0, raw_currents_left=[29.9, 32.0, 31.1], surplus_power_left=0, state_str=''))
2024-01-28 14:32:41,457 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4898.5, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312196.5796326175, disengageable_smarthome_power=0))
2024-01-28 14:32:41,460 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:32:41,462 - {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-28 14:32:41,464 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:32: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-28 14:32:41,468 - {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-28 14:32:41,471 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:41,474 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:41,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-28 14:32:41,483 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:32:41,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-28 14:32:41,485 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:41,486 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edba460>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:32:41,487 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:32:41,488 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:32:41,490 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8bee0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:32:41,491 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301367.237, fault_state=0, fault_str='Kein Fehler.', power=-100))
2024-01-28 14:32:41,491 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005131.12, fault_state=0, fault_str='Kein Fehler.', power=-2390.5))
2024-01-28 14:32:41,494 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306498.357, power=-2490.5))
2024-01-28 14:32:41,500 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448752, 'time': '14:32:32', 'grid': 2.387, 'house-power': 4.883, 'charging-all': 0.0, 'pv-all': 2.496, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:32:41,502 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:32:41,504 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:32:41,504 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:41,505 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:41,506 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:32:41,507 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:32:41,507 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:32:41,507 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:32:41,508 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:32:41,510 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:32:41,512 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:32:41,514 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:32:41,514 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2508.0W
2024-01-28 14:32:41,515 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2508.0W
2024-01-28 14:32:41,515 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:32:41,516 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:32:41,516 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:32:41,518 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:32:41,520 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:41,562 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:32:45,855 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:50,876 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:50,879 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:32:50,880 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:32:50,881 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:32:50,945 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:32:50,954 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:50,958 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:50,975 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:32:50,978 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:51,036 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2520, -1107, -500, -911], Scale 0
2024-01-28 14:32:51,038 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:32:51,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":true, "apower":101.9, "voltage":240.1, "current":0.443, "aenergy":{"total":9426.719,"by_minute":[1393.189,1538.915,1496.668],"minute_ts":1706448770},"temperature":{"tC":39.5, "tF":103.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:32","unixtime":1706448771,"uptime":5808165,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:32:51,046 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448760.497754, power=-100, imported=0.0, exported=301367.2372249377)
2024-01-28 14:32:51,049 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293016, power1: -100, power2: -101
2024-01-28 14:32:51,050 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.294481
2024-01-28 14:32:51,052 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.294481 Wh, new state: SimCounterState(timestamp=1706448771.046315, power=-101, imported=0.0, exported=301367.53170559497)
2024-01-28 14:32:51,054 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-101, exported=301367.53170559497, dc_power=None)
2024-01-28 14:32:51,060 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [51, 31, 41], Scale -1
2024-01-28 14:32:51,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23871, 23965, 23731, 0, 0, 0, 0], Scale -2
2024-01-28 14:32:51,153 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:32:51,184 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8930, 6589, 9210], Scale -2
2024-01-28 14:32:51,212 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628729, 3551327, 2508489, 3137014], Scale 0
2024-01-28 14:32:51,213 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.1000000000000005, 3.1, 4.1000000000000005], powers=[1107.0, 500.0, 911.0], voltages=[238.71, 239.65, 237.31], power_factors=[0.893, 0.6589, 0.921], imported=8628729.0, exported=4872875.0, power=2520.0, frequency=49.95)
2024-01-28 14:32:51,215 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:51,230 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23589], Scale -1
2024-01-28 14:32:51,272 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963142], Scale 0
2024-01-28 14:32:51,300 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [331, 333, 331], Scale -2
2024-01-28 14:32:51,319 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24029], Scale -1
2024-01-28 14:32:51,320 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.31, 3.33, 3.31]
2024-01-28 14:32:51,320 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.31, 3.33, 3.31], power=-2358.9, exported=7963142.0, dc_power=-2402.9)
2024-01-28 14:32:51,321 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:51,403 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448760.8205545, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:51,404 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293961, power1: 0, power2: 0
2024-01-28 14:32:51,404 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:32:51,404 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448771.4031358, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:32:51,406 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:51,409 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:32:51,411 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:32:51,456 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:51,457 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:32:51,458 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:32:51,459 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2358.9, exported=8005138.12, dc_power=None)
2024-01-28 14:32:51,460 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-101, exported=301367.53170559497, dc_power=None)
2024-01-28 14:32:51,460 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2358.9, exported=8005138.12, dc_power=None)
2024-01-28 14:32:51,461 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-101, exported=301367.53170559497, dc_power=None)
2024-01-28 14:32:51,501 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:32:51,503 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.1000000000000005, 3.1, 4.1000000000000005], powers=[1107.0, 500.0, 911.0], voltages=[238.71, 239.65, 237.31], power_factors=[0.893, 0.6589, 0.921], imported=8628729.0, exported=4872875.0, power=2520.0, frequency=49.95)
2024-01-28 14:32:51,562 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:51,563 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:32:51,564 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed8afd0>
2024-01-28 14:32:51,565 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:32:51,566 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed8afd0>
2024-01-28 14:32:51,693 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:32:51,699 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [29.9, 32.0, 30.9]A
2024-01-28 14:32:51,708 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21480.0W
2024-01-28 14:32:51,709 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:32:51,713 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:32:51,716 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:32:51,721 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:32:51.720826
2024-01-28 14:32:51,722 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136937.595944s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:32:51,723 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:32:51.723445
2024-01-28 14:32:51,724 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:32:51.723445
2024-01-28 14:32:51,726 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53779.82935s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:32:51,727 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:32:51.727436
2024-01-28 14:32:51,731 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129156.222875s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:32:51,734 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:32:51.733827
2024-01-28 14:32:51,735 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:32:51.733827
2024-01-28 14:32:51,738 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52482.924558s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:32:51,741 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:32:51,750 - {control.chargepoint.chargepoint:667} - {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-28 14:32:51,751 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:32:51,790 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448761.4258356, power=4898.5, imported=4312196.5796326175, exported=0)
2024-01-28 14:32:51,796 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287901, power1: 4898.5, power2: 4979.9
2024-01-28 14:32:51,800 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.22
2024-01-28 14:32:51,802 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.22 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448771.790264, power=4979.9, imported=4312210.7996282205, exported=0)
2024-01-28 14:32:51,809 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:32:51,811 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:32:51,815 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:32:51,818 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.0, 239.31]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cf910>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:32:51,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-28 14:32:51,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-28 14:32:51,825 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1107.0, 500.0, 911.0], currents=[5.1, 3.1, 4.1], voltages=[238.71, 239.65, 237.31], power_factors=[0.89, 0.66, 0.92], unbalanced_load=0, frequency=49.95, daily_exported=11.0, daily_imported=21955.0, imported=8628729.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2520.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21480.0, raw_currents_left=[29.9, 32.0, 30.9], surplus_power_left=0, state_str=''))
2024-01-28 14:32:51,827 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4979.9, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312210.7996282205, disengageable_smarthome_power=0))
2024-01-28 14:32:51,829 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:32:51,831 - {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-28 14:32:51,835 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:32: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-28 14:32:51,843 - {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-28 14:32:51,847 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:51,849 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:32:51,852 - {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-28 14:32:51,856 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:32:51,857 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:51,857 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:32:51,859 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb3fb8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:32:51,860 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:32:51,862 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:32:51,866 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb5460>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:32:51,867 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301367.532, fault_state=0, fault_str='Kein Fehler.', power=-101))
2024-01-28 14:32:51,868 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005138.12, fault_state=0, fault_str='Kein Fehler.', power=-2358.9))
2024-01-28 14:32:51,869 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306505.652, power=-2459.9))
2024-01-28 14:32:51,870 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448761, 'time': '14:32:41', 'grid': 2.408, 'house-power': 4.899, 'charging-all': 0.0, 'pv-all': 2.49, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:32:51,871 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:32:51,872 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:32:51,873 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:51,874 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:32:51,875 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:32:51,875 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:32:51,876 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:32:51,876 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:32:51,877 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:32:51,879 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:32:51,881 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:32:51,885 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:32:51,886 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2620.0W
2024-01-28 14:32:51,887 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2620.0W
2024-01-28 14:32:51,887 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:32:51,888 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:32:51,889 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:32:51,895 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:32:51,913 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:32:51,940 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:32:55,205 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:32:55,206 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:00,218 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:00,221 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:33:00,222 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:33:00,310 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:33:00,312 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:00,321 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:00,323 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:33:00,328 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:00,371 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2510, -1104, -498, -907], Scale 0
2024-01-28 14:33:00,375 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:33:00,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":true, "apower":102.7, "voltage":240.1, "current":0.443, "aenergy":{"total":9426.975,"by_minute":[1649.042,1538.915,1496.668],"minute_ts":1706448779},"temperature":{"tC":39.4, "tF":103.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:33","unixtime":1706448780,"uptime":5808175,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:33:00,381 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448771.046315, power=-101, imported=0.0, exported=301367.53170559497)
2024-01-28 14:33:00,381 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00259296, power1: -101, power2: -102
2024-01-28 14:33:00,382 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.263185
2024-01-28 14:33:00,382 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.263185 Wh, new state: SimCounterState(timestamp=1706448780.3809676, power=-102, imported=0.0, exported=301367.7948909409)
2024-01-28 14:33:00,383 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301367.7948909409, dc_power=None)
2024-01-28 14:33:00,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [51, 31, 41], Scale -1
2024-01-28 14:33:00,445 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23888, 23974, 23743, 0, 0, 0, 0], Scale -2
2024-01-28 14:33:00,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:33:00,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8849, 6449, 9120], Scale -2
2024-01-28 14:33:00,580 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628734, 3551329, 2508490, 3137016], Scale 0
2024-01-28 14:33:00,581 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.1000000000000005, 3.1, 4.1000000000000005], powers=[1104.0, 498.0, 907.0], voltages=[238.88, 239.74, 237.43], power_factors=[0.8848999999999999, 0.6448999999999999, 0.912], imported=8628734.0, exported=4872875.0, power=2510.0, frequency=49.97)
2024-01-28 14:33:00,585 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:00,620 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23476], Scale -1
2024-01-28 14:33:00,651 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963148], Scale 0
2024-01-28 14:33:00,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [329, 331, 327], Scale -2
2024-01-28 14:33:00,699 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23833], Scale -1
2024-01-28 14:33:00,699 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.29, 3.31, 3.27]
2024-01-28 14:33:00,700 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.29, 3.31, 3.27], power=-2347.6, exported=7963148.0, dc_power=-2383.3)
2024-01-28 14:33:00,703 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:00,781 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448771.4031358, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:00,782 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260521, power1: 0, power2: 0
2024-01-28 14:33:00,783 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:33:00,783 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448780.7818916, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:00,784 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:00,788 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:00,789 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:00,830 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:00,831 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:00,832 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2347.6, exported=8005144.12, dc_power=None)
2024-01-28 14:33:00,833 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:00,833 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2347.6, exported=8005144.12, dc_power=None)
2024-01-28 14:33:00,835 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301367.7948909409, dc_power=None)
2024-01-28 14:33:00,838 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301367.7948909409, dc_power=None)
2024-01-28 14:33:00,878 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:00,879 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.1000000000000005, 3.1, 4.1000000000000005], powers=[1104.0, 498.0, 907.0], voltages=[238.88, 239.74, 237.43], power_factors=[0.8848999999999999, 0.6448999999999999, 0.912], imported=8628734.0, exported=4872875.0, power=2510.0, frequency=49.97)
2024-01-28 14:33:00,938 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:00,939 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:33:00,939 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f74e640>
2024-01-28 14:33:00,942 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:00,943 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f74e640>
2024-01-28 14:33:01,065 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:33:01,072 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [29.9, 32.0, 30.9]A
2024-01-28 14:33:01,074 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21490.0W
2024-01-28 14:33:01,076 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:33:01,079 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:33:01,079 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:33:01,082 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:33:01.081892
2024-01-28 14:33:01,084 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136928.234878s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:33:01,086 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:33:01.085936
2024-01-28 14:33:01,088 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:33:01.085936
2024-01-28 14:33:01,089 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53770.466859s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:33:01,091 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:33:01.091331
2024-01-28 14:33:01,092 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129146.85898s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:33:01,095 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:33:01.094654
2024-01-28 14:33:01,096 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:33:01.094654
2024-01-28 14:33:01,098 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52473.563731s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:33:01,099 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:33:01,107 - {control.chargepoint.chargepoint:667} - {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-28 14:33:01,109 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:33:01,118 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448771.790264, power=4979.9, imported=4312210.7996282205, exported=0)
2024-01-28 14:33:01,120 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259118, power1: 4979.9, power2: 4959.6
2024-01-28 14:33:01,123 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.8775
2024-01-28 14:33:01,124 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.8775 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448781.118501, power=4959.6, imported=4312223.677129919, exported=0)
2024-01-28 14:33:01,132 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:33:01,134 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:33:01,136 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:33:01,137 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.94, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7016ab98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:33:01,139 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:33:01,141 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:33:01,143 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1104.0, 498.0, 907.0], currents=[5.1, 3.1, 4.1], voltages=[238.88, 239.74, 237.43], power_factors=[0.88, 0.64, 0.91], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628734.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2510.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21490.0, raw_currents_left=[29.9, 32.0, 30.9], surplus_power_left=0, state_str=''))
2024-01-28 14:33:01,145 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4959.6, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312223.677129919, disengageable_smarthome_power=0))
2024-01-28 14:33:01,147 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:33:01,149 - {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-28 14:33:01,151 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:33:01,153 - {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-28 14:33:01,155 - {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-28 14:33:01,156 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:01,158 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:01,160 - {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-28 14:33:01,161 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:33:01,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-28 14:33:01,165 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:01,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c6da8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:33:01,172 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:33:01,173 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:33:01,174 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f74c478>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:33:01,176 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301367.795, fault_state=0, fault_str='Kein Fehler.', power=-102))
2024-01-28 14:33:01,182 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005144.12, fault_state=0, fault_str='Kein Fehler.', power=-2347.6))
2024-01-28 14:33:01,190 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306511.915, power=-2449.6))
2024-01-28 14:33:01,193 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448771, 'time': '14:32:51', 'grid': 2.52, 'house-power': 4.98, 'charging-all': 0.0, 'pv-all': 2.46, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:33:01,195 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:33:01,197 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:33:01,200 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:01,203 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:01,205 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:33:01,206 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:33:01,208 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:33:01,209 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:33:01,211 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:33:01,214 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:33:01,217 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:33:01,219 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:33:01,221 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2610.0W
2024-01-28 14:33:01,222 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2610.0W
2024-01-28 14:33:01,224 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:33:01,224 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:33:01,226 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:33:01,237 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:33:01,243 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:01,292 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:33:05,666 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:05,667 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:10,678 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:10,679 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:10,679 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:33:10,680 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:33:10,729 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:33:10,730 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:10,737 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:33:10,731 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:10,741 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:10,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2533, -1088, -516, -929], Scale 0
2024-01-28 14:33:10,783 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:33:10,785 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.2, "voltage":239.8, "current":0.445, "aenergy":{"total":9427.260,"by_minute":[285.758,1649.042,1538.915],"minute_ts":1706448789},"temperature":{"tC":39.4, "tF":103.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:33","unixtime":1706448791,"uptime":5808185,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:33:10,788 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448780.3809676, power=-102, imported=0.0, exported=301367.7948909409)
2024-01-28 14:33:10,789 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289092, power1: -102, power2: -103
2024-01-28 14:33:10,791 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.296319
2024-01-28 14:33:10,791 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.296319 Wh, new state: SimCounterState(timestamp=1706448790.7882693, power=-103, imported=0.0, exported=301368.0912099466)
2024-01-28 14:33:10,793 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301368.0912099466, dc_power=None)
2024-01-28 14:33:10,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [52, 31, 41], Scale -1
2024-01-28 14:33:10,870 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23898, 23995, 23752, 0, 0, 0, 0], Scale -2
2024-01-28 14:33:10,890 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:33:10,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8920, 6520, 9160], Scale -2
2024-01-28 14:33:11,071 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628740, 3551332, 2508491, 3137018], Scale 0
2024-01-28 14:33:11,074 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.2, 3.1, 4.1000000000000005], powers=[1088.0, 516.0, 929.0], voltages=[238.98000000000002, 239.95000000000002, 237.52], power_factors=[0.892, 0.652, 0.916], imported=8628740.0, exported=4872875.0, power=2533.0, frequency=49.97)
2024-01-28 14:33:11,077 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:11,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23075], Scale -1
2024-01-28 14:33:11,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963156], Scale 0
2024-01-28 14:33:11,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [325, 325, 323], Scale -2
2024-01-28 14:33:11,192 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23427], Scale -1
2024-01-28 14:33:11,194 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.25, 3.25, 3.23]
2024-01-28 14:33:11,196 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.25, 3.25, 3.23], power=-2307.5, exported=7963156.0, dc_power=-2342.7000000000003)
2024-01-28 14:33:11,201 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:11,295 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448780.7818916, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:11,299 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292055, power1: 0, power2: 0
2024-01-28 14:33:11,300 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:33:11,301 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448791.2958844, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:11,304 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:11,310 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:11,312 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:11,382 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:11,383 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:11,384 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2307.5, exported=8005152.12, dc_power=None)
2024-01-28 14:33:11,385 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:11,386 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2307.5, exported=8005152.12, dc_power=None)
2024-01-28 14:33:11,386 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301368.0912099466, dc_power=None)
2024-01-28 14:33:11,391 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301368.0912099466, dc_power=None)
2024-01-28 14:33:11,434 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:11,436 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.2, 3.1, 4.1000000000000005], powers=[1088.0, 516.0, 929.0], voltages=[238.98000000000002, 239.95000000000002, 237.52], power_factors=[0.892, 0.652, 0.916], imported=8628740.0, exported=4872875.0, power=2533.0, frequency=49.97)
2024-01-28 14:33:11,501 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:11,502 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:33:11,502 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e3568>
2024-01-28 14:33:11,507 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:11,508 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e3568>
2024-01-28 14:33:11,644 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:33:11,646 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [29.8, 32.0, 30.9]A
2024-01-28 14:33:11,647 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21467.0W
2024-01-28 14:33:11,649 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:33:11,652 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:33:11,654 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:33:11,656 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:33:11.655579
2024-01-28 14:33:11,657 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136917.661191s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:33:11,660 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:33:11.660589
2024-01-28 14:33:11,663 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:33:11.660589
2024-01-28 14:33:11,664 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53759.892206s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:33:11,665 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:33:11.665093
2024-01-28 14:33:11,668 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129136.285218s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:33:11,670 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:33:11.670188
2024-01-28 14:33:11,671 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:33:11.670188
2024-01-28 14:33:11,672 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52462.988197s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:33:11,675 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:33:11,680 - {control.chargepoint.chargepoint:667} - {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-28 14:33:11,681 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:33:11,707 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448781.118501, power=4959.6, imported=4312223.677129919, exported=0)
2024-01-28 14:33:11,708 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294125, power1: 4959.6, power2: 4943.5
2024-01-28 14:33:11,710 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.5638
2024-01-28 14:33:11,712 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.5638 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448791.7070093, power=4943.5, imported=4312238.240887865, exported=0)
2024-01-28 14:33:11,714 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:33:11,715 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:33:11,717 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:33:11,719 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.56, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c2598>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:33:11,720 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:33:11,721 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:33:11,722 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1088.0, 516.0, 929.0], currents=[5.2, 3.1, 4.1], voltages=[238.98, 239.95, 237.52], power_factors=[0.89, 0.65, 0.92], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628740.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2533.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21467.0, raw_currents_left=[29.8, 32.0, 30.9], surplus_power_left=0, state_str=''))
2024-01-28 14:33:11,723 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4943.5, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312238.240887865, disengageable_smarthome_power=0))
2024-01-28 14:33:11,725 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:33:11,726 - {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-28 14:33:11,732 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:33:11,732 - {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-28 14:33:11,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-28 14:33:11,733 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:11,733 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:11,734 - {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-28 14:33:11,734 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:33:11,735 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:11,736 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:11,737 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7fd160>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:33:11,738 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:33:11,739 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:33:11,740 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cb970>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:33:11,752 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301368.091, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:33:11,758 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005152.12, fault_state=0, fault_str='Kein Fehler.', power=-2307.5))
2024-01-28 14:33:11,759 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306520.211, power=-2410.5))
2024-01-28 14:33:11,760 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448781, 'time': '14:33:01', 'grid': 2.51, 'house-power': 4.96, 'charging-all': 0.0, 'pv-all': 2.45, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:33:11,761 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:33:11,761 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:33:11,762 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:11,762 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:11,762 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:33:11,763 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:33:11,763 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:33:11,763 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:33:11,764 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:33:11,767 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:33:11,768 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:33:11,772 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:33:11,772 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2633.0W
2024-01-28 14:33:11,773 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2633.0W
2024-01-28 14:33:11,774 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:33:11,776 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:33:11,777 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:33:11,784 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:33:11,787 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:11,835 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:33:15,106 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:20,122 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:20,123 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:20,124 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:33:20,124 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:33:20,171 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:33:20,173 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:20,175 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:20,182 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:33:20,185 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:20,209 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2524, -1084, -512, -928], Scale 0
2024-01-28 14:33:20,226 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:33:20,228 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.0, "voltage":239.8, "current":0.442, "aenergy":{"total":9427.551,"by_minute":[574.838,1649.042,1538.915],"minute_ts":1706448799},"temperature":{"tC":39.4, "tF":103.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:33","unixtime":1706448800,"uptime":5808194,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:33:20,230 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448790.7882693, power=-103, imported=0.0, exported=301368.0912099466)
2024-01-28 14:33:20,231 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262282, power1: -103, power2: -105
2024-01-28 14:33:20,231 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.272774
2024-01-28 14:33:20,232 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.272774 Wh, new state: SimCounterState(timestamp=1706448800.230433, power=-105, imported=0.0, exported=301368.3639835648)
2024-01-28 14:33:20,233 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301368.3639835648, dc_power=None)
2024-01-28 14:33:20,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [50, 32, 42], Scale -1
2024-01-28 14:33:20,299 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23859, 23951, 23706, 0, 0, 0, 0], Scale -2
2024-01-28 14:33:20,317 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:33:20,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8970, 6779, 9259], Scale -2
2024-01-28 14:33:20,375 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628750, 3551337, 2508493, 3137022], Scale 0
2024-01-28 14:33:20,376 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.0, 3.2, 4.2], powers=[1084.0, 512.0, 928.0], voltages=[238.59, 239.51, 237.06], power_factors=[0.897, 0.6779000000000001, 0.9259000000000001], imported=8628750.0, exported=4872875.0, power=2524.0, frequency=49.97)
2024-01-28 14:33:20,379 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:20,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22834], Scale -1
2024-01-28 14:33:20,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963162], Scale 0
2024-01-28 14:33:20,459 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [319, 323, 320], Scale -2
2024-01-28 14:33:20,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23182], Scale -1
2024-01-28 14:33:20,479 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.19, 3.23, 3.2]
2024-01-28 14:33:20,479 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.19, 3.23, 3.2], power=-2283.4, exported=7963162.0, dc_power=-2318.2000000000003)
2024-01-28 14:33:20,480 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:20,613 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448791.2958844, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:20,613 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0025881, power1: 0, power2: 0
2024-01-28 14:33:20,614 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:33:20,614 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448800.6130602, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:20,615 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:20,626 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:20,633 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:20,662 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:20,663 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:20,664 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:20,666 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2283.4, exported=8005158.12, dc_power=None)
2024-01-28 14:33:20,667 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301368.3639835648, dc_power=None)
2024-01-28 14:33:20,668 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2283.4, exported=8005158.12, dc_power=None)
2024-01-28 14:33:20,668 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301368.3639835648, dc_power=None)
2024-01-28 14:33:20,707 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:20,708 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.0, 3.2, 4.2], powers=[1084.0, 512.0, 928.0], voltages=[238.59, 239.51, 237.06], power_factors=[0.897, 0.6779000000000001, 0.9259000000000001], imported=8628750.0, exported=4872875.0, power=2524.0, frequency=49.97)
2024-01-28 14:33:20,764 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:20,765 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:33:20,766 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d9ce8>
2024-01-28 14:33:20,771 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:20,772 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d9ce8>
2024-01-28 14:33:20,903 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:33:20,906 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.0, 31.9, 30.8]A
2024-01-28 14:33:20,907 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21476.0W
2024-01-28 14:33:20,908 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:33:20,911 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:33:20,912 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:33:20,914 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:33:20.914127
2024-01-28 14:33:20,915 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136908.402643s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:33:20,917 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:33:20.916643
2024-01-28 14:33:20,919 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:33:20.916643
2024-01-28 14:33:20,920 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53750.636152s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:33:20,922 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:33:20.922224
2024-01-28 14:33:20,924 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129127.028087s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:33:20,925 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:33:20.925408
2024-01-28 14:33:20,926 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:33:20.925408
2024-01-28 14:33:20,927 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52453.732977s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:33:20,930 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:33:20,934 - {control.chargepoint.chargepoint:667} - {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-28 14:33:20,935 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:33:20,958 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448791.7070093, power=4943.5, imported=4312238.240887865, exported=0)
2024-01-28 14:33:20,960 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00256994, power1: 4943.5, power2: 4912.4
2024-01-28 14:33:20,961 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 12.6645
2024-01-28 14:33:20,965 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 12.6645 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448800.9587972, power=4912.4, imported=4312250.905429028, exported=0)
2024-01-28 14:33:20,974 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:33:20,978 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:33:20,980 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:33:20,982 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.98, 237.66, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701629d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:33:20,984 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:33:20,986 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:33:20,987 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1084.0, 512.0, 928.0], currents=[5.0, 3.2, 4.2], voltages=[238.59, 239.51, 237.06], power_factors=[0.9, 0.68, 0.93], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628750.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2524.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21476.0, raw_currents_left=[30.0, 31.9, 30.8], surplus_power_left=0, state_str=''))
2024-01-28 14:33:20,988 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4912.4, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312250.905429028, disengageable_smarthome_power=0))
2024-01-28 14:33:20,989 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:33:20,990 - {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-28 14:33:20,992 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:33:20,992 - {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-28 14:33:20,994 - {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-28 14:33:20,995 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:21,000 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:21,002 - {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-28 14:33:21,004 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:33:21,005 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:21,008 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:21,011 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d9238>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:33:21,013 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:33:21,015 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:33:21,016 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d9268>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:33:21,018 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301368.364, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:33:21,019 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005158.12, fault_state=0, fault_str='Kein Fehler.', power=-2283.4))
2024-01-28 14:33:21,021 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306526.484, power=-2388.4))
2024-01-28 14:33:21,026 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448791, 'time': '14:33:11', 'grid': 2.533, 'house-power': 4.944, 'charging-all': 0.0, 'pv-all': 2.41, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:33:21,027 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:33:21,029 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:33:21,032 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:21,034 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:21,037 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:33:21,042 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:33:21,044 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:33:21,045 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:33:21,047 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:33:21,051 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:33:21,052 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:33:21,054 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:33:21,056 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2624.0W
2024-01-28 14:33:21,060 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2624.0W
2024-01-28 14:33:21,062 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:33:21,063 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:33:21,064 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:33:21,073 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:33:21,079 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:21,117 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:33:25,390 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:25,391 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:30,401 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:30,403 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:33:30,404 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:33:30,463 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:33:30,464 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:30,468 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:30,475 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:33:30,475 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:30,519 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:33:30,522 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.2, "voltage":239.8, "current":0.446, "aenergy":{"total":9427.844,"by_minute":[868.666,1649.042,1538.915],"minute_ts":1706448809},"temperature":{"tC":39.6, "tF":103.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:33","unixtime":1706448811,"uptime":5808205,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:33:30,525 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448800.230433, power=-105, imported=0.0, exported=301368.3639835648)
2024-01-28 14:33:30,527 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285979, power1: -105, power2: -106
2024-01-28 14:33:30,528 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.301708
2024-01-28 14:33:30,528 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.301708 Wh, new state: SimCounterState(timestamp=1706448810.5256763, power=-106, imported=0.0, exported=301368.6656913882)
2024-01-28 14:33:30,531 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301368.6656913882, dc_power=None)
2024-01-28 14:33:30,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2483, -1064, -501, -917], Scale 0
2024-01-28 14:33:30,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [50, 32, 42], Scale -1
2024-01-28 14:33:30,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23865, 23965, 23710, 0, 0, 0, 0], Scale -2
2024-01-28 14:33:30,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:33:30,710 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8970, 6850, 9279], Scale -2
2024-01-28 14:33:30,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628756, 3551339, 2508494, 3137025], Scale 0
2024-01-28 14:33:30,734 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.0, 3.2, 4.2], powers=[1064.0, 501.0, 917.0], voltages=[238.65, 239.65, 237.1], power_factors=[0.897, 0.685, 0.9279000000000001], imported=8628756.0, exported=4872875.0, power=2483.0, frequency=49.97)
2024-01-28 14:33:30,739 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:30,760 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24004], Scale -1
2024-01-28 14:33:30,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963168], Scale 0
2024-01-28 14:33:30,809 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [337, 338, 336], Scale -2
2024-01-28 14:33:30,861 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24110], Scale -1
2024-01-28 14:33:30,861 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.37, 3.38, 3.36]
2024-01-28 14:33:30,862 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.37, 3.38, 3.36], power=-2400.4, exported=7963168.0, dc_power=-2411.0)
2024-01-28 14:33:30,865 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:30,909 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448800.6130602, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:30,910 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286011, power1: 0, power2: 0
2024-01-28 14:33:30,910 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:33:30,911 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448810.9094656, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:30,912 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:30,916 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:30,917 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:30,958 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:30,960 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:30,961 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2400.4, exported=8005164.12, dc_power=None)
2024-01-28 14:33:30,961 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2400.4, exported=8005164.12, dc_power=None)
2024-01-28 14:33:30,966 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:30,972 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301368.6656913882, dc_power=None)
2024-01-28 14:33:30,977 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301368.6656913882, dc_power=None)
2024-01-28 14:33:31,016 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:31,017 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.0, 3.2, 4.2], powers=[1064.0, 501.0, 917.0], voltages=[238.65, 239.65, 237.1], power_factors=[0.897, 0.685, 0.9279000000000001], imported=8628756.0, exported=4872875.0, power=2483.0, frequency=49.97)
2024-01-28 14:33:31,076 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:31,077 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:33:31,078 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed924f0>
2024-01-28 14:33:31,080 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:31,082 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed924f0>
2024-01-28 14:33:31,215 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:33:31,218 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.0, 31.9, 30.8]A
2024-01-28 14:33:31,223 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21517.0W
2024-01-28 14:33:31,224 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:33:31,227 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:33:31,228 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:33:31,231 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:33:31.230632
2024-01-28 14:33:31,233 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136898.086138s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:33:31,235 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:33:31.234815
2024-01-28 14:33:31,236 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:33:31.234815
2024-01-28 14:33:31,238 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53740.31798s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:33:31,240 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:33:31.239706
2024-01-28 14:33:31,241 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129116.710605s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:33:31,242 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:33:31.241961
2024-01-28 14:33:31,243 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:33:31.241961
2024-01-28 14:33:31,245 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52443.416424s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:33:31,246 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:33:31,253 - {control.chargepoint.chargepoint:667} - {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-28 14:33:31,256 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:33:31,288 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448800.9587972, power=4912.4, imported=4312250.905429028, exported=0)
2024-01-28 14:33:31,289 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286929, power1: 4912.4, power2: 4989.4
2024-01-28 14:33:31,291 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 14.2056
2024-01-28 14:33:31,292 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 14.2056 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448811.288231, power=4989.4, imported=4312265.110982696, exported=0)
2024-01-28 14:33:31,298 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:33:31,301 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:33:31,302 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:33:31,304 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.15, 237.7, 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d6028>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:33:31,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-28 14:33:31,306 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:33:31,310 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1064.0, 501.0, 917.0], currents=[5.0, 3.2, 4.2], voltages=[238.65, 239.65, 237.1], power_factors=[0.9, 0.69, 0.93], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628756.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2483.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21517.0, raw_currents_left=[30.0, 31.9, 30.8], surplus_power_left=0, state_str=''))
2024-01-28 14:33: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=4989.4, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312265.110982696, disengageable_smarthome_power=0))
2024-01-28 14:33:31,313 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:33:31,314 - {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-28 14:33: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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:33: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-28 14:33: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-28 14:33:31,320 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:31,322 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33: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-28 14:33: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-28 14:33: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-28 14:33: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=2, keep_charge_active_duration=40)
2024-01-28 14:33: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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c6808>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:33:31,334 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:33:31,336 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:33:31,336 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6e98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:33:31,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=421.0, monthly_exported=0, yearly_exported=0, exported=301368.666, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:33:31,339 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005164.12, fault_state=0, fault_str='Kein Fehler.', power=-2400.4))
2024-01-28 14:33:31,340 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306532.786, power=-2506.4))
2024-01-28 14:33:31,343 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448801, 'time': '14:33:21', 'grid': 2.524, 'house-power': 4.912, 'charging-all': 0.0, 'pv-all': 2.388, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:33:31,346 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:33:31,347 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:33:31,348 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:31,351 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:31,352 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:33:31,354 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:33:31,355 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:33:31,358 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:33:31,359 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:33:31,362 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:33:31,364 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:33:31,366 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:33:31,368 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2583.0W
2024-01-28 14:33:31,369 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2583.0W
2024-01-28 14:33:31,370 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:33:31,375 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:33:31,376 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:33:31,380 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:33:31,382 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:31,403 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:33:35,020 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:35,021 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:40,033 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:40,035 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:40,036 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:33:40,037 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:33:40,085 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:33:40,090 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:40,091 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:40,097 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:40,105 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:33:40,134 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2458, -1053, -493, -910], Scale 0
2024-01-28 14:33:40,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [50, 32, 42], Scale -1
2024-01-28 14:33:40,177 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:33:40,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":true, "apower":107.1, "voltage":240.0, "current":0.450, "aenergy":{"total":9428.141,"by_minute":[1164.866,1649.042,1538.915],"minute_ts":1706448819},"temperature":{"tC":39.5, "tF":103.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:33","unixtime":1706448820,"uptime":5808214,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:33:40,181 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448810.5256763, power=-106, imported=0.0, exported=301368.6656913882)
2024-01-28 14:33:40,182 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00268217, power1: -106, power2: -107
2024-01-28 14:33:40,182 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.285651
2024-01-28 14:33:40,183 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.285651 Wh, new state: SimCounterState(timestamp=1706448820.1814842, power=-107, imported=0.0, exported=301368.951342374)
2024-01-28 14:33:40,184 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301368.951342374, dc_power=None)
2024-01-28 14:33:40,264 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23862, 23964, 23712, 0, 0, 0, 0], Scale -2
2024-01-28 14:33:40,310 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:33:40,340 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8970, 6719, 9229], Scale -2
2024-01-28 14:33:40,364 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872875, 1798608, 2184820, 1457549, 8628762, 3551341, 2508495, 3137026], Scale 0
2024-01-28 14:33:40,365 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[5.0, 3.2, 4.2], powers=[1053.0, 493.0, 910.0], voltages=[238.62, 239.64000000000001, 237.12], power_factors=[0.897, 0.6718999999999999, 0.9229], imported=8628762.0, exported=4872875.0, power=2458.0, frequency=49.97)
2024-01-28 14:33:40,367 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:40,404 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24191], Scale -1
2024-01-28 14:33:40,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963175], Scale 0
2024-01-28 14:33:40,479 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [337, 343, 338], Scale -2
2024-01-28 14:33:40,502 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24560], Scale -1
2024-01-28 14:33:40,502 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.37, 3.43, 3.38]
2024-01-28 14:33:40,503 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.37, 3.43, 3.38], power=-2419.1, exported=7963175.0, dc_power=-2456.0)
2024-01-28 14:33:40,505 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:40,619 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448810.9094656, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:40,619 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00269712, power1: 0, power2: 0
2024-01-28 14:33:40,620 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:33:40,620 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448820.6191049, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:40,622 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:40,625 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:40,627 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:40,674 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:40,675 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:40,678 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:40,681 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2419.1, exported=8005171.12, dc_power=None)
2024-01-28 14:33:40,682 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301368.951342374, dc_power=None)
2024-01-28 14:33:40,682 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2419.1, exported=8005171.12, dc_power=None)
2024-01-28 14:33:40,683 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301368.951342374, dc_power=None)
2024-01-28 14:33:40,725 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:40,726 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[5.0, 3.2, 4.2], powers=[1053.0, 493.0, 910.0], voltages=[238.62, 239.64000000000001, 237.12], power_factors=[0.897, 0.6718999999999999, 0.9229], imported=8628762.0, exported=4872875.0, power=2458.0, frequency=49.97)
2024-01-28 14:33:40,789 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:40,790 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:33:40,790 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d9e50>
2024-01-28 14:33:40,793 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:40,796 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d9e50>
2024-01-28 14:33:40,914 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:33:40,917 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.0, 31.9, 30.8]A
2024-01-28 14:33:40,919 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21542.0W
2024-01-28 14:33:40,920 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:33:40,922 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:33:40,923 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:33:40,925 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:33:40.924643
2024-01-28 14:33:40,926 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136888.392127s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:33:40,927 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:33:40.926694
2024-01-28 14:33:40,928 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:33:40.926694
2024-01-28 14:33:40,929 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53730.626101s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:33:40,930 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:33:40.930356
2024-01-28 14:33:40,933 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129107.019955s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:33:40,935 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:33:40.935508
2024-01-28 14:33:40,937 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:33:40.935508
2024-01-28 14:33:40,938 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52433.722877s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:33:40,940 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:33:40,945 - {control.chargepoint.chargepoint:667} - {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-28 14:33:40,946 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:33:40,963 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448811.288231, power=4989.4, imported=4312265.110982696, exported=0)
2024-01-28 14:33:40,964 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00268747, power1: 4989.4, power2: 4984.1
2024-01-28 14:33:40,965 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 13.4017
2024-01-28 14:33:40,966 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 13.4017 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448820.9631214, power=4984.1, imported=4312278.512721665, exported=0)
2024-01-28 14:33:40,968 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:33:40,969 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:33:40,970 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:33:40,971 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 237.64, 239.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cf0e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:33:40,972 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:33:40,975 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:33:40,978 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1053.0, 493.0, 910.0], currents=[5.0, 3.2, 4.2], voltages=[238.62, 239.64, 237.12], power_factors=[0.9, 0.67, 0.92], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628762.0, exported=4872875.0, fault_state=0, fault_str='Kein Fehler.', power=2458.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21542.0, raw_currents_left=[30.0, 31.9, 30.8], surplus_power_left=0, state_str=''))
2024-01-28 14:33:40,981 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4984.1, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312278.512721665, disengageable_smarthome_power=0))
2024-01-28 14:33:40,986 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:33:40,989 - {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-28 14:33:40,992 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:33:40,993 - {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-28 14:33:40,994 - {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-28 14:33:40,995 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:40,996 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:40,997 - {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-28 14:33:40,997 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:33:40,999 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:40,999 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:41,001 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edaa0b8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:33:41,005 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:33:41,007 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:33:41,011 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c6da8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:33:41,014 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301368.951, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:33:41,020 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005171.12, fault_state=0, fault_str='Kein Fehler.', power=-2419.1))
2024-01-28 14:33:41,023 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306540.071, power=-2526.1))
2024-01-28 14:33:41,035 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448811, 'time': '14:33:31', 'grid': 2.483, 'house-power': 4.989, 'charging-all': 0.0, 'pv-all': 2.506, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:33:41,036 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:33:41,040 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:33:41,040 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:41,042 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:41,043 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:33:41,046 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:33:41,047 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:33:41,048 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:33:41,049 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:33:41,051 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:33:41,053 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:33:41,056 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:33:41,059 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2558.0W
2024-01-28 14:33:41,061 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2558.0W
2024-01-28 14:33:41,062 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:33:41,063 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:33:41,064 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:33:41,069 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:33:41,071 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:41,102 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:33:45,370 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:50,383 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:50,385 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:33:50,385 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:33:50,386 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:33:50,434 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:33:50,436 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:50,442 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:33:50,445 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:50,445 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:50,485 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:33:50,487 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.7, "voltage":240.4, "current":0.452, "aenergy":{"total":9428.442,"by_minute":[1463.440,1649.042,1538.915],"minute_ts":1706448829},"temperature":{"tC":39.6, "tF":103.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:33","unixtime":1706448831,"uptime":5808225,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:33:50,490 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1456, 273, 863, 320], Scale 0
2024-01-28 14:33:50,490 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448820.1814842, power=-107, imported=0.0, exported=301368.951342374)
2024-01-28 14:33:50,492 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286372, power1: -107, power2: -107
2024-01-28 14:33:50,493 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.306419
2024-01-28 14:33:50,493 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.306419 Wh, new state: SimCounterState(timestamp=1706448830.4908936, power=-107, imported=0.0, exported=301369.2577609306)
2024-01-28 14:33:50,495 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301369.2577609306, dc_power=None)
2024-01-28 14:33:50,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [17, 36, 16], Scale -1
2024-01-28 14:33:50,529 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23937, 24058, 23779, 0, 0, 0, 0], Scale -2
2024-01-28 14:33:50,610 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:33:50,653 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6549, -9959, -8009], Scale -2
2024-01-28 14:33:50,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872876, 1798608, 2184820, 1457549, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:33:50,693 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.7000000000000002, -3.6, -1.6], powers=[-273.0, -863.0, -320.0], voltages=[239.37, 240.58, 237.79], power_factors=[-0.6548999999999999, -0.9959, -0.8009000000000001], imported=8628767.0, exported=4872876.0, power=-1456.0, frequency=49.97)
2024-01-28 14:33:50,695 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:50,719 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22986], Scale -1
2024-01-28 14:33:50,738 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963181], Scale 0
2024-01-28 14:33:50,758 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [326, 322, 320], Scale -2
2024-01-28 14:33:50,792 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23336], Scale -1
2024-01-28 14:33:50,795 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.2600000000000002, 3.22, 3.2]
2024-01-28 14:33:50,795 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.2600000000000002, 3.22, 3.2], power=-2298.6, exported=7963181.0, dc_power=-2333.6)
2024-01-28 14:33:50,797 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:50,870 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448820.6191049, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:50,871 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284758, power1: 0, power2: 0
2024-01-28 14:33:50,871 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:33:50,872 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448830.8703847, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:33:50,874 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:50,885 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:33:50,888 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:33:50,930 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:50,931 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:33:50,933 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:33:50,933 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2298.6, exported=8005177.12, dc_power=None)
2024-01-28 14:33:50,934 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301369.2577609306, dc_power=None)
2024-01-28 14:33:50,935 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2298.6, exported=8005177.12, dc_power=None)
2024-01-28 14:33:50,936 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301369.2577609306, dc_power=None)
2024-01-28 14:33:51,014 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:33:51,015 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.7000000000000002, -3.6, -1.6], powers=[-273.0, -863.0, -320.0], voltages=[239.37, 240.58, 237.79], power_factors=[-0.6548999999999999, -0.9959, -0.8009000000000001], imported=8628767.0, exported=4872876.0, power=-1456.0, frequency=49.97)
2024-01-28 14:33:51,083 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:51,084 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:33:51,085 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5c28>
2024-01-28 14:33:51,089 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:33:51,091 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5c28>
2024-01-28 14:33:51,224 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:33:51,228 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.7, 38.7, 36.6]A
2024-01-28 14:33:51,229 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25456.0W
2024-01-28 14:33:51,230 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:33:51,235 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:33:51,237 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:33:51,239 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:33:51.239325
2024-01-28 14:33:51,241 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136878.077445s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:33:51,243 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:33:51.243092
2024-01-28 14:33:51,245 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:33:51.243092
2024-01-28 14:33:51,247 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53720.309703s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:33:51,249 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:33:51.249082
2024-01-28 14:33:51,252 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129096.701229s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:33:51,254 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:33:51.253607
2024-01-28 14:33:51,255 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:33:51.253607
2024-01-28 14:33:51,257 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52423.404778s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:33:51,258 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:33:51,261 - {control.chargepoint.chargepoint:667} - {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-28 14:33:51,263 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:33:51,295 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448820.9631214, power=4984.1, imported=4312278.512721665, exported=0)
2024-01-28 14:33:51,297 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287002, power1: 4984.1, power2: 949.6
2024-01-28 14:33:51,299 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 8.51492
2024-01-28 14:33:51,302 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 8.51492 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448831.295196, power=949.5999999999999, imported=4312287.027642679, exported=0)
2024-01-28 14:33:51,306 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:33:51,308 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:33:51,309 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:33:51,312 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.54, 238.1, 239.31]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d9160>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:33:51,313 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:33:51,314 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:33:51,315 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-273.0, -863.0, -320.0], currents=[-1.7, -3.6, -1.6], voltages=[239.37, 240.58, 237.79], power_factors=[-0.65, -1.0, -0.8], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628767.0, exported=4872876.0, fault_state=0, fault_str='Kein Fehler.', power=-1456.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25456.0, raw_currents_left=[36.7, 38.7, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:33:51,316 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=949.5999999999999, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312287.027642679, disengageable_smarthome_power=0))
2024-01-28 14:33:51,317 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:33:51,319 - {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-28 14:33:51,321 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:33:51,327 - {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-28 14:33:51,330 - {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-28 14:33:51,331 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:51,332 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:33:51,334 - {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-28 14:33:51,335 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:33:51,336 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33:51,338 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:33: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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb5580>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:33:51,343 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:33:51,345 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:33:51,347 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5910>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:33:51,349 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301369.258, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:33:51,350 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005177.12, fault_state=0, fault_str='Kein Fehler.', power=-2298.6))
2024-01-28 14:33:51,351 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306546.3780000005, power=-2405.6))
2024-01-28 14:33:51,354 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448821, 'time': '14:33:41', 'grid': 2.458, 'house-power': 4.984, 'charging-all': 0.0, 'pv-all': 2.526, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:33:51,355 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:33: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-28 14:33:51,358 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:51,360 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:33:51,361 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:33:51,362 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:33:51,363 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:33:51,364 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:33:51,366 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:33:51,369 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:33:51,372 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:33:51,375 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:33:51,377 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1356.0W
2024-01-28 14:33:51,379 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1356.0W
2024-01-28 14:33:51,380 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:33:51,382 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:33:51,385 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:33:51,386 - {control.algorithm.filter_chargepoints:45} - {INFO:MainThread} - LP 1: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2024-01-28 14:33:51,389 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:33:51,395 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:33:51,400 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:33:51,422 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:33:51,695 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:33:55,715 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:33:55,716 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:00,728 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:00,731 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:34:00,734 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:34:00,829 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:34:00,831 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:00,837 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:34:00,838 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:00,854 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:00,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1466, 276, 866, 323], Scale 0
2024-01-28 14:34:00,894 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:34:00,897 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.3, "voltage":240.4, "current":0.454, "aenergy":{"total":9428.745,"by_minute":[1763.438,1649.042,1538.915],"minute_ts":1706448839},"temperature":{"tC":39.7, "tF":103.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:34","unixtime":1706448841,"uptime":5808235,"ram_size":248948,"ram_free":144512,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:34:00,899 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448830.4908936, power=-107, imported=0.0, exported=301369.2577609306)
2024-01-28 14:34:00,900 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289128, power1: -107, power2: -108
2024-01-28 14:34:00,901 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.310812
2024-01-28 14:34:00,901 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.310812 Wh, new state: SimCounterState(timestamp=1706448840.8994856, power=-108, imported=0.0, exported=301369.56857305235)
2024-01-28 14:34:00,903 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301369.56857305235, dc_power=None)
2024-01-28 14:34:00,971 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [17, 36, 17], Scale -1
2024-01-28 14:34:01,000 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23902, 24021, 23761, 0, 0, 0, 0], Scale -2
2024-01-28 14:34:01,020 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:34:01,039 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6610, -9919, -8040], Scale -2
2024-01-28 14:34:01,059 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872882, 1798609, 2184824, 1457551, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:34:01,060 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.7000000000000002, -3.6, -1.7000000000000002], powers=[-276.0, -866.0, -323.0], voltages=[239.02, 240.21, 237.61], power_factors=[-0.6609999999999999, -0.9919, -0.804], imported=8628767.0, exported=4872882.0, power=-1466.0, frequency=49.97)
2024-01-28 14:34:01,062 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:01,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23155], Scale -1
2024-01-28 14:34:01,098 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963189], Scale 0
2024-01-28 14:34:01,132 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [324, 326, 324], Scale -2
2024-01-28 14:34:01,182 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23508], Scale -1
2024-01-28 14:34:01,183 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.24, 3.2600000000000002, 3.24]
2024-01-28 14:34:01,183 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.24, 3.2600000000000002, 3.24], power=-2315.5, exported=7963189.0, dc_power=-2350.8)
2024-01-28 14:34:01,186 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:01,230 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448830.8703847, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:01,230 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287773, power1: 0, power2: 0
2024-01-28 14:34:01,231 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:34:01,231 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448841.2301993, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:01,233 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:01,236 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:01,237 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:01,278 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:01,279 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:01,280 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2315.5, exported=8005185.12, dc_power=None)
2024-01-28 14:34:01,281 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:01,283 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2315.5, exported=8005185.12, dc_power=None)
2024-01-28 14:34:01,284 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301369.56857305235, dc_power=None)
2024-01-28 14:34:01,286 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301369.56857305235, dc_power=None)
2024-01-28 14:34:01,325 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:01,326 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.7000000000000002, -3.6, -1.7000000000000002], powers=[-276.0, -866.0, -323.0], voltages=[239.02, 240.21, 237.61], power_factors=[-0.6609999999999999, -0.9919, -0.804], imported=8628767.0, exported=4872882.0, power=-1466.0, frequency=49.97)
2024-01-28 14:34:01,384 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:01,385 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:34:01,386 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cf370>
2024-01-28 14:34:01,388 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:01,388 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cf370>
2024-01-28 14:34:01,411 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:34:01,527 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:34:01,535 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.7, 38.7, 36.7]A
2024-01-28 14:34:01,542 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25466.0W
2024-01-28 14:34:01,543 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:34:01,548 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:34:01,554 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:34:01,556 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:34:01.556083
2024-01-28 14:34:01,559 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136867.760687s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:34:01,565 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:34:01.565122
2024-01-28 14:34:01,566 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:34:01.565122
2024-01-28 14:34:01,567 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53709.987673s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:34:01,569 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:34:01.568564
2024-01-28 14:34:01,569 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129086.381747s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:34:01,570 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:34:01.569975
2024-01-28 14:34:01,570 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:34:01.569975
2024-01-28 14:34:01,571 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52413.08841s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:34:01,571 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:34:01,581 - {control.chargepoint.chargepoint:667} - {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-28 14:34:01,589 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:34:01,602 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448831.295196, power=949.5999999999999, imported=4312287.027642679, exported=0)
2024-01-28 14:34:01,609 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286314, power1: 949.6, power2: 957.5
2024-01-28 14:34:01,613 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.73015
2024-01-28 14:34:01,614 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.73015 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448841.6025128, power=957.5, imported=4312289.757793211, exported=0)
2024-01-28 14:34:01,617 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:34:01,620 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:34:01,623 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:34:01,632 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.14, 239.47]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, 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-28 14:34:01,636 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:34:01,638 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:34:01,640 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-276.0, -866.0, -323.0], currents=[-1.7, -3.6, -1.7], voltages=[239.02, 240.21, 237.61], power_factors=[-0.66, -0.99, -0.8], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628767.0, exported=4872882.0, fault_state=0, fault_str='Kein Fehler.', power=-1466.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25466.0, raw_currents_left=[36.7, 38.7, 36.7], surplus_power_left=0, state_str=''))
2024-01-28 14:34:01,641 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=957.5, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312289.757793211, disengageable_smarthome_power=0))
2024-01-28 14:34:01,647 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:34:01,648 - {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-28 14:34:01,655 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:34:01,658 - {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-28 14:34:01,659 - {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-28 14:34:01,663 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:01,666 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:01,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-28 14:34:01,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-28 14:34:01,670 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:01,671 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:01,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e2f28>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:34:01,673 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:34:01,674 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:34:01,674 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d4868>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:34:01,675 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301369.569, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:34:01,675 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005185.12, fault_state=0, fault_str='Kein Fehler.', power=-2315.5))
2024-01-28 14:34:01,676 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306554.689, power=-2423.5))
2024-01-28 14:34:01,676 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448831, 'time': '14:33:51', 'grid': -1.456, 'house-power': 0.95, 'charging-all': 0.0, 'pv-all': 2.406, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:34:01,677 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:34:01,677 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:34:01,678 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:01,678 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:01,679 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:34:01,679 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:34:01,680 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:34:01,680 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:34:01,683 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:34:01,686 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:34:01,688 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:34:01,691 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:34:01,696 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1366.0W
2024-01-28 14:34:01,700 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1366.0W
2024-01-28 14:34:01,709 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:34:01,713 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:34:01,721 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:34:01,723 - {control.algorithm.filter_chargepoints:45} - {INFO:MainThread} - LP 1: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2024-01-28 14:34:01,729 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:34:01,736 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:34:01,743 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:01,832 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:34:05,182 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:05,183 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:10,194 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:10,195 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:10,196 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:34:10,196 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:34:10,240 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:34:10,242 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:10,243 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:10,248 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:34:10,251 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:10,293 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:34:10,295 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.7, "voltage":240.4, "current":0.456, "aenergy":{"total":9429.048,"by_minute":[301.422,1763.438,1649.042],"minute_ts":1706448849},"temperature":{"tC":39.7, "tF":103.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:34","unixtime":1706448850,"uptime":5808245,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:34:10,297 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448840.8994856, power=-108, imported=0.0, exported=301369.56857305235)
2024-01-28 14:34:10,298 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261051, power1: -108, power2: -108
2024-01-28 14:34:10,298 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.281935
2024-01-28 14:34:10,299 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.281935 Wh, new state: SimCounterState(timestamp=1706448850.297325, power=-108, imported=0.0, exported=301369.8505082316)
2024-01-28 14:34:10,300 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301369.8505082316, dc_power=None)
2024-01-28 14:34:10,355 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1454, 267, 866, 319], Scale 0
2024-01-28 14:34:10,379 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [17, 36, 16], Scale -1
2024-01-28 14:34:10,410 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23905, 24011, 23774, 0, 0, 0, 0], Scale -2
2024-01-28 14:34:10,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:34:10,470 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6529, -9929, -7900], Scale -2
2024-01-28 14:34:10,491 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872886, 1798610, 2184826, 1457551, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:34:10,500 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.7000000000000002, -3.6, -1.6], powers=[-267.0, -866.0, -319.0], voltages=[239.05, 240.11, 237.74], power_factors=[-0.6529, -0.9929000000000001, -0.79], imported=8628767.0, exported=4872886.0, power=-1454.0, frequency=49.97)
2024-01-28 14:34:10,505 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:10,551 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22844], Scale -1
2024-01-28 14:34:10,589 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963195], Scale 0
2024-01-28 14:34:10,621 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [321, 323, 316], Scale -2
2024-01-28 14:34:10,662 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23192], Scale -1
2024-01-28 14:34:10,663 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.21, 3.23, 3.16]
2024-01-28 14:34:10,663 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.21, 3.23, 3.16], power=-2284.4, exported=7963195.0, dc_power=-2319.2000000000003)
2024-01-28 14:34:10,665 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:10,800 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448841.2301993, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:10,801 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026585, power1: 0, power2: 0
2024-01-28 14:34:10,802 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:34:10,802 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448850.800795, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:10,804 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:10,817 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:10,819 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:10,852 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:10,853 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:10,854 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2284.4, exported=8005191.12, dc_power=None)
2024-01-28 14:34:10,855 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:10,855 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2284.4, exported=8005191.12, dc_power=None)
2024-01-28 14:34:10,856 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301369.8505082316, dc_power=None)
2024-01-28 14:34:10,857 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301369.8505082316, dc_power=None)
2024-01-28 14:34:10,895 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:10,896 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.7000000000000002, -3.6, -1.6], powers=[-267.0, -866.0, -319.0], voltages=[239.05, 240.11, 237.74], power_factors=[-0.6529, -0.9929000000000001, -0.79], imported=8628767.0, exported=4872886.0, power=-1454.0, frequency=49.97)
2024-01-28 14:34:10,948 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:10,949 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:34:10,950 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70142c88>
2024-01-28 14:34:10,956 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:10,957 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70142c88>
2024-01-28 14:34:11,080 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:34:11,082 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.7, 38.7, 36.6]A
2024-01-28 14:34:11,083 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25454.0W
2024-01-28 14:34:11,084 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:34:11,089 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:34:11,090 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:34:11,091 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:34:11.091082
2024-01-28 14:34:11,092 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136858.225688s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:34:11,094 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:34:11.094560
2024-01-28 14:34:11,097 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:34:11.094560
2024-01-28 14:34:11,098 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53700.458235s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:34:11,100 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:34:11.099633
2024-01-28 14:34:11,101 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129076.850678s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:34:11,102 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:34:11.102024
2024-01-28 14:34:11,103 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:34:11.102024
2024-01-28 14:34:11,104 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52403.556361s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:34:11,105 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:34:11,109 - {control.chargepoint.chargepoint:667} - {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-28 14:34:11,110 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:34:11,127 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448841.6025128, power=957.5, imported=4312289.757793211, exported=0)
2024-01-28 14:34:11,129 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264571, power1: 957.5, power2: 938.4
2024-01-28 14:34:11,136 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.508
2024-01-28 14:34:11,137 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.508 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448851.1270776, power=938.4000000000001, imported=4312292.265796308, exported=0)
2024-01-28 14:34:11,140 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:34:11,145 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:34:11,146 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:34:11,148 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.44, 238.23, 239.5]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c2c40>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:34:11,149 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:34:11,151 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:34:11,153 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-267.0, -866.0, -319.0], currents=[-1.7, -3.6, -1.6], voltages=[239.05, 240.11, 237.74], power_factors=[-0.65, -0.99, -0.79], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628767.0, exported=4872886.0, fault_state=0, fault_str='Kein Fehler.', power=-1454.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25454.0, raw_currents_left=[36.7, 38.7, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:34:11,154 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=938.4000000000001, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312292.265796308, disengageable_smarthome_power=0))
2024-01-28 14:34:11,156 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:34:11,157 - {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-28 14:34:11,159 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:34:11,161 - {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-28 14:34:11,161 - {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-28 14:34:11,163 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:11,164 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:11,165 - {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-28 14:34:11,166 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:34:11,167 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:11,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=2, keep_charge_active_duration=40)
2024-01-28 14:34:11,171 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f5be0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:34:11,173 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:34:11,173 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:34:11,174 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed5b9a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:34:11,175 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301369.851, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:34:11,176 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005191.12, fault_state=0, fault_str='Kein Fehler.', power=-2284.4))
2024-01-28 14:34:11,177 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306560.971, power=-2392.4))
2024-01-28 14:34:11,183 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448841, 'time': '14:34:01', 'grid': -1.466, 'house-power': 0.958, 'charging-all': 0.0, 'pv-all': 2.424, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:34:11,187 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:34:11,188 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:34:11,190 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:11,192 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:11,194 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:34:11,195 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:34:11,196 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:34:11,199 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:34:11,200 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:34:11,204 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:34:11,206 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:34:11,209 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:34:11,211 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1354.0W
2024-01-28 14:34:11,213 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1354.0W
2024-01-28 14:34:11,216 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-28 14:34:11,219 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:34:11,221 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:34:11,222 - {control.algorithm.filter_chargepoints:45} - {INFO:MainThread} - LP 1: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2024-01-28 14:34:11,224 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:34:11,239 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-28 14:34:11,242 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:11,263 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:34:15,552 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:20,569 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:20,571 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:20,572 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:34:20,573 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:34:20,624 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:34:20,625 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:20,632 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:34:20,634 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:20,635 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:20,670 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1565, 383, 865, 317], Scale 0
2024-01-28 14:34:20,690 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 35, 16], Scale -1
2024-01-28 14:34:20,695 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:34:20,698 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":109.0, "voltage":240.5, "current":0.457, "aenergy":{"total":9429.351,"by_minute":[603.794,1763.438,1649.042],"minute_ts":1706448859},"temperature":{"tC":39.7, "tF":103.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:34","unixtime":1706448861,"uptime":5808255,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:34:20,700 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448850.297325, power=-108, imported=0.0, exported=301369.8505082316)
2024-01-28 14:34:20,700 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288963, power1: -108, power2: -109
2024-01-28 14:34:20,701 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.313525
2024-01-28 14:34:20,701 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.313525 Wh, new state: SimCounterState(timestamp=1706448860.7000058, power=-109, imported=0.0, exported=301370.16403347463)
2024-01-28 14:34:20,703 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-109, exported=301370.16403347463, dc_power=None)
2024-01-28 14:34:20,711 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23921, 24014, 23787, 0, 0, 0, 0], Scale -2
2024-01-28 14:34:20,743 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:34:20,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7310, -9919, -7779], Scale -2
2024-01-28 14:34:20,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872889, 1798610, 2184828, 1457552, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:34:20,791 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, -3.5, -1.6], powers=[-383.0, -865.0, -317.0], voltages=[239.21, 240.14000000000001, 237.87], power_factors=[-0.7310000000000001, -0.9919, -0.7779], imported=8628767.0, exported=4872889.0, power=-1565.0, frequency=49.97)
2024-01-28 14:34:20,794 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:20,811 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22833], Scale -1
2024-01-28 14:34:20,851 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963202], Scale 0
2024-01-28 14:34:20,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [318, 321, 321], Scale -2
2024-01-28 14:34:20,914 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23181], Scale -1
2024-01-28 14:34:20,915 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.18, 3.21, 3.21]
2024-01-28 14:34:20,915 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.18, 3.21, 3.21], power=-2283.3, exported=7963202.0, dc_power=-2318.1)
2024-01-28 14:34:20,917 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:21,030 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448850.800795, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:21,031 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284158, power1: 0, power2: 0
2024-01-28 14:34:21,031 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:34:21,031 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448861.0304878, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:21,032 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:21,037 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:21,040 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:21,078 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:21,079 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:21,081 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:21,082 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2283.3, exported=8005198.12, dc_power=None)
2024-01-28 14:34:21,082 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-109, exported=301370.16403347463, dc_power=None)
2024-01-28 14:34:21,083 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2283.3, exported=8005198.12, dc_power=None)
2024-01-28 14:34:21,083 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-109, exported=301370.16403347463, dc_power=None)
2024-01-28 14:34:21,125 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:21,125 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, -3.5, -1.6], powers=[-383.0, -865.0, -317.0], voltages=[239.21, 240.14000000000001, 237.87], power_factors=[-0.7310000000000001, -0.9919, -0.7779], imported=8628767.0, exported=4872889.0, power=-1565.0, frequency=49.97)
2024-01-28 14:34:21,183 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:21,183 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:34:21,184 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed92130>
2024-01-28 14:34:21,187 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:21,188 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed92130>
2024-01-28 14:34:21,314 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:34:21,321 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.0, 38.6, 36.6]A
2024-01-28 14:34:21,325 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25565.0W
2024-01-28 14:34:21,326 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:34:21,328 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:34:21,330 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:34:21,332 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:34:21.332109
2024-01-28 14:34:21,333 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136847.984661s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:34:21,335 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:34:21.334788
2024-01-28 14:34:21,336 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:34:21.334788
2024-01-28 14:34:21,337 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53690.218007s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:34:21,340 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:34:21.340001
2024-01-28 14:34:21,342 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129066.61031s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:34:21,342 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:34:21.342629
2024-01-28 14:34:21,344 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:34:21.342629
2024-01-28 14:34:21,345 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52393.315756s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:34:21,346 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:34:21,350 - {control.chargepoint.chargepoint:667} - {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-28 14:34:21,352 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:34:21,377 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448851.1270776, power=938.4000000000001, imported=4312292.265796308, exported=0)
2024-01-28 14:34:21,378 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00284732, power1: 938.4, power2: 827.3
2024-01-28 14:34:21,380 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.51375
2024-01-28 14:34:21,382 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.51375 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448861.377419, power=827.3000000000002, imported=4312294.779550174, exported=0)
2024-01-28 14:34:21,384 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:34:21,385 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:34:21,388 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:34:21,390 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.05, 239.59]), 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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7013fa00>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:34:21,395 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:34:21,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-28 14:34:21,398 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-383.0, -865.0, -317.0], currents=[-2.0, -3.5, -1.6], voltages=[239.21, 240.14, 237.87], power_factors=[-0.73, -0.99, -0.78], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628767.0, exported=4872889.0, fault_state=0, fault_str='Kein Fehler.', power=-1565.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25565.0, raw_currents_left=[37.0, 38.6, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:34:21,399 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=827.3000000000002, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312294.779550174, disengageable_smarthome_power=0))
2024-01-28 14:34:21,400 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:34:21,402 - {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-28 14:34:21,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:34:21,407 - {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-28 14:34:21,409 - {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-28 14:34:21,410 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:21,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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:21,413 - {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-28 14:34:21,414 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:34:21,415 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:21,417 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:21,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c2610>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:34:21,421 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:34:21,423 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:34:21,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 0x6f7cf670>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:34:21,426 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301370.164, fault_state=0, fault_str='Kein Fehler.', power=-109))
2024-01-28 14:34:21,428 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005198.12, fault_state=0, fault_str='Kein Fehler.', power=-2283.3))
2024-01-28 14:34:21,430 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306568.284, power=-2392.3))
2024-01-28 14:34:21,431 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448851, 'time': '14:34:11', 'grid': -1.454, 'house-power': 0.938, 'charging-all': 0.0, 'pv-all': 2.392, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:34:21,433 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:34:21,440 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:34:21,441 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:21,443 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:21,445 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:34:21,446 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:34:21,449 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:34:21,450 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:34:21,452 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:34:21,455 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:34:21,458 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:34:21,461 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:34:21,462 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1465.0W
2024-01-28 14:34:21,463 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1465.0W
2024-01-28 14:34:21,466 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung wird gestartet, sobald nach 30s die Einschaltverzögerung abgelaufen ist.
2024-01-28 14:34:21,467 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:34:21,469 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:34:21,470 - {control.algorithm.filter_chargepoints:45} - {INFO:MainThread} - LP 1: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2024-01-28 14:34:21,472 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:34:21,478 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state SWITCH_ON_DELAY
2024-01-28 14:34:21,482 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:21,525 - {control.counter:193} - {INFO:MainThread} - 1400W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:34:21,941 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 6, vorherige Payload: 0
2024-01-28 14:34:21,943 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_switch_on_off, Payload 1706448861.466099, vorherige Payload: None
2024-01-28 14:34:25,965 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:25,966 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:30,978 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:30,981 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:34:30,984 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:34:31,090 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:34:31,092 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:31,101 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:31,102 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:34:31,107 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:31,153 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:34:31,156 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.9, "voltage":240.5, "current":0.457, "aenergy":{"total":9429.684,"by_minute":[937.020,1763.438,1649.042],"minute_ts":1706448870},"temperature":{"tC":39.7, "tF":103.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:34","unixtime":1706448871,"uptime":5808265,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:34:31,165 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448860.7000058, power=-109, imported=0.0, exported=301370.16403347463)
2024-01-28 14:34:31,166 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290703, power1: -109, power2: -108
2024-01-28 14:34:31,166 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.315413
2024-01-28 14:34:31,167 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.315413 Wh, new state: SimCounterState(timestamp=1706448871.1653118, power=-108, imported=0.0, exported=301370.4794461707)
2024-01-28 14:34:31,168 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301370.4794461707, dc_power=None)
2024-01-28 14:34:31,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1579, 398, 866, 315], Scale 0
2024-01-28 14:34:31,322 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21, 36, 17], Scale -1
2024-01-28 14:34:31,360 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23937, 24018, 23786, 0, 0, 0, 0], Scale -2
2024-01-28 14:34:31,431 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:34:31,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7500, -9919, -7839], Scale -2
2024-01-28 14:34:31,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872893, 1798611, 2184829, 1457553, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:34:31,472 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.1, -3.6, -1.7000000000000002], powers=[-398.0, -866.0, -315.0], voltages=[239.37, 240.18, 237.86], power_factors=[-0.75, -0.9919, -0.7839], imported=8628767.0, exported=4872893.0, power=-1579.0, frequency=49.97)
2024-01-28 14:34:31,475 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:31,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23184], Scale -1
2024-01-28 14:34:31,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963209], Scale 0
2024-01-28 14:34:31,560 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [326, 326, 322], Scale -2
2024-01-28 14:34:31,579 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23537], Scale -1
2024-01-28 14:34:31,580 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.2600000000000002, 3.2600000000000002, 3.22]
2024-01-28 14:34:31,580 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.2600000000000002, 3.2600000000000002, 3.22], power=-2318.4, exported=7963209.0, dc_power=-2353.7000000000003)
2024-01-28 14:34:31,588 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:31,700 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448861.0304878, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:31,701 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00296387, power1: 0, power2: 0
2024-01-28 14:34:31,701 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:34:31,702 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448871.7004352, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:31,703 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:31,712 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:31,718 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:31,749 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:31,750 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:31,751 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:31,752 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2318.4, exported=8005205.12, dc_power=None)
2024-01-28 14:34:31,752 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301370.4794461707, dc_power=None)
2024-01-28 14:34:31,753 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2318.4, exported=8005205.12, dc_power=None)
2024-01-28 14:34:31,753 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301370.4794461707, dc_power=None)
2024-01-28 14:34:31,806 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:31,806 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.1, -3.6, -1.7000000000000002], powers=[-398.0, -866.0, -315.0], voltages=[239.37, 240.18, 237.86], power_factors=[-0.75, -0.9919, -0.7839], imported=8628767.0, exported=4872893.0, power=-1579.0, frequency=49.97)
2024-01-28 14:34:31,877 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:31,878 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:34:31,879 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5928>
2024-01-28 14:34:31,889 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:31,899 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5928>
2024-01-28 14:34:31,922 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 6, vorherige Payload: 0
2024-01-28 14:34:31,924 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_switch_on_off, Payload 1706448861.466099, vorherige Payload: None
2024-01-28 14:34:32,043 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:34:32,046 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.1, 38.7, 36.7]A
2024-01-28 14:34:32,046 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25579.0W
2024-01-28 14:34:32,047 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:34:32,061 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:34:32,067 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:34:32,069 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:34:32.068776
2024-01-28 14:34:32,070 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136837.247994s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:34:32,071 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:34:32.071456
2024-01-28 14:34:32,073 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:34:32.071456
2024-01-28 14:34:32,074 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53679.481339s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:34:32,081 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:34:32.080641
2024-01-28 14:34:32,083 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129055.86967s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:34:32,084 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:34:32.084331
2024-01-28 14:34:32,087 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:34:32.084331
2024-01-28 14:34:32,088 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52382.574054s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:34:32,089 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:34:32,104 - {control.chargepoint.chargepoint:667} - {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-28 14:34:32,114 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:34:32,116 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448861.377419, power=827.3000000000002, imported=4312294.779550174, exported=0)
2024-01-28 14:34:32,117 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00298319, power1: 827.3, power2: 847.4
2024-01-28 14:34:32,119 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.49798
2024-01-28 14:34:32,120 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.49798 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448872.1169188, power=847.4000000000001, imported=4312297.277527997, exported=0)
2024-01-28 14:34:32,122 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:34:32,124 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:34:32,125 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:34:32,126 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=6, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=1706448861.466099), 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.91, 238.4, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb6f70>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:34:32,127 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:34:32,128 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:34:32,130 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-398.0, -866.0, -315.0], currents=[-2.1, -3.6, -1.7], voltages=[239.37, 240.18, 237.86], power_factors=[-0.75, -0.99, -0.78], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628767.0, exported=4872893.0, fault_state=0, fault_str='Kein Fehler.', power=-1579.0), set=Set(error_counter=0, reserved_surplus=1400, released_surplus=0, raw_power_left=25579.0, raw_currents_left=[37.1, 38.7, 36.7], surplus_power_left=0, state_str=''))
2024-01-28 14:34:32,131 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=847.4000000000001, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312297.277527997, disengageable_smarthome_power=0))
2024-01-28 14:34:32,135 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:34:32,137 - {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-28 14:34:32,139 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:34:32,140 - {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-28 14:34:32,141 - {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-28 14:34:32,142 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:32,143 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:32,144 - {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-28 14:34:32,146 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:34:32,147 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:32,149 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:32,150 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed5b7d8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:34:32,151 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:34:32,152 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:34:32,153 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c3cd0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:34:32,154 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301370.479, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:34:32,156 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005205.12, fault_state=0, fault_str='Kein Fehler.', power=-2318.4))
2024-01-28 14:34:32,157 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306575.599, power=-2426.4))
2024-01-28 14:34:32,158 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448861, 'time': '14:34:21', 'grid': -1.565, 'house-power': 0.827, 'charging-all': 0.0, 'pv-all': 2.392, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:34:32,159 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:34:32,160 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:34:32,161 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:32,162 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:32,163 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:34:32,164 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:34:32,165 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:34:32,166 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:34:32,168 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung wird gestartet, sobald nach 30s die Einschaltverzögerung abgelaufen ist.
2024-01-28 14:34:32,169 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:34:32,172 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:34:32,174 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:34:32,176 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:34:32,178 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1479.0W
2024-01-28 14:34:32,179 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1479.0W
2024-01-28 14:34:32,180 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:34:32,185 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:34:32,186 - {control.algorithm.filter_chargepoints:45} - {INFO:MainThread} - LP 1: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2024-01-28 14:34:32,188 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:34:32,191 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state SWITCH_ON_DELAY
2024-01-28 14:34:32,193 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:32,210 - {control.counter:193} - {INFO:MainThread} - 1400W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:34:35,487 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:35,488 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:40,500 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:40,501 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:40,502 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:34:40,503 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:34:40,550 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:34:40,557 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:40,565 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:34:40,567 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:40,570 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:40,609 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:34:40,613 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.9, "voltage":240.6, "current":0.456, "aenergy":{"total":9429.956,"by_minute":[1209.012,1763.438,1649.042],"minute_ts":1706448879},"temperature":{"tC":39.7, "tF":103.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:34","unixtime":1706448881,"uptime":5808275,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:34:40,619 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448871.1653118, power=-108, imported=0.0, exported=301370.4794461707)
2024-01-28 14:34:40,620 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262601, power1: -108, power2: -108
2024-01-28 14:34:40,622 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1587, 397, 872, 318], Scale 0
2024-01-28 14:34:40,622 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.283609
2024-01-28 14:34:40,631 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.283609 Wh, new state: SimCounterState(timestamp=1706448880.61894, power=-108, imported=0.0, exported=301370.7630550197)
2024-01-28 14:34:40,634 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301370.7630550197, dc_power=None)
2024-01-28 14:34:40,652 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21, 36, 17], Scale -1
2024-01-28 14:34:40,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23868, 23963, 23741, 0, 0, 0, 0], Scale -2
2024-01-28 14:34:40,751 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:34:40,819 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7390, -9860, -7540], Scale -2
2024-01-28 14:34:40,841 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872899, 1798613, 2184833, 1457554, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:34:40,843 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.1, -3.6, -1.7000000000000002], powers=[-397.0, -872.0, -318.0], voltages=[238.68, 239.63, 237.41], power_factors=[-0.7390000000000001, -0.9860000000000001, -0.754], imported=8628767.0, exported=4872899.0, power=-1587.0, frequency=49.97)
2024-01-28 14:34:40,846 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:40,873 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22881], Scale -1
2024-01-28 14:34:40,891 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963215], Scale 0
2024-01-28 14:34:40,911 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [322, 321, 318], Scale -2
2024-01-28 14:34:40,932 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23230], Scale -1
2024-01-28 14:34:40,933 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.22, 3.21, 3.18]
2024-01-28 14:34:40,933 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.22, 3.21, 3.18], power=-2288.1, exported=7963215.0, dc_power=-2323.0)
2024-01-28 14:34:40,935 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:40,980 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448871.7004352, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:40,981 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00257778, power1: 0, power2: 0
2024-01-28 14:34:40,981 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:34:40,982 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448880.9804554, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:40,983 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:40,987 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:40,988 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:41,033 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:41,035 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:41,037 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2288.1, exported=8005211.12, dc_power=None)
2024-01-28 14:34:41,039 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2288.1, exported=8005211.12, dc_power=None)
2024-01-28 14:34:41,040 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:41,042 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301370.7630550197, dc_power=None)
2024-01-28 14:34:41,044 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301370.7630550197, dc_power=None)
2024-01-28 14:34:41,086 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:41,087 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.1, -3.6, -1.7000000000000002], powers=[-397.0, -872.0, -318.0], voltages=[238.68, 239.63, 237.41], power_factors=[-0.7390000000000001, -0.9860000000000001, -0.754], imported=8628767.0, exported=4872899.0, power=-1587.0, frequency=49.97)
2024-01-28 14:34:41,148 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:41,149 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:34:41,149 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d65b0>
2024-01-28 14:34:41,151 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:41,152 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d65b0>
2024-01-28 14:34:41,283 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:34:41,292 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.1, 38.7, 36.7]A
2024-01-28 14:34:41,293 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25587.0W
2024-01-28 14:34:41,294 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:34:41,298 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:34:41,302 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:34:41,305 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:34:41.305099
2024-01-28 14:34:41,306 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136828.011671s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:34:41,308 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:34:41.307731
2024-01-28 14:34:41,309 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:34:41.307731
2024-01-28 14:34:41,314 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53670.245064s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:34:41,317 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:34:41.316499
2024-01-28 14:34:41,318 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129046.633812s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:34:41,320 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:34:41.320135
2024-01-28 14:34:41,321 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:34:41.320135
2024-01-28 14:34:41,323 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52373.33825s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:34:41,324 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:34:41,347 - {control.chargepoint.chargepoint:667} - {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-28 14:34:41,349 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:34:41,368 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448872.1169188, power=847.4000000000001, imported=4312297.277527997, exported=0)
2024-01-28 14:34:41,370 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00256998, power1: 847.4, power2: 809.1
2024-01-28 14:34:41,373 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.12859
2024-01-28 14:34:41,376 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.12859 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448881.3688428, power=809.0999999999999, imported=4312299.406113021, exported=0)
2024-01-28 14:34:41,380 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:34:41,382 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:34:41,385 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:34:41,388 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=6, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=1706448861.466099), 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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.86, 238.26, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d63a0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:34:41,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-28 14:34:41,397 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:34:41,402 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-397.0, -872.0, -318.0], currents=[-2.1, -3.6, -1.7], voltages=[238.68, 239.63, 237.41], power_factors=[-0.74, -0.99, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628767.0, exported=4872899.0, fault_state=0, fault_str='Kein Fehler.', power=-1587.0), set=Set(error_counter=0, reserved_surplus=1400, released_surplus=0, raw_power_left=25587.0, raw_currents_left=[37.1, 38.7, 36.7], surplus_power_left=0, state_str=''))
2024-01-28 14:34:41,405 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=809.0999999999999, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312299.406113021, disengageable_smarthome_power=0))
2024-01-28 14:34:41,406 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:34:41,409 - {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-28 14:34:41,412 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:34:41,413 - {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-28 14:34:41,414 - {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-28 14:34:41,415 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:41,415 - {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=77, soc_timestamp=1706448585.318451, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:41,416 - {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-28 14:34:41,417 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:34:41,418 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:41,419 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:41,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6328>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:34:41,420 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:34:41,420 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:34:41,421 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e3aa8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:34:41,421 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301370.763, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:34:41,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=4491.0, monthly_exported=0, yearly_exported=0, exported=8005211.12, fault_state=0, fault_str='Kein Fehler.', power=-2288.1))
2024-01-28 14:34:41,422 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306581.883, power=-2396.1))
2024-01-28 14:34:41,423 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448872, 'time': '14:34:32', 'grid': -1.579, 'house-power': 0.847, 'charging-all': 0.0, 'pv-all': 2.426, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:34:41,423 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:34:41,424 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:34:41,424 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:41,425 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:41,425 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:34:41,426 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:34:41,426 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:34:41,426 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:34:41,427 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung wird gestartet, sobald nach 30s die Einschaltverzögerung abgelaufen ist.
2024-01-28 14:34:41,428 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:34:41,430 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:34:41,431 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:34:41,433 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:34:41,434 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1487.0W
2024-01-28 14:34:41,434 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1487.0W
2024-01-28 14:34:41,435 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:34:41,436 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:34:41,437 - {control.algorithm.filter_chargepoints:45} - {INFO:MainThread} - LP 1: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2024-01-28 14:34:41,438 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:34:41,445 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state SWITCH_ON_DELAY
2024-01-28 14:34:41,450 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:41,486 - {control.counter:193} - {INFO:MainThread} - 1400W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:34:45,765 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:50,783 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:50,785 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:34:50,791 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:34:50,793 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:34:50,865 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:34:50,882 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:50,891 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:50,895 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:34:50,919 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:50,953 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:34:50,956 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.8, "voltage":240.5, "current":0.456, "aenergy":{"total":9430.259,"by_minute":[1511.383,1763.438,1649.042],"minute_ts":1706448889},"temperature":{"tC":39.8, "tF":103.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:34","unixtime":1706448891,"uptime":5808285,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:34:50,961 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448880.61894, power=-108, imported=0.0, exported=301370.7630550197)
2024-01-28 14:34:50,963 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287299, power1: -108, power2: -108
2024-01-28 14:34:50,974 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.310283
2024-01-28 14:34:50,978 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1599, 396, 874, 329], Scale 0
2024-01-28 14:34:50,981 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.310283 Wh, new state: SimCounterState(timestamp=1706448890.9617002, power=-108, imported=0.0, exported=301371.0733378223)
2024-01-28 14:34:50,993 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.0733378223, dc_power=None)
2024-01-28 14:34:51,051 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22, 36, 17], Scale -1
2024-01-28 14:34:51,072 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23910, 24018, 23762, 0, 0, 0, 0], Scale -2
2024-01-28 14:34:51,100 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:34:51,172 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7770, -9929, -7990], Scale -2
2024-01-28 14:34:51,201 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872903, 1798614, 2184835, 1457555, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:34:51,203 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.2, -3.6, -1.7000000000000002], powers=[-396.0, -874.0, -329.0], voltages=[239.1, 240.18, 237.62], power_factors=[-0.777, -0.9929000000000001, -0.799], imported=8628767.0, exported=4872903.0, power=-1599.0, frequency=49.97)
2024-01-28 14:34:51,206 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:51,219 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23415], Scale -1
2024-01-28 14:34:51,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963222], Scale 0
2024-01-28 14:34:51,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [328, 330, 327], Scale -2
2024-01-28 14:34:51,302 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24069], Scale -1
2024-01-28 14:34:51,303 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.2800000000000002, 3.3000000000000003, 3.27]
2024-01-28 14:34:51,303 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.2800000000000002, 3.3000000000000003, 3.27], power=-2341.5, exported=7963222.0, dc_power=-2406.9)
2024-01-28 14:34:51,305 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:51,372 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448880.9804554, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:51,372 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288657, power1: 0, power2: 0
2024-01-28 14:34:51,373 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:34:51,373 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448891.3721051, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:34:51,374 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:51,380 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:34:51,382 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:34:51,422 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:51,423 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:34:51,424 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:34:51,425 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2341.5, exported=8005218.12, dc_power=None)
2024-01-28 14:34:51,425 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.0733378223, dc_power=None)
2024-01-28 14:34:51,426 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2341.5, exported=8005218.12, dc_power=None)
2024-01-28 14:34:51,427 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.0733378223, dc_power=None)
2024-01-28 14:34:51,468 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:34:51,468 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.2, -3.6, -1.7000000000000002], powers=[-396.0, -874.0, -329.0], voltages=[239.1, 240.18, 237.62], power_factors=[-0.777, -0.9929000000000001, -0.799], imported=8628767.0, exported=4872903.0, power=-1599.0, frequency=49.97)
2024-01-28 14:34:51,527 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:51,527 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:34:51,528 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x701422b0>
2024-01-28 14:34:51,536 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:34:51,539 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x701422b0>
2024-01-28 14:34:51,659 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:34:51,661 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.2, 38.7, 36.7]A
2024-01-28 14:34:51,662 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25599.0W
2024-01-28 14:34:51,664 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:34:51,666 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:34:51,667 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:34:51,669 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:34:51.668521
2024-01-28 14:34:51,671 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136817.648249s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:34:51,673 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:34:51.672640
2024-01-28 14:34:51,674 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:34:51.672640
2024-01-28 14:34:51,676 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53659.880155s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:34:51,679 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:34:51.679373
2024-01-28 14:34:51,681 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129036.270938s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:34:51,683 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:34:51.683188
2024-01-28 14:34:51,685 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:34:51.683188
2024-01-28 14:34:51,688 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52362.975197s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:34:51,689 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:34:51,693 - {control.chargepoint.chargepoint:667} - {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-28 14:34:51,696 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:34:51,707 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448881.3688428, power=809.0999999999999, imported=4312299.406113021, exported=0)
2024-01-28 14:34:51,709 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287173, power1: 809.1, power2: 850.5
2024-01-28 14:34:51,710 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.38296
2024-01-28 14:34:51,711 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.38296 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448891.7070575, power=850.5, imported=4312301.789071495, exported=0)
2024-01-28 14:34:51,717 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:34:51,718 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:34:51,726 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:34:51,728 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=0, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=6, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=1706448861.466099), 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.18, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f754ca0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:34:51,729 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:34:51,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-28 14:34:51,732 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-396.0, -874.0, -329.0], currents=[-2.2, -3.6, -1.7], voltages=[239.1, 240.18, 237.62], power_factors=[-0.78, -0.99, -0.8], unbalanced_load=0, frequency=49.97, daily_exported=11.0, daily_imported=21955.0, imported=8628767.0, exported=4872903.0, fault_state=0, fault_str='Kein Fehler.', power=-1599.0), set=Set(error_counter=0, reserved_surplus=1400, released_surplus=0, raw_power_left=25599.0, raw_currents_left=[37.2, 38.7, 36.7], surplus_power_left=0, state_str=''))
2024-01-28 14:34:51,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=850.5, invalid_home_consumption=0, daily_yield_home_consumption=26252.0, imported_home_consumption=4312301.789071495, disengageable_smarthome_power=0))
2024-01-28 14:34:51,736 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:34:51,738 - {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-28 14:34:51,740 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:34:51,744 - {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-28 14:34:51,746 - {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-28 14:34:51,751 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:51,753 - {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=77, soc_timestamp=1706448886.752484, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:34:51,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-28 14:34:51,756 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:34:51,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-28 14:34:51,758 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:34:51,761 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e3e08>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:34:51,762 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:34:51,763 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:34:51,764 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7fd8b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:34:51,780 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=421.0, monthly_exported=0, yearly_exported=0, exported=301371.073, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:34:51,782 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4491.0, monthly_exported=0, yearly_exported=0, exported=8005218.12, fault_state=0, fault_str='Kein Fehler.', power=-2341.5))
2024-01-28 14:34:51,784 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=4913.0, monthly_exported=0, yearly_exported=0, exported=8306589.193, power=-2449.5))
2024-01-28 14:34:51,785 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448881, 'time': '14:34:41', 'grid': -1.587, 'house-power': 0.809, 'charging-all': 0.0, 'pv-all': 2.396, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:34:51,787 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:34:51,789 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:34:51,793 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:51,794 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:34:51,796 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:34:51,798 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:34:51,800 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:34:51,801 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:34:51,810 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Einschaltschwelle für die Dauer der Einschaltverzögerung überschritten.
2024-01-28 14:34:51,811 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:34:51,815 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:34:51,817 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.2, 32.7, 36.7]A verbleibende Ströme, 24219.0W verbleibende Leistung
2024-01-28 14:34:51,825 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:34:51,830 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:34:51,835 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:34:51,836 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 119.0W
2024-01-28 14:34:51,837 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 119.0W
2024-01-28 14:34:51,839 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:34:51,841 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:34:51,842 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:34:51,844 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 119.0W korrigieren: [0.0, 26.0, 0.0]
2024-01-28 14:34:51,845 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [37.2, 32.18260869565218, 36.7]A verbleibende Ströme, 2.842170943040401e-14W verbleibender Überschuss
2024-01-28 14:34:51,846 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6.517391304347826A
2024-01-28 14:34:51,849 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:34:51,852 - {control.chargepoint.chargepoint:457} - {DEBUG:MainThread} - Lp 1: Ladung aktiv halten 40s
2024-01-28 14:34:51,855 - {modules.common.component_context:25} - {DEBUG:phase switch cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:51,856 - {control.phase_switch:37} - {DEBUG:MainThread} - Thread zur Phasenumschaltung an LP1 gestartet.
2024-01-28 14:34:51,859 - {control.chargepoint.chargepoint:461} - {DEBUG:MainThread} - start phase switch phases_to_use 1control_parameter phases 1
2024-01-28 14:34:51,861 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:34:51,863 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Umschaltung von 3 auf 1 Phase, dafür wird die Ladung unterbrochen.
2024-01-28 14:34:51,874 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state PERFORMING_PHASE_SWITCH
2024-01-28 14:34:51,883 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:34:51,922 - {control.counter:193} - {INFO:MainThread} - 7360W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:34:52,182 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/failed_phase_switches, Payload 1, vorherige Payload: 0
2024-01-28 14:34:52,187 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:34:52,193 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 2, vorherige Payload: 6
2024-01-28 14:34:52,206 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload 1706448891.863353, vorherige Payload: None
2024-01-28 14:34:52,215 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_switch_on_off, Payload None, vorherige Payload: 1706448861.466099
2024-01-28 14:34:52,948 - {modules.common.component_context:25} - {DEBUG:perform phase switch 0} - Update Komponente ['Ladepunkt 0']
2024-01-28 14:34:53,065 - {helpermodules.setdata:339} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/chargepoint/1/set/current, Payload 1 liegt in keinem der angegebenen Wertebereiche.
2024-01-28 14:34:55,248 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:34:55,249 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:00,261 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:00,263 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:35:00,264 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-28 14:35:00,295 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-28 14:35:00,298 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:35:02,300 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:35:02,303 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:35:02,356 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:35:02,358 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:02,380 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:35:02,360 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:02,396 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:02,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1702, 441, 903, 358], Scale 0
2024-01-28 14:35:02,441 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:35:02,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":true, "apower":108.5, "voltage":240.3, "current":0.455, "aenergy":{"total":9430.622,"by_minute":[60.284,1813.280,1763.438],"minute_ts":1706448901},"temperature":{"tC":39.7, "tF":103.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:35","unixtime":1706448902,"uptime":5808297,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:35:02,452 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448890.9617002, power=-108, imported=0.0, exported=301371.0733378223)
2024-01-28 14:35:02,453 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00319192, power1: -108, power2: -108
2024-01-28 14:35:02,454 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.344727
2024-01-28 14:35:02,456 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.344727 Wh, new state: SimCounterState(timestamp=1706448902.4526014, power=-108, imported=0.0, exported=301371.41806485923)
2024-01-28 14:35:02,459 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.41806485923, dc_power=None)
2024-01-28 14:35:02,484 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22, 37, 18], Scale -1
2024-01-28 14:35:02,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23925, 23999, 23743, 0, 0, 0, 0], Scale -2
2024-01-28 14:35:02,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:35:02,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7990, -9919, -8159], Scale -2
2024-01-28 14:35:02,612 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872910, 1798616, 2184839, 1457556, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:35:02,612 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.2, -3.7, -1.8], powers=[-441.0, -903.0, -358.0], voltages=[239.25, 239.99, 237.43], power_factors=[-0.799, -0.9919, -0.8159000000000001], imported=8628767.0, exported=4872910.0, power=-1702.0, frequency=49.97)
2024-01-28 14:35:02,615 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:02,643 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24099], Scale -1
2024-01-28 14:35:02,670 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963229], Scale 0
2024-01-28 14:35:02,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [334, 339, 334], Scale -2
2024-01-28 14:35:02,712 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24297], Scale -1
2024-01-28 14:35:02,713 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.34, 3.39, 3.34]
2024-01-28 14:35:02,715 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.34, 3.39, 3.34], power=-2409.9, exported=7963229.0, dc_power=-2429.7000000000003)
2024-01-28 14:35:02,717 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:02,793 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448891.3721051, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:35:02,795 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00317273, power1: 0, power2: 0
2024-01-28 14:35:02,796 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:35:02,797 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448902.7939177, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:35:02,799 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:35:02,803 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:02,804 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:35:02,930 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:02,932 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:02,933 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2409.9, exported=8005225.12, dc_power=None)
2024-01-28 14:35:02,933 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:02,934 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2409.9, exported=8005225.12, dc_power=None)
2024-01-28 14:35:02,936 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.41806485923, dc_power=None)
2024-01-28 14:35:02,938 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.41806485923, dc_power=None)
2024-01-28 14:35:02,985 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:02,986 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.2, -3.7, -1.8], powers=[-441.0, -903.0, -358.0], voltages=[239.25, 239.99, 237.43], power_factors=[-0.799, -0.9919, -0.8159000000000001], imported=8628767.0, exported=4872910.0, power=-1702.0, frequency=49.97)
2024-01-28 14:35:03,053 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:03,054 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:35:03,055 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c2688>
2024-01-28 14:35:03,058 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:03,060 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c2688>
2024-01-28 14:35:03,184 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:35:03,186 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.2, 38.8, 36.8]A
2024-01-28 14:35:03,187 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25702.0W
2024-01-28 14:35:03,196 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:35:03,201 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:35:03,204 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:35:03,208 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:35:03.208283
2024-01-28 14:35:03,210 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136806.108487s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:35:03,212 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:35:03.212101
2024-01-28 14:35:03,214 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:35:03.212101
2024-01-28 14:35:03,216 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53648.340694s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:35:03,217 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:35:03.216777
2024-01-28 14:35:03,218 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129024.733534s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:35:03,220 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:35:03.220284
2024-01-28 14:35:03,224 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:35:03.220284
2024-01-28 14:35:03,228 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52351.438101s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:35:03,229 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:35:03,245 - {control.chargepoint.chargepoint:667} - {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-28 14:35:03,246 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:35:03,268 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448891.7070575, power=850.5, imported=4312301.789071495, exported=0)
2024-01-28 14:35:03,271 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00321157, power1: 850.5, power2: 815.9
2024-01-28 14:35:03,273 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.67588
2024-01-28 14:35:03,273 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.67588 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448903.2686958, power=815.9000000000001, imported=4312304.46494846, exported=0)
2024-01-28 14:35:03,284 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:35:03,286 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:35:03,287 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:35:03,291 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=2, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=1706448891.863353, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.01, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d54a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:35:03,293 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:35:03,294 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:35:03,299 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-441.0, -903.0, -358.0], currents=[-2.2, -3.7, -1.8], voltages=[239.25, 239.99, 237.43], power_factors=[-0.8, -0.99, -0.82], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628767.0, exported=4872910.0, fault_state=0, fault_str='Kein Fehler.', power=-1702.0), set=Set(error_counter=0, reserved_surplus=7360, released_surplus=0, raw_power_left=25702.0, raw_currents_left=[37.2, 38.8, 36.8], surplus_power_left=0, state_str=''))
2024-01-28 14:35:03,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=815.9000000000001, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312304.46494846, disengageable_smarthome_power=0))
2024-01-28 14:35:03,302 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:35:03,303 - {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-28 14:35:03,305 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:35:03,306 - {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-28 14:35:03,307 - {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-28 14:35:03,308 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:03,309 - {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=77, soc_timestamp=1706448886.752484, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:03,309 - {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-28 14:35:03,310 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:35:03,311 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:03,311 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:03,312 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed8a0e8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:35:03,312 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:35:03,313 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:35:03,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 0x6f7cb328>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:35:03,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=429.0, monthly_exported=0, yearly_exported=0, exported=301371.418, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:35:03,314 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005225.12, fault_state=0, fault_str='Kein Fehler.', power=-2409.9))
2024-01-28 14:35:03,314 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306596.538, power=-2517.9))
2024-01-28 14:35:03,315 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448891, 'time': '14:34:51', 'grid': -1.599, 'house-power': 0.851, 'charging-all': 0.0, 'pv-all': 2.45, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:35:03,315 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:35:03,316 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:35:03,316 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:03,317 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:03,317 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:35:03,317 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:35:03,318 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:35:03,318 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:35:03,319 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:35:03,321 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:35:03,322 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:35:03,324 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:35:03,325 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1602.0W
2024-01-28 14:35:03,325 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1602.0W
2024-01-28 14:35:03,325 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:35:03,327 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:35:03,327 - {control.algorithm.filter_chargepoints:45} - {INFO:MainThread} - LP 1: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2024-01-28 14:35:03,328 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:35:03,333 - {control.chargepoint.chargepoint:422} - {DEBUG:MainThread} - phase switch running
2024-01-28 14:35:03,337 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state WAIT_FOR_USING_PHASES
2024-01-28 14:35:03,340 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:03,369 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:35:03,632 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 3, vorherige Payload: 2
2024-01-28 14:35:03,634 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload None, vorherige Payload: 1706448891.863353
2024-01-28 14:35:05,647 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:05,648 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:10,660 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:10,661 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:10,662 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:35:10,662 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:35:10,708 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:35:10,710 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:10,717 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:35:10,718 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:10,721 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:10,761 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:35:10,763 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.5, "voltage":240.6, "current":0.455, "aenergy":{"total":9430.864,"by_minute":[301.422,1813.280,1763.438],"minute_ts":1706448909},"temperature":{"tC":39.9, "tF":103.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:35","unixtime":1706448911,"uptime":5808305,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:35:10,766 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448902.4526014, power=-108, imported=0.0, exported=301371.41806485923)
2024-01-28 14:35:10,776 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00230931, power1: -108, power2: -108
2024-01-28 14:35:10,777 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.249405
2024-01-28 14:35:10,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1708, 440, 909, 359], Scale 0
2024-01-28 14:35:10,779 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.249405 Wh, new state: SimCounterState(timestamp=1706448910.7661161, power=-108, imported=0.0, exported=301371.6674703005)
2024-01-28 14:35:10,782 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.6674703005, dc_power=None)
2024-01-28 14:35:10,814 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22, 37, 18], Scale -1
2024-01-28 14:35:10,839 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23945, 24030, 23775, 0, 0, 0, 0], Scale -2
2024-01-28 14:35:10,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:35:10,898 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-8009, -9940, -8259], Scale -2
2024-01-28 14:35:10,930 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872914, 1798617, 2184841, 1457557, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:35:10,931 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.2, -3.7, -1.8], powers=[-440.0, -909.0, -359.0], voltages=[239.45000000000002, 240.3, 237.75], power_factors=[-0.8009000000000001, -0.9940000000000001, -0.8259000000000001], imported=8628767.0, exported=4872914.0, power=-1708.0, frequency=49.97)
2024-01-28 14:35:10,933 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:10,949 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24419], Scale -1
2024-01-28 14:35:10,971 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963235], Scale 0
2024-01-28 14:35:11,022 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [342, 342, 341], Scale -2
2024-01-28 14:35:11,049 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24791], Scale -1
2024-01-28 14:35:11,050 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.42, 3.42, 3.41]
2024-01-28 14:35:11,050 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.42, 3.42, 3.41], power=-2441.9, exported=7963235.0, dc_power=-2479.1000000000004)
2024-01-28 14:35:11,052 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:11,099 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448902.7939177, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:35:11,100 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00230715, power1: 0, power2: 0
2024-01-28 14:35:11,100 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-28 14:35:11,101 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448911.0996597, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:35:11,102 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:35:11,118 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:11,119 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174149.82237598696, exported=132153.6990891164, power=0.0, soc=10.0)
2024-01-28 14:35:11,167 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:11,169 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:11,169 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2441.9, exported=8005231.12, dc_power=None)
2024-01-28 14:35:11,170 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2441.9, exported=8005231.12, dc_power=None)
2024-01-28 14:35:11,173 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:11,174 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.6674703005, dc_power=None)
2024-01-28 14:35:11,175 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.6674703005, dc_power=None)
2024-01-28 14:35:11,212 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:11,212 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.2, -3.7, -1.8], powers=[-440.0, -909.0, -359.0], voltages=[239.45000000000002, 240.3, 237.75], power_factors=[-0.8009000000000001, -0.9940000000000001, -0.8259000000000001], imported=8628767.0, exported=4872914.0, power=-1708.0, frequency=49.97)
2024-01-28 14:35:11,320 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:11,321 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:35:11,321 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6640>
2024-01-28 14:35:11,330 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:11,332 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6640>
2024-01-28 14:35:11,349 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 3, vorherige Payload: 2
2024-01-28 14:35:11,351 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload None, vorherige Payload: 1706448891.863353
2024-01-28 14:35:11,470 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:35:11,472 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.2, 38.8, 36.8]A
2024-01-28 14:35:11,473 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25708.0W
2024-01-28 14:35:11,475 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:35:11,479 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:35:11,481 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:35:11,482 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:35:11.482208
2024-01-28 14:35:11,485 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136797.834562s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:35:11,487 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:35:11.486660
2024-01-28 14:35:11,488 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:35:11.486660
2024-01-28 14:35:11,491 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53640.066135s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:35:11,493 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:35:11.493018
2024-01-28 14:35:11,494 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129016.457293s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:35:11,497 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:35:11.497247
2024-01-28 14:35:11,498 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:35:11.497247
2024-01-28 14:35:11,500 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52343.161138s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:35:11,502 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:35:11,507 - {control.chargepoint.chargepoint:667} - {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-28 14:35:11,525 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:35:11,538 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448903.2686958, power=815.9000000000001, imported=4312304.46494846, exported=0)
2024-01-28 14:35:11,539 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00229704, power1: 815.9, power2: 841.9
2024-01-28 14:35:11,542 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.90401
2024-01-28 14:35:11,544 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.90401 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448911.5380278, power=841.9000000000001, imported=4312306.368962138, exported=0)
2024-01-28 14:35:11,552 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174149.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-28 14:35:11,554 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174149.82, exported=132153.7, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:35:11,556 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=0, imported=7628171.88, exported=0))
2024-01-28 14:35:11,558 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=3, 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=77), currents=[0.1, 0.0, 0.0], daily_imported=82.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628171.88, phases_in_use=0, 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, 238.17, 239.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='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c6958>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:35:11,560 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:35:11,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-28 14:35:11,563 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-440.0, -909.0, -359.0], currents=[-2.2, -3.7, -1.8], voltages=[239.45, 240.3, 237.75], power_factors=[-0.8, -0.99, -0.83], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628767.0, exported=4872914.0, fault_state=0, fault_str='Kein Fehler.', power=-1708.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25708.0, raw_currents_left=[37.2, 38.8, 36.8], surplus_power_left=0, state_str=''))
2024-01-28 14:35: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=841.9000000000001, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312306.368962138, disengageable_smarthome_power=0))
2024-01-28 14:35:11,573 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:35:11,575 - {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-28 14:35:11,577 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:35:11,578 - {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-28 14:35:11,580 - {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-28 14:35:11,582 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:11,585 - {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=77, soc_timestamp=1706448886.752484, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:11,587 - {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-28 14:35:11,588 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:35:11,590 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:11,592 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:11,592 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cb6a0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:35:11,593 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:35:11,594 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:35:11,595 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed5bd48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:35:11,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=429.0, monthly_exported=0, yearly_exported=0, exported=301371.667, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:35:11,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=4698.0, monthly_exported=0, yearly_exported=0, exported=8005231.12, fault_state=0, fault_str='Kein Fehler.', power=-2441.9))
2024-01-28 14:35:11,598 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306602.7870000005, power=-2549.9))
2024-01-28 14:35:11,599 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448903, 'time': '14:35:03', 'grid': -1.702, 'house-power': 0.816, 'charging-all': 0.0, 'pv-all': 2.518, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:35:11,599 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:35:11,600 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:35:11,600 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:11,601 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:11,602 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:35:11,602 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:35:11,603 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:35:11,603 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:35:11,604 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:35:11,606 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:35:11,607 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.2, 32.8, 36.8]A verbleibende Ströme, 24328.0W verbleibende Leistung
2024-01-28 14:35:11,607 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:35:11,609 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:35:11,611 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:35:11,611 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 228.0W
2024-01-28 14:35:11,612 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 228.0W
2024-01-28 14:35:11,612 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:35:11,614 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:35:11,615 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:35:11,616 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 228.0W korrigieren: [0.0, 26.0, 0.0]
2024-01-28 14:35:11,617 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [37.2, 31.80869565217391, 36.8]A verbleibende Ströme, -1.1368683772161603e-13W verbleibender Überschuss
2024-01-28 14:35:11,625 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6.9913043478260875A
2024-01-28 14:35:11,632 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:35:11,637 - {control.process:111} - {INFO:MainThread} - LP1: set current 6.99 A, state WAIT_FOR_USING_PHASES
2024-01-28 14:35:11,642 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:11,705 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:35:15,009 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:20,024 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:20,025 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:20,026 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:35:20,026 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:35:20,074 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:35:20,075 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:20,081 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:35:20,083 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:20,084 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:20,118 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3019, -608, -1732, -678], Scale 0
2024-01-28 14:35:20,128 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:35:20,130 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.3, "voltage":239.2, "current":0.456, "aenergy":{"total":9431.167,"by_minute":[602.845,1813.280,1763.438],"minute_ts":1706448919},"temperature":{"tC":39.9, "tF":103.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:35","unixtime":1706448920,"uptime":5808314,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:35:20,132 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448910.7661161, power=-108, imported=0.0, exported=301371.6674703005)
2024-01-28 14:35:20,132 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260165, power1: -108, power2: -108
2024-01-28 14:35:20,133 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.280978
2024-01-28 14:35:20,133 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.280978 Wh, new state: SimCounterState(timestamp=1706448920.132045, power=-108, imported=0.0, exported=301371.9484481672)
2024-01-28 14:35:20,134 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.9484481672, dc_power=None)
2024-01-28 14:35:20,182 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22, 38, 18], Scale -1
2024-01-28 14:35:20,209 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23927, 24032, 23765, 0, 0, 0, 0], Scale -2
2024-01-28 14:35:20,228 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:35:20,301 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7900, -9940, -8230], Scale -2
2024-01-28 14:35:20,332 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872916, 1798617, 2184842, 1457558, 8628767, 3551343, 2508496, 3137028], Scale 0
2024-01-28 14:35:20,333 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[2.2, 3.8000000000000003, 1.8], powers=[608.0, 1732.0, 678.0], voltages=[239.27, 240.32, 237.65], power_factors=[-0.79, -0.9940000000000001, -0.823], imported=8628767.0, exported=4872916.0, power=3019.0, frequency=49.99)
2024-01-28 14:35:20,336 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:20,366 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6845], Scale -1
2024-01-28 14:35:20,394 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963239], Scale 0
2024-01-28 14:35:20,420 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [93, 101, 101], Scale -2
2024-01-28 14:35:20,442 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6949], Scale -1
2024-01-28 14:35:20,443 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.93, 1.01, 1.01], power=684.5, exported=7963239.0, dc_power=694.9000000000001)
2024-01-28 14:35:20,446 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:20,522 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448911.0996597, power=0.0, imported=174149.82237598696, exported=132153.6990891164)
2024-01-28 14:35:20,523 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261743, power1: 0, power2: 3208
2024-01-28 14:35:20,525 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 4.19836
2024-01-28 14:35:20,526 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 4.19836 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448920.5224223, power=3208.0, imported=174154.0207402265, exported=132153.6990891164)
2024-01-28 14:35:20,529 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174154.0207402265, exported=132153.6990891164, power=3208.0, soc=10.0)
2024-01-28 14:35:20,535 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:20,536 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174154.0207402265, exported=132153.6990891164, power=3208.0, soc=10.0)
2024-01-28 14:35:20,645 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:20,646 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:20,648 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:20,655 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.9484481672, dc_power=None)
2024-01-28 14:35:20,656 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301371.9484481672, dc_power=None)
2024-01-28 14:35:20,649 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2523.5, exported=8005239.32, dc_power=None)
2024-01-28 14:35:20,659 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2523.5, exported=8005239.32, dc_power=None)
2024-01-28 14:35:20,704 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:20,705 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[2.2, 3.8000000000000003, 1.8], powers=[608.0, 1732.0, 678.0], voltages=[239.27, 240.32, 237.65], power_factors=[-0.79, -0.9940000000000001, -0.823], imported=8628767.0, exported=4872916.0, power=3019.0, frequency=49.99)
2024-01-28 14:35:20,782 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:20,784 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:35:20,785 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edb3b38>
2024-01-28 14:35:20,790 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:20,794 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edb3b38>
2024-01-28 14:35:20,812 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174154.02, vorherige Payload: 174149.82
2024-01-28 14:35:20,813 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 3208.0, vorherige Payload: 0.0
2024-01-28 14:35:20,932 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:35:20,934 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [32.83, 37.91, 33.2]A
2024-01-28 14:35:20,935 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21976.29W
2024-01-28 14:35:20,936 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:35:20,938 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:35:20,939 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:35:20,941 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:35:20.940823
2024-01-28 14:35:20,942 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136788.375947s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:35:20,944 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:35:20.944028
2024-01-28 14:35:20,945 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:35:20.944028
2024-01-28 14:35:20,947 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53630.608767s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:35:20,949 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:35:20.948860
2024-01-28 14:35:20,950 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 129007.001451s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:35:20,952 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:35:20.951867
2024-01-28 14:35:20,953 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:35:20.951867
2024-01-28 14:35:20,955 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52333.706518s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:35:20,956 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:35:20,961 - {control.chargepoint.chargepoint:667} - {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: 6.71
2024-01-28 14:35:20,962 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:35:20,973 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448911.5380278, power=841.9000000000001, imported=4312306.368962138, exported=0)
2024-01-28 14:35:20,984 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262087, power1: 841.9, power2: 1447.21
2024-01-28 14:35:20,986 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.99974
2024-01-28 14:35:20,987 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.99974 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448920.9731772, power=1447.21, imported=4312309.368697543, exported=0)
2024-01-28 14:35:20,990 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174154.02, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=3208.0))
2024-01-28 14:35:20,992 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174154.02, exported=132153.7, power=3208.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:35:20,994 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=995.29, imported=7628172.85, exported=0))
2024-01-28 14:35:20,997 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=3, 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=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=77), currents=[6.71, 0.0, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=699, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628172.85, phases_in_use=1, plug_state=True, power=995.29, 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.15, 238.01, 239.36]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6.99, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=0, imported_since_plugged=23.929999999701977, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d5b08>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:35:20,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-28 14:35:21,000 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:35:21,003 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[608.0, 1732.0, 678.0], currents=[2.2, 3.8, 1.8], voltages=[239.27, 240.32, 237.65], power_factors=[-0.79, -0.99, -0.82], unbalanced_load=0, frequency=49.99, daily_exported=39.0, daily_imported=22103.0, imported=8628767.0, exported=4872916.0, fault_state=0, fault_str='Kein Fehler.', power=3019.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21976.29, raw_currents_left=[32.83, 37.91, 33.2], surplus_power_left=0, state_str=''))
2024-01-28 14:35:21,005 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1447.21, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312309.368697543, disengageable_smarthome_power=0))
2024-01-28 14:35:21,006 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:35:21,007 - {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-28 14:35:21,009 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:35:21,010 - {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-28 14:35:21,011 - {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-28 14:35:21,011 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:21,013 - {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=77, soc_timestamp=1706448886.752484, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:21,016 - {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-28 14:35:21,017 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:35:21,018 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:21,020 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:21,022 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d9b68>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:35:21,024 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:35:21,027 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:35:21,028 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cf400>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:35:21,030 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301371.948, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:35:21,030 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005239.32, fault_state=0, fault_str='Kein Fehler.', power=-2523.5))
2024-01-28 14:35:21,031 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306611.268, power=-2631.5))
2024-01-28 14:35:21,036 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448911, 'time': '14:35:11', 'grid': -1.708, 'house-power': 0.842, 'charging-all': 0.0, 'pv-all': 2.55, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:35:21,039 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:35:21,040 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:35:21,042 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:21,043 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:21,044 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:35:21,047 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:35:21,048 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:35:21,049 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:35:21,051 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:35:21,054 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:35:21,056 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [32.83, 31.909999999999997, 33.2]A verbleibende Ströme, 20596.29W verbleibende Leistung
2024-01-28 14:35:21,058 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:35:21,060 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:35:21,063 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:35:21,064 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3503.709999999999W
2024-01-28 14:35:21,065 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -3503.709999999999W
2024-01-28 14:35:21,067 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:35:21,069 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:35:21,073 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state WAIT_FOR_USING_PHASES
2024-01-28 14:35:21,077 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:21,147 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:35:21,455 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:35:21,457 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:35:25,470 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:25,471 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:30,486 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:30,507 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:35:30,509 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:35:30,626 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:35:30,628 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:30,645 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:30,646 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:30,650 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:35:30,682 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 337, -607, 279], Scale 0
2024-01-28 14:35:30,715 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:35:30,718 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.3, "voltage":239.6, "current":0.456, "aenergy":{"total":9431.470,"by_minute":[903.318,1813.280,1763.438],"minute_ts":1706448929},"temperature":{"tC":40.0, "tF":104.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:35","unixtime":1706448931,"uptime":5808325,"ram_size":248992,"ram_free":145000,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:35:30,722 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448920.132045, power=-108, imported=0.0, exported=301371.9484481672)
2024-01-28 14:35:30,723 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294185, power1: -108, power2: -108
2024-01-28 14:35:30,725 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.31772
2024-01-28 14:35:30,727 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.31772 Wh, new state: SimCounterState(timestamp=1706448930.7227163, power=-108, imported=0.0, exported=301372.26616830623)
2024-01-28 14:35:30,729 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301372.26616830623, dc_power=None)
2024-01-28 14:35:30,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 73, 30], Scale -1
2024-01-28 14:35:30,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23888, 23883, 23750, 0, 0, 0, 0], Scale -2
2024-01-28 14:35:30,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:35:30,840 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8500, 9819, 9259], Scale -2
2024-01-28 14:35:30,865 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798617, 2184843, 1457558, 8628772, 3551345, 2508499, 3137030], Scale 0
2024-01-28 14:35:30,866 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.9000000000000004, 7.300000000000001, -3.0], powers=[-337.0, 607.0, -279.0], voltages=[238.88, 238.83, 237.5], power_factors=[0.85, 0.9819, 0.9259000000000001], imported=8628772.0, exported=4872917.0, power=-10.0, frequency=49.97)
2024-01-28 14:35:30,869 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:31,069 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21782], Scale -1
2024-01-28 14:35:31,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963244], Scale 0
2024-01-28 14:35:31,169 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [306, 308, 303], Scale -2
2024-01-28 14:35:31,228 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22114], Scale -1
2024-01-28 14:35:31,229 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.06, 3.08, 3.0300000000000002]
2024-01-28 14:35:31,229 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.06, 3.08, 3.0300000000000002], power=-2178.2000000000003, exported=7963244.0, dc_power=-2211.4)
2024-01-28 14:35:31,231 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:31,269 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448920.5224223, power=3208.0, imported=174154.0207402265, exported=132153.6990891164)
2024-01-28 14:35:31,269 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00298518, power1: 3208, power2: 342
2024-01-28 14:35:31,270 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 5.2987
2024-01-28 14:35:31,270 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 5.2987 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448931.269081, power=342.0, imported=174159.3194400525, exported=132153.6990891164)
2024-01-28 14:35:31,271 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174159.3194400525, exported=132153.6990891164, power=342.0, soc=10.0)
2024-01-28 14:35:31,279 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:31,286 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174159.3194400525, exported=132153.6990891164, power=342.0, soc=10.0)
2024-01-28 14:35:31,335 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:31,339 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:31,341 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2520.2000000000003, exported=8005249.62, dc_power=None)
2024-01-28 14:35:31,343 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:31,345 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2520.2000000000003, exported=8005249.62, dc_power=None)
2024-01-28 14:35:31,347 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301372.26616830623, dc_power=None)
2024-01-28 14:35:31,349 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301372.26616830623, dc_power=None)
2024-01-28 14:35:31,392 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:31,393 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.9000000000000004, 7.300000000000001, -3.0], powers=[-337.0, 607.0, -279.0], voltages=[238.88, 238.83, 237.5], power_factors=[0.85, 0.9819, 0.9259000000000001], imported=8628772.0, exported=4872917.0, power=-10.0, frequency=49.97)
2024-01-28 14:35:31,453 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:31,454 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:35:31,455 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e3268>
2024-01-28 14:35:31,463 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:31,465 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e3268>
2024-01-28 14:35:31,483 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174159.32, vorherige Payload: 174154.02
2024-01-28 14:35:31,485 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 342.0, vorherige Payload: 3208.0
2024-01-28 14:35:31,489 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:35:31,490 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:35:31,616 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:35:31,618 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.93, 33.77, 37.98]A
2024-01-28 14:35:31,619 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25445.12W
2024-01-28 14:35:31,622 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:35:31,624 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:35:31,625 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:35:31,627 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:35:31.627307
2024-01-28 14:35:31,629 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136777.689463s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:35:31,632 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:35:31.631480
2024-01-28 14:35:31,633 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:35:31.631480
2024-01-28 14:35:31,635 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53619.921315s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:35:31,636 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:35:31.636290
2024-01-28 14:35:31,637 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128996.314021s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:35:31,640 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:35:31.639642
2024-01-28 14:35:31,641 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:35:31.639642
2024-01-28 14:35:31,642 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52323.018743s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:35:31,644 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:35:31,647 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:35:31,649 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:35:31,658 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448920.9731772, power=1447.21, imported=4312309.368697543, exported=0)
2024-01-28 14:35:31,668 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0029681, power1: 1447.21, power2: 841.08
2024-01-28 14:35:31,677 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 3.39594
2024-01-28 14:35:31,678 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 3.39594 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448931.6583424, power=841.0799999999999, imported=4312312.76463596, exported=0)
2024-01-28 14:35:31,681 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174159.32, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=342.0))
2024-01-28 14:35:31,682 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174159.32, exported=132153.7, power=342.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:35:31,683 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1435.12, imported=7628176.76, exported=0))
2024-01-28 14:35:31,685 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=3, 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=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=77), currents=[6.07, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628176.76, phases_in_use=1, plug_state=True, power=1435.12, 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.68, 238.41, 239.57]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=24.899999999441206, imported_since_plugged=24.899999999441206, range_charged=0.12449999999720604, time_charged='0:00', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c6028>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:35:31,686 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:35:31,687 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:35:31,689 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-337.0, 607.0, -279.0], currents=[-2.9, 7.3, -3.0], voltages=[238.88, 238.83, 237.5], power_factors=[0.85, 0.98, 0.93], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628772.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-10.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25445.12, raw_currents_left=[37.93, 33.77, 37.98], surplus_power_left=0, state_str=''))
2024-01-28 14:35:31,690 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=841.0799999999999, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312312.76463596, disengageable_smarthome_power=0))
2024-01-28 14:35:31,693 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:35:31,694 - {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-28 14:35:31,696 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:35:31,697 - {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-28 14:35:31,698 - {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-28 14:35:31,699 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:31,703 - {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=77, soc_timestamp=1706448886.752484, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:31,705 - {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-28 14:35:31,710 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:35:31,711 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:31,712 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:31,714 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c2be0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:35:31,715 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:35:31,716 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:35:31,718 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb3340>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:35:31,720 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301372.266, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:35:31,722 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005249.62, fault_state=0, fault_str='Kein Fehler.', power=-2520.2))
2024-01-28 14:35:31,723 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306621.886, power=-2628.2))
2024-01-28 14:35:31,724 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448921, 'time': '14:35:21', 'grid': 3.019, 'house-power': 1.447, 'charging-all': 0.995, 'pv-all': 2.631, 'cp1-power': 0.995, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 3.208, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:35:31,726 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:35:31,729 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:35:31,730 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:31,731 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:31,733 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:35:31,735 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:35:31,736 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:35:31,738 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:35:31,739 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:35:31,743 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:35:31,745 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.93, 27.770000000000003, 37.98]A verbleibende Ströme, 24065.12W verbleibende Leistung
2024-01-28 14:35:31,747 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:35:31,749 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:35:31,752 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:35:31,753 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -34.88000000000102W
2024-01-28 14:35:31,755 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -34.88000000000102W
2024-01-28 14:35:31,758 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:35:31,762 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:35:31,771 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state WAIT_FOR_USING_PHASES
2024-01-28 14:35:31,784 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:31,869 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:35:35,160 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:35,161 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:40,176 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:40,179 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:40,180 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:35:40,181 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:35:40,272 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:35:40,274 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:40,281 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:35:40,283 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:40,309 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:40,349 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9, 337, -611, 265], Scale 0
2024-01-28 14:35:40,355 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:35:40,357 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.2, "voltage":239.6, "current":0.455, "aenergy":{"total":9431.772,"by_minute":[1203.791,1813.280,1763.438],"minute_ts":1706448939},"temperature":{"tC":39.9, "tF":103.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:35","unixtime":1706448940,"uptime":5808335,"ram_size":248984,"ram_free":144888,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:35:40,360 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448930.7227163, power=-108, imported=0.0, exported=301372.26616830623)
2024-01-28 14:35:40,361 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267707, power1: -108, power2: -108
2024-01-28 14:35:40,362 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.289124
2024-01-28 14:35:40,362 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.289124 Wh, new state: SimCounterState(timestamp=1706448940.3601775, power=-108, imported=0.0, exported=301372.5552921418)
2024-01-28 14:35:40,364 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301372.5552921418, dc_power=None)
2024-01-28 14:35:40,378 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:35:40,413 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23914, 23926, 23794, 0, 0, 0, 0], Scale -2
2024-01-28 14:35:40,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:35:40,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6990, 8880, -7459], Scale -2
2024-01-28 14:35:40,499 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798619, 2184843, 1457559, 8628773, 3551345, 2508502, 3137030], Scale 0
2024-01-28 14:35:40,500 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-337.0, 611.0, -265.0], voltages=[239.14000000000001, 239.26, 237.94], power_factors=[-0.6990000000000001, 0.888, -0.7459], imported=8628773.0, exported=4872917.0, power=9.0, frequency=49.97)
2024-01-28 14:35:40,512 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:40,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21455], Scale -1
2024-01-28 14:35:40,581 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963250], Scale 0
2024-01-28 14:35:40,623 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [302, 303, 298], Scale -2
2024-01-28 14:35:40,709 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21954], Scale -1
2024-01-28 14:35:40,710 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.02, 3.0300000000000002, 2.98]
2024-01-28 14:35:40,710 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.02, 3.0300000000000002, 2.98], power=-2145.5, exported=7963250.0, dc_power=-2195.4)
2024-01-28 14:35:40,733 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:40,816 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448931.269081, power=342.0, imported=174159.3194400525, exported=132153.6990891164)
2024-01-28 14:35:40,817 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265193, power1: 342, power2: 377
2024-01-28 14:35:40,818 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0.953369
2024-01-28 14:35:40,819 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0.953369 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448940.8160298, power=377.0, imported=174160.27280895453, exported=132153.6990891164)
2024-01-28 14:35:40,821 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174160.27280895453, exported=132153.6990891164, power=377.0, soc=10.0)
2024-01-28 14:35:40,830 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:40,836 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174160.27280895453, exported=132153.6990891164, power=377.0, soc=10.0)
2024-01-28 14:35:41,050 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:41,051 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:41,052 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2522.5, exported=8005256.57, dc_power=None)
2024-01-28 14:35:41,052 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2522.5, exported=8005256.57, dc_power=None)
2024-01-28 14:35:41,054 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:41,061 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301372.5552921418, dc_power=None)
2024-01-28 14:35:41,062 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301372.5552921418, dc_power=None)
2024-01-28 14:35:41,101 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:41,102 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-337.0, 611.0, -265.0], voltages=[239.14000000000001, 239.26, 237.94], power_factors=[-0.6990000000000001, 0.888, -0.7459], imported=8628773.0, exported=4872917.0, power=9.0, frequency=49.97)
2024-01-28 14:35:41,158 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:41,159 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:35:41,159 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cb220>
2024-01-28 14:35:41,162 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:41,163 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cb220>
2024-01-28 14:35:41,183 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174160.27, vorherige Payload: 174159.32
2024-01-28 14:35:41,184 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 377.0, vorherige Payload: 342.0
2024-01-28 14:35:41,304 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:35:41,317 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.26, 36.47]A
2024-01-28 14:35:41,319 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25426.78W
2024-01-28 14:35:41,323 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:35:41,331 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:35:41,332 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:35:41,335 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:35:41.334922
2024-01-28 14:35:41,336 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136767.981848s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:35:41,338 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:35:41.338120
2024-01-28 14:35:41,339 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:35:41.338120
2024-01-28 14:35:41,340 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53610.214675s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:35:41,342 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:35:41.342437
2024-01-28 14:35:41,345 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128986.607874s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:35:41,357 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:35:41.357007
2024-01-28 14:35:41,358 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:35:41.357007
2024-01-28 14:35:41,359 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52313.301378s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:35:41,360 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:35:41,366 - {control.chargepoint.chargepoint:667} - {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: 6.06
2024-01-28 14:35:41,369 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:35:41,388 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448931.6583424, power=841.0799999999999, imported=4312312.76463596, exported=0)
2024-01-28 14:35:41,389 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00270292, power1: 841.08, power2: 826.72
2024-01-28 14:35:41,390 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.25396
2024-01-28 14:35:41,391 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.25396 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448941.3888435, power=826.72, imported=4312315.01859844, exported=0)
2024-01-28 14:35:41,396 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, imported=174160.27, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=377.0))
2024-01-28 14:35:41,402 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174160.27, exported=132153.7, power=377.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:35:41,404 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1435.78, imported=7628181.15, exported=0))
2024-01-28 14:35:41,409 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=3, 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=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=77), currents=[6.06, -0.03, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628181.15, phases_in_use=1, plug_state=True, power=1435.78, 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.72, 238.35, 239.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=28.809999999590218, imported_since_plugged=28.809999999590218, range_charged=0.1440499999979511, time_charged='0:00', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb3af0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:35:41,416 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:35:41,420 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:35:41,422 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-337.0, 611.0, -265.0], currents=[-2.0, 2.8, -1.5], voltages=[239.14, 239.26, 237.94], power_factors=[-0.7, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=9.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25426.78, raw_currents_left=[37.03, 38.26, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:35:41,426 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=826.72, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312315.01859844, disengageable_smarthome_power=0))
2024-01-28 14:35:41,431 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:35:41,433 - {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-28 14:35:41,436 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:35:41,437 - {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-28 14:35:41,438 - {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-28 14:35:41,449 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:41,451 - {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=77, soc_timestamp=1706448886.752484, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:41,453 - {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-28 14:35:41,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-28 14:35:41,458 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:41,459 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:41,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e2af0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:35:41,464 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:35:41,466 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:35:41,467 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6da8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:35:41,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=429.0, monthly_exported=0, yearly_exported=0, exported=301372.555, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:35:41,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=4698.0, monthly_exported=0, yearly_exported=0, exported=8005256.57, fault_state=0, fault_str='Kein Fehler.', power=-2522.5))
2024-01-28 14:35:41,470 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306629.125, power=-2630.5))
2024-01-28 14:35:41,471 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448931, 'time': '14:35:31', 'grid': -0.01, 'house-power': 0.841, 'charging-all': 1.435, 'pv-all': 2.628, 'cp1-power': 1.435, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.342, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:35:41,472 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:35:41,473 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:35:41,474 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:41,475 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:41,476 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:35:41,477 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:35:41,478 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:35:41,479 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:35:41,480 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:35:41,483 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:35:41,484 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.26, 36.47]A verbleibende Ströme, 24046.78W verbleibende Leistung
2024-01-28 14:35:41,485 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:35:41,486 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:35:41,488 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:35:41,489 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -53.220000000001164W
2024-01-28 14:35:41,489 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -53.220000000001164W
2024-01-28 14:35:41,490 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:35:41,490 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:35:41,496 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:35:41,528 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:41,561 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:35:41,869 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 4, vorherige Payload: 3
2024-01-28 14:35:45,886 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:50,901 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:50,904 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:35:50,905 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:35:50,907 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:35:50,963 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:35:50,967 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:50,980 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:35:50,983 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:50,987 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:51,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5, 343, -612, 274], Scale 0
2024-01-28 14:35:51,032 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:35:51,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":true, "apower":107.9, "voltage":239.5, "current":0.454, "aenergy":{"total":9432.105,"by_minute":[1534.168,1813.280,1763.438],"minute_ts":1706448950},"temperature":{"tC":40.0, "tF":104.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:35","unixtime":1706448951,"uptime":5808345,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:35:51,042 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448940.3601775, power=-108, imported=0.0, exported=301372.5552921418)
2024-01-28 14:35:51,043 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00296738, power1: -108, power2: -107
2024-01-28 14:35:51,047 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.318993
2024-01-28 14:35:51,047 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.318993 Wh, new state: SimCounterState(timestamp=1706448951.0427341, power=-107, imported=0.0, exported=301372.87428515224)
2024-01-28 14:35:51,050 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301372.87428515224, dc_power=None)
2024-01-28 14:35:51,076 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:35:51,110 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23934, 23937, 23807, 0, 0, 0, 0], Scale -2
2024-01-28 14:35:51,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:35:51,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7200, 8909, -7490], Scale -2
2024-01-28 14:35:51,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798620, 2184843, 1457560, 8628773, 3551345, 2508503, 3137030], Scale 0
2024-01-28 14:35:51,171 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-343.0, 612.0, -274.0], voltages=[239.34, 239.37, 238.07], power_factors=[-0.72, 0.8909, -0.7490000000000001], imported=8628773.0, exported=4872917.0, power=-5.0, frequency=49.97)
2024-01-28 14:35:51,172 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:51,189 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21554], Scale -1
2024-01-28 14:35:51,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963257], Scale 0
2024-01-28 14:35:51,279 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [303, 304, 302], Scale -2
2024-01-28 14:35:51,299 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21883], Scale -1
2024-01-28 14:35:51,300 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0300000000000002, 3.04, 3.02]
2024-01-28 14:35:51,300 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0300000000000002, 3.04, 3.02], power=-2155.4, exported=7963257.0, dc_power=-2188.3)
2024-01-28 14:35:51,301 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:51,389 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448940.8160298, power=377.0, imported=174160.27280895453, exported=132153.6990891164)
2024-01-28 14:35:51,390 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293709, power1: 377, power2: 413
2024-01-28 14:35:51,390 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.16015
2024-01-28 14:35:51,391 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.16015 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448951.389551, power=413.0, imported=174161.43295919042, exported=132153.6990891164)
2024-01-28 14:35:51,392 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174161.43295919042, exported=132153.6990891164, power=413.0, soc=11.0)
2024-01-28 14:35:51,398 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:35:51,401 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174161.43295919042, exported=132153.6990891164, power=413.0, soc=11.0)
2024-01-28 14:35:51,467 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:51,473 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:35:51,477 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:35:51,482 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2568.4, exported=8005264.73, dc_power=None)
2024-01-28 14:35:51,483 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301372.87428515224, dc_power=None)
2024-01-28 14:35:51,484 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2568.4, exported=8005264.73, dc_power=None)
2024-01-28 14:35:51,485 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301372.87428515224, dc_power=None)
2024-01-28 14:35:51,529 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:35:51,530 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-343.0, 612.0, -274.0], voltages=[239.34, 239.37, 238.07], power_factors=[-0.72, 0.8909, -0.7490000000000001], imported=8628773.0, exported=4872917.0, power=-5.0, frequency=49.97)
2024-01-28 14:35:51,600 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:51,601 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:35:51,601 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5688>
2024-01-28 14:35:51,606 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:35:51,608 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5688>
2024-01-28 14:35:51,626 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/soc, Payload 11, vorherige Payload: 10
2024-01-28 14:35:51,629 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174161.43, vorherige Payload: 174160.27
2024-01-28 14:35:51,630 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 413.0, vorherige Payload: 377.0
2024-01-28 14:35:51,632 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 4, vorherige Payload: 3
2024-01-28 14:35:51,761 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:35:51,763 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:35:51,764 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25442.12W
2024-01-28 14:35:51,766 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:35:51,769 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:35:51,772 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:35:51,775 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:35:51.774112
2024-01-28 14:35:51,781 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136757.542658s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:35:51,782 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:35:51.781910
2024-01-28 14:35:51,785 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:35:51.781910
2024-01-28 14:35:51,786 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53599.770885s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:35:51,788 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:35:51.788419
2024-01-28 14:35:51,789 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128976.161892s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:35:51,790 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:35:51.790490
2024-01-28 14:35:51,792 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:35:51.790490
2024-01-28 14:35:51,793 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52302.867895s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:35:51,796 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:35:51,802 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:35:51,810 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:35:51,818 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448941.3888435, power=826.72, imported=4312315.01859844, exported=0)
2024-01-28 14:35:51,820 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028968, power1: 826.72, power2: 820.28
2024-01-28 14:35:51,822 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.38551
2024-01-28 14:35:51,824 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.38551 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448951.8173056, power=820.2800000000002, imported=4312317.404109129, exported=0)
2024-01-28 14:35:51,836 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174161.43, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=413.0))
2024-01-28 14:35:51,838 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174161.43, exported=132153.7, power=413.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:35:51,839 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1437.12, imported=7628185.06, exported=0))
2024-01-28 14:35:51,844 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628185.06, phases_in_use=1, plug_state=True, power=1437.12, 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.68, 238.39, 239.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=33.200000000186265, imported_since_plugged=33.200000000186265, range_charged=0.16600000000093132, time_charged='0:00', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bdcdf0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:35:51,848 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:35:51,849 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:35:51,851 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-343.0, 612.0, -274.0], currents=[-2.0, 2.8, -1.5], voltages=[239.34, 239.37, 238.07], power_factors=[-0.72, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-5.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25442.12, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:35:51,852 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=820.2800000000002, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312317.404109129, disengageable_smarthome_power=0))
2024-01-28 14:35:51,856 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:35:51,857 - {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-28 14:35:51,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:35:51,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-28 14:35:51,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-28 14:35:51,862 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:51,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=77, soc_timestamp=1706448951.432138, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:35:51,864 - {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-28 14:35:51,867 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:35:51,870 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:51,873 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:35:51,875 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edba370>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:35:51,876 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:35:51,878 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:35:51,879 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e3cd0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:35:51,880 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301372.874, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:35:51,881 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005264.73, fault_state=0, fault_str='Kein Fehler.', power=-2568.4))
2024-01-28 14:35:51,882 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306637.604, power=-2675.4))
2024-01-28 14:35:51,884 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448941, 'time': '14:35:41', 'grid': 0.009, 'house-power': 0.827, 'charging-all': 1.436, 'pv-all': 2.631, 'cp1-power': 1.436, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.377, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:35:51,885 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:35:51,887 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:35:51,892 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:51,896 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:35:51,897 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:35:51,898 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:35:51,899 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:35:51,899 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:35:51,900 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:35:51,901 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:35:51,904 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:35:51,905 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 5.0W, benötigte neue Leistung: 3220W
2024-01-28 14:35:51,907 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:35:51,908 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:35:51,909 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -5.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:35:51,912 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:35:51,915 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:35:51,916 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.5]A verbleibende Ströme, 24062.12W verbleibende Leistung
2024-01-28 14:35:51,916 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:35:51,918 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:35:51,921 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:35:51,922 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -37.88000000000102W
2024-01-28 14:35:51,925 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -37.88000000000102W
2024-01-28 14:35:51,926 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:35:51,928 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:35:51,930 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:35:51,935 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:35:51,963 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:35:55,243 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:35:55,244 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:00,255 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:00,257 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:36:00,258 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:36:00,317 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:36:00,321 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:00,328 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:36:00,330 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:00,332 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:00,375 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:36:00,379 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":108.0, "voltage":239.7, "current":0.454, "aenergy":{"total":9432.378,"by_minute":[1803.786,1813.280,1763.438],"minute_ts":1706448959},"temperature":{"tC":40.1, "tF":104.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:36","unixtime":1706448960,"uptime":5808355,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:36:00,387 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448951.0427341, power=-107, imported=0.0, exported=301372.87428515224)
2024-01-28 14:36:00,389 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00259578, power1: -107, power2: -108
2024-01-28 14:36:00,390 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.279046
2024-01-28 14:36:00,392 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.279046 Wh, new state: SimCounterState(timestamp=1706448960.3875415, power=-108, imported=0.0, exported=301373.1533314839)
2024-01-28 14:36:00,395 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301373.1533314839, dc_power=None)
2024-01-28 14:36:00,411 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-37, 323, -631, 270], Scale 0
2024-01-28 14:36:00,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 28, 15], Scale -1
2024-01-28 14:36:00,481 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23924, 23928, 23795, 0, 0, 0, 0], Scale -2
2024-01-28 14:36:00,509 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:36:00,529 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7170, 8949, -7409], Scale -2
2024-01-28 14:36:00,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798621, 2184843, 1457560, 8628773, 3551345, 2508504, 3137030], Scale 0
2024-01-28 14:36:00,560 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-323.0, 631.0, -270.0], voltages=[239.24, 239.28, 237.95000000000002], power_factors=[-0.7170000000000001, 0.8948999999999999, -0.7409], imported=8628773.0, exported=4872917.0, power=37.0, frequency=49.97)
2024-01-28 14:36:00,562 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:00,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21610], Scale -1
2024-01-28 14:36:00,658 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963263], Scale 0
2024-01-28 14:36:00,681 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [301, 305, 303], Scale -2
2024-01-28 14:36:00,809 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21939], Scale -1
2024-01-28 14:36:00,810 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0100000000000002, 3.0500000000000003, 3.0300000000000002]
2024-01-28 14:36:00,810 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0100000000000002, 3.0500000000000003, 3.0300000000000002], power=-2161.0, exported=7963263.0, dc_power=-2193.9)
2024-01-28 14:36:00,812 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:00,858 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448951.389551, power=413.0, imported=174161.43295919042, exported=132153.6990891164)
2024-01-28 14:36:00,858 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263013, power1: 413, power2: 436
2024-01-28 14:36:00,859 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.11649
2024-01-28 14:36:00,859 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.11649 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448960.858001, power=436.0, imported=174162.54944726112, exported=132153.6990891164)
2024-01-28 14:36:00,860 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174162.54944726112, exported=132153.6990891164, power=436.0, soc=11.0)
2024-01-28 14:36:00,865 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:00,868 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174162.54944726112, exported=132153.6990891164, power=436.0, soc=11.0)
2024-01-28 14:36:00,915 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:00,917 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:00,918 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2597.0, exported=8005271.85, dc_power=None)
2024-01-28 14:36:00,920 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2597.0, exported=8005271.85, dc_power=None)
2024-01-28 14:36:00,927 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:00,932 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301373.1533314839, dc_power=None)
2024-01-28 14:36:00,935 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-108, exported=301373.1533314839, dc_power=None)
2024-01-28 14:36:01,156 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:01,157 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-323.0, 631.0, -270.0], voltages=[239.24, 239.28, 237.95000000000002], power_factors=[-0.7170000000000001, 0.8948999999999999, -0.7409], imported=8628773.0, exported=4872917.0, power=37.0, frequency=49.97)
2024-01-28 14:36:01,293 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:01,294 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:36:01,295 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6e20>
2024-01-28 14:36:01,297 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:01,298 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6e20>
2024-01-28 14:36:01,322 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174162.55, vorherige Payload: 174161.43
2024-01-28 14:36:01,323 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 436.0, vorherige Payload: 413.0
2024-01-28 14:36:01,437 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:36:01,445 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.93, 38.28, 36.48]A
2024-01-28 14:36:01,446 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25402.05W
2024-01-28 14:36:01,447 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:36:01,452 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:01,457 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:36:01,459 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:36:01.458877
2024-01-28 14:36:01,460 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136747.857893s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:36:01,464 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:36:01.464314
2024-01-28 14:36:01,468 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:36:01.464314
2024-01-28 14:36:01,470 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53590.088481s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:36:01,475 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:36:01.474662
2024-01-28 14:36:01,477 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128966.475649s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:36:01,479 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:36:01.478915
2024-01-28 14:36:01,479 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:36:01.478915
2024-01-28 14:36:01,480 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52293.17947s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:36:01,480 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:36:01,485 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:36:01,486 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:36:01,512 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448951.8173056, power=820.2800000000002, imported=4312317.404109129, exported=0)
2024-01-28 14:36:01,513 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269298, power1: 820.28, power2: 866.95
2024-01-28 14:36:01,514 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.27183
2024-01-28 14:36:01,515 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.27183 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448961.5120156, power=866.95, imported=4312319.675943237, exported=0)
2024-01-28 14:36:01,520 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174162.55, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=436.0))
2024-01-28 14:36:01,524 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174162.55, exported=132153.7, power=436.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:36:01,529 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1439.05, imported=7628188.96, exported=0))
2024-01-28 14:36:01,531 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628188.96, phases_in_use=1, plug_state=True, power=1439.05, 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.88, 238.57, 239.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=37.10999999940395, imported_since_plugged=37.10999999940395, range_charged=0.18554999999701977, time_charged='0:00', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e2100>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:36:01,536 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:36:01,540 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:36:01,542 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-323.0, 631.0, -270.0], currents=[-1.9, 2.8, -1.5], voltages=[239.24, 239.28, 237.95], power_factors=[-0.72, 0.89, -0.74], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=37.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25402.05, raw_currents_left=[36.93, 38.28, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:36:01,543 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=866.95, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312319.675943237, disengageable_smarthome_power=0))
2024-01-28 14:36:01,545 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:36:01,548 - {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-28 14:36:01,549 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:36:01,551 - {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-28 14:36:01,552 - {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-28 14:36:01,556 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:01,558 - {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=77, soc_timestamp=1706448951.432138, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:01,560 - {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-28 14:36:01,561 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:36:01,562 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:01,563 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:01,564 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e32f8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:36:01,565 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:36:01,567 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:36:01,568 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed5ba78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:36:01,570 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301373.153, fault_state=0, fault_str='Kein Fehler.', power=-108))
2024-01-28 14:36:01,571 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005271.85, fault_state=0, fault_str='Kein Fehler.', power=-2597.0))
2024-01-28 14:36:01,573 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306645.003, power=-2705.0))
2024-01-28 14:36:01,574 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448951, 'time': '14:35:51', 'grid': -0.005, 'house-power': 0.82, 'charging-all': 1.437, 'pv-all': 2.675, 'cp1-power': 1.437, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.413, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:36:01,575 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:36:01,576 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:36:01,577 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:01,578 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:01,578 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:36:01,579 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:36:01,580 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:36:01,580 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:36:01,581 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:36:01,581 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:01,582 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 37.0W
2024-01-28 14:36:01,582 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -37.0W, benötigte neue Leistung: 3220W
2024-01-28 14:36:01,582 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 37.0W
2024-01-28 14:36:01,583 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 37.0W
2024-01-28 14:36:01,583 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 37.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:36:01,584 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:36:01,586 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:36:01,587 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [36.93, 32.28, 36.48]A verbleibende Ströme, 24022.05W verbleibende Leistung
2024-01-28 14:36:01,587 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:36:01,588 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:36:01,590 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:36:01,591 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -77.95000000000073W
2024-01-28 14:36:01,591 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -77.95000000000073W
2024-01-28 14:36:01,592 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:36:01,592 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:36:01,597 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:36:01,620 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:01,643 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:36:05,932 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:05,933 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:10,951 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:10,954 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:10,955 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:36:10,957 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:36:11,019 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:36:11,021 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:11,025 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:11,050 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:36:11,063 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:11,114 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 339, -601, 281], Scale 0
2024-01-28 14:36:11,122 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:36:11,125 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.8, "voltage":239.6, "current":0.454, "aenergy":{"total":9432.711,"by_minute":[329.903,1803.786,1813.280],"minute_ts":1706448970},"temperature":{"tC":40.0, "tF":104.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:36","unixtime":1706448971,"uptime":5808365,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:36:11,130 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448960.3875415, power=-108, imported=0.0, exported=301373.1533314839)
2024-01-28 14:36:11,133 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00298418, power1: -108, power2: -107
2024-01-28 14:36:11,135 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.320799
2024-01-28 14:36:11,136 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.320799 Wh, new state: SimCounterState(timestamp=1706448971.130574, power=-107, imported=0.0, exported=301373.4741303697)
2024-01-28 14:36:11,140 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301373.4741303697, dc_power=None)
2024-01-28 14:36:11,144 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 29, 15], Scale -1
2024-01-28 14:36:11,272 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23944, 23938, 23811, 0, 0, 0, 0], Scale -2
2024-01-28 14:36:11,290 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:36:11,311 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7020, 8960, -7390], Scale -2
2024-01-28 14:36:11,341 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798621, 2184843, 1457561, 8628773, 3551345, 2508505, 3137030], Scale 0
2024-01-28 14:36:11,342 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.9000000000000004, -1.5], powers=[-339.0, 601.0, -281.0], voltages=[239.44, 239.38, 238.11], power_factors=[-0.7020000000000001, 0.8960000000000001, -0.7390000000000001], imported=8628773.0, exported=4872917.0, power=-19.0, frequency=49.95)
2024-01-28 14:36:11,344 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:11,371 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21735], Scale -1
2024-01-28 14:36:11,410 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963269], Scale 0
2024-01-28 14:36:11,429 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [309, 308, 303], Scale -2
2024-01-28 14:36:11,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22186], Scale -1
2024-01-28 14:36:11,450 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.09, 3.08, 3.0300000000000002]
2024-01-28 14:36:11,451 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.09, 3.08, 3.0300000000000002], power=-2173.5, exported=7963269.0, dc_power=-2218.6)
2024-01-28 14:36:11,454 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:11,530 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448960.858001, power=436.0, imported=174162.54944726112, exported=132153.6990891164)
2024-01-28 14:36:11,531 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00296444, power1: 436, power2: 421
2024-01-28 14:36:11,531 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.27026
2024-01-28 14:36:11,532 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.27026 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448971.529988, power=421.0, imported=174163.81971016494, exported=132153.6990891164)
2024-01-28 14:36:11,533 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174163.81971016494, exported=132153.6990891164, power=421.0, soc=11.0)
2024-01-28 14:36:11,539 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:11,543 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174163.81971016494, exported=132153.6990891164, power=421.0, soc=11.0)
2024-01-28 14:36:11,586 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:11,589 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:11,589 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:11,590 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2594.5, exported=8005279.12, dc_power=None)
2024-01-28 14:36:11,591 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301373.4741303697, dc_power=None)
2024-01-28 14:36:11,591 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2594.5, exported=8005279.12, dc_power=None)
2024-01-28 14:36:11,592 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301373.4741303697, dc_power=None)
2024-01-28 14:36:11,634 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:11,635 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.9000000000000004, -1.5], powers=[-339.0, 601.0, -281.0], voltages=[239.44, 239.38, 238.11], power_factors=[-0.7020000000000001, 0.8960000000000001, -0.7390000000000001], imported=8628773.0, exported=4872917.0, power=-19.0, frequency=49.95)
2024-01-28 14:36:11,701 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:11,702 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:36:11,703 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed9ea30>
2024-01-28 14:36:11,710 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:11,715 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed9ea30>
2024-01-28 14:36:11,728 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174163.82, vorherige Payload: 174162.55
2024-01-28 14:36:11,731 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 421.0, vorherige Payload: 436.0
2024-01-28 14:36:11,869 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:36:11,875 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.25, 36.48]A
2024-01-28 14:36:11,878 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25476.47W
2024-01-28 14:36:11,881 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:36:11,886 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:11,888 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:36:11,891 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:36:11.890879
2024-01-28 14:36:11,892 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136737.425891s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:36:11,895 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:36:11.895364
2024-01-28 14:36:11,897 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:36:11.895364
2024-01-28 14:36:11,897 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53579.657431s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:36:11,899 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:36:11.898932
2024-01-28 14:36:11,900 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128956.051379s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:36:11,901 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:36:11.901446
2024-01-28 14:36:11,902 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:36:11.901446
2024-01-28 14:36:11,906 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52282.756939s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:36:11,906 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:36:11,910 - {control.chargepoint.chargepoint:667} - {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: 6.15
2024-01-28 14:36:11,916 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:36:11,930 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448961.5120156, power=866.95, imported=4312319.675943237, exported=0)
2024-01-28 14:36:11,931 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289407, power1: 866.95, power2: 804.03
2024-01-28 14:36:11,932 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.41797
2024-01-28 14:36:11,933 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.41797 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448971.9306643, power=804.03, imported=4312322.09390902, exported=0)
2024-01-28 14:36:11,936 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174163.82, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=421.0))
2024-01-28 14:36:11,937 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174163.82, exported=132153.7, power=421.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:36:11,938 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1457.47, imported=7628192.87, exported=0))
2024-01-28 14:36:11,941 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.15, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628192.87, phases_in_use=1, plug_state=True, power=1457.47, 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.55, 239.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=41.00999999977648, imported_since_plugged=41.00999999977648, range_charged=0.20504999999888243, time_charged='0:00', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e3160>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:36:11,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-28 14:36:11,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-28 14:36:11,948 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-339.0, 601.0, -281.0], currents=[-2.0, 2.9, -1.5], voltages=[239.44, 239.38, 238.11], power_factors=[-0.7, 0.9, -0.74], unbalanced_load=0, frequency=49.95, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-19.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25476.47, raw_currents_left=[37.03, 38.25, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:36:11,950 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=804.03, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312322.09390902, disengageable_smarthome_power=0))
2024-01-28 14:36:11,951 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:36:11,954 - {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-28 14:36:11,955 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:36:11,956 - {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-28 14:36:11,956 - {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-28 14:36:11,958 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:11,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=77, soc_timestamp=1706448951.432138, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:11,967 - {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-28 14:36:11,968 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:36:11,973 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:11,974 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:11,977 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e9a30>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:36:11,979 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:36:11,980 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:36:11,981 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6130>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:36:11,988 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301373.474, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:36:11,989 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005279.12, fault_state=0, fault_str='Kein Fehler.', power=-2594.5))
2024-01-28 14:36:11,992 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306652.5940000005, power=-2701.5))
2024-01-28 14:36:11,993 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448961, 'time': '14:36:01', 'grid': 0.037, 'house-power': 0.867, 'charging-all': 1.439, 'pv-all': 2.705, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.436, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:36:11,994 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:36:11,996 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:36:11,997 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:11,998 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:12,000 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:36:12,001 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:36:12,002 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:36:12,003 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:36:12,004 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:36:12,005 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:12,006 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:36:12,008 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.15A, Überschuss: 19.0W, benötigte neue Leistung: 3220W
2024-01-28 14:36:12,009 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:36:12,010 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:36:12,011 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -19.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:36:12,012 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:36:12,014 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:36:12,015 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.25, 36.48]A verbleibende Ströme, 24096.47W verbleibende Leistung
2024-01-28 14:36:12,016 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:36:12,017 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:36:12,019 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:36:12,019 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3.529999999998836W
2024-01-28 14:36:12,020 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -3.529999999998836W
2024-01-28 14:36:12,020 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:36:12,021 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:36:12,023 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:36:12,026 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:12,045 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:36:15,303 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:20,318 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:20,320 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:20,320 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:36:20,321 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:36:20,381 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:36:20,383 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:20,390 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:36:20,391 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:20,394 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:20,439 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:36:20,441 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.8, "voltage":239.5, "current":0.454, "aenergy":{"total":9432.983,"by_minute":[599.522,1803.786,1813.280],"minute_ts":1706448979},"temperature":{"tC":40.1, "tF":104.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:36","unixtime":1706448980,"uptime":5808375,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:36:20,444 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7, 336, -608, 279], Scale 0
2024-01-28 14:36:20,446 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448971.130574, power=-107, imported=0.0, exported=301373.4741303697)
2024-01-28 14:36:20,447 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00258763, power1: -107, power2: -107
2024-01-28 14:36:20,447 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.276876
2024-01-28 14:36:20,448 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.276876 Wh, new state: SimCounterState(timestamp=1706448980.446042, power=-107, imported=0.0, exported=301373.7510067819)
2024-01-28 14:36:20,449 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301373.7510067819, dc_power=None)
2024-01-28 14:36:20,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 29, 15], Scale -1
2024-01-28 14:36:20,489 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23950, 23942, 23829, 0, 0, 0, 0], Scale -2
2024-01-28 14:36:20,568 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:36:20,610 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7009, 8930, -7289], Scale -2
2024-01-28 14:36:20,679 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798622, 2184843, 1457562, 8628773, 3551345, 2508507, 3137030], Scale 0
2024-01-28 14:36:20,680 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.9000000000000004, -1.5], powers=[-336.0, 608.0, -279.0], voltages=[239.5, 239.42000000000002, 238.29], power_factors=[-0.7009000000000001, 0.893, -0.7289], imported=8628773.0, exported=4872917.0, power=-7.0, frequency=49.99)
2024-01-28 14:36:20,682 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:20,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21692], Scale -1
2024-01-28 14:36:20,738 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963275], Scale 0
2024-01-28 14:36:20,757 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [303, 306, 303], Scale -2
2024-01-28 14:36:20,969 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22022], Scale -1
2024-01-28 14:36:20,970 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0300000000000002, 3.06, 3.0300000000000002]
2024-01-28 14:36:20,970 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0300000000000002, 3.06, 3.0300000000000002], power=-2169.2000000000003, exported=7963275.0, dc_power=-2202.2000000000003)
2024-01-28 14:36:20,971 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:21,048 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448971.529988, power=421.0, imported=174163.81971016494, exported=132153.6990891164)
2024-01-28 14:36:21,049 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264408, power1: 421, power2: 445
2024-01-28 14:36:21,049 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.14489
2024-01-28 14:36:21,050 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.14489 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448981.048669, power=445.0, imported=174164.96459596892, exported=132153.6990891164)
2024-01-28 14:36:21,051 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174164.96459596892, exported=132153.6990891164, power=445.0, soc=11.0)
2024-01-28 14:36:21,069 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:21,073 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174164.96459596892, exported=132153.6990891164, power=445.0, soc=11.0)
2024-01-28 14:36:21,220 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:21,226 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:21,229 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2614.2000000000003, exported=8005286.26, dc_power=None)
2024-01-28 14:36:21,233 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2614.2000000000003, exported=8005286.26, dc_power=None)
2024-01-28 14:36:21,235 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:21,243 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301373.7510067819, dc_power=None)
2024-01-28 14:36:21,245 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301373.7510067819, dc_power=None)
2024-01-28 14:36:21,426 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:21,427 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.9000000000000004, -1.5], powers=[-336.0, 608.0, -279.0], voltages=[239.5, 239.42000000000002, 238.29], power_factors=[-0.7009000000000001, 0.893, -0.7289], imported=8628773.0, exported=4872917.0, power=-7.0, frequency=49.99)
2024-01-28 14:36:21,486 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:21,487 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:36:21,487 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed5b8c8>
2024-01-28 14:36:21,490 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:21,491 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed5b8c8>
2024-01-28 14:36:21,512 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174164.96, vorherige Payload: 174163.82
2024-01-28 14:36:21,513 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 445.0, vorherige Payload: 421.0
2024-01-28 14:36:21,632 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:36:21,640 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.21, 36.48]A
2024-01-28 14:36:21,647 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25446.31W
2024-01-28 14:36:21,651 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:36:21,653 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:21,655 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:36:21,656 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:36:21.656103
2024-01-28 14:36:21,657 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136727.660667s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:36:21,658 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:36:21.658622
2024-01-28 14:36:21,660 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:36:21.658622
2024-01-28 14:36:21,661 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53569.894173s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:36:21,665 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:36:21.664313
2024-01-28 14:36:21,666 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128946.285998s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:36:21,667 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:36:21.666628
2024-01-28 14:36:21,668 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:36:21.666628
2024-01-28 14:36:21,668 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52272.991757s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:36:21,670 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:36:21,674 - {control.chargepoint.chargepoint:667} - {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: 6.11
2024-01-28 14:36:21,675 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:36:21,698 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448971.9306643, power=804.03, imported=4312322.09390902, exported=0)
2024-01-28 14:36:21,700 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00271326, power1: 804.03, power2: 829.89
2024-01-28 14:36:21,702 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.21662
2024-01-28 14:36:21,703 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.21662 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448981.6983867, power=829.8899999999999, imported=4312324.310530815, exported=0)
2024-01-28 14:36:21,706 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174164.96, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=445.0))
2024-01-28 14:36:21,707 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174164.96, exported=132153.7, power=445.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:36:21,711 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1439.31, imported=7628196.78, exported=0))
2024-01-28 14:36:21,713 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.11, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628196.78, phases_in_use=1, plug_state=True, power=1439.31, 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.54, 238.43, 239.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=44.919999999925494, imported_since_plugged=44.919999999925494, range_charged=0.2245999999996275, time_charged='0:00', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c6cd0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:36:21,714 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:36:21,715 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:36:21,716 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-336.0, 608.0, -279.0], currents=[-2.0, 2.9, -1.5], voltages=[239.5, 239.42, 238.29], power_factors=[-0.7, 0.89, -0.73], unbalanced_load=0, frequency=49.99, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-7.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25446.31, raw_currents_left=[37.03, 38.21, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:36:21,717 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=829.8899999999999, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312324.310530815, disengageable_smarthome_power=0))
2024-01-28 14:36:21,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-28 14:36:21,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-28 14:36:21,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:36:21,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-28 14:36:21,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-28 14:36:21,724 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:21,725 - {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=77, soc_timestamp=1706448951.432138, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:21,731 - {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-28 14:36:21,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-28 14:36:21,733 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:21,735 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:21,737 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cbcd0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:36:21,737 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:36:21,741 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:36:21,743 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5280>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:36:21,744 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301373.751, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:36:21,745 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005286.26, fault_state=0, fault_str='Kein Fehler.', power=-2614.2))
2024-01-28 14:36:21,748 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306660.011, power=-2721.2))
2024-01-28 14:36:21,750 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448972, 'time': '14:36:12', 'grid': -0.019, 'house-power': 0.804, 'charging-all': 1.457, 'pv-all': 2.701, 'cp1-power': 1.457, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.421, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:36:21,751 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:36:21,753 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:36:21,754 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:21,758 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:21,759 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:36:21,760 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:36:21,761 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:36:21,765 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:36:21,766 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:36:21,768 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:21,770 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:36:21,771 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.11A, Überschuss: 7.0W, benötigte neue Leistung: 3220W
2024-01-28 14:36:21,777 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:36:21,779 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:36:21,780 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -7.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:36:21,781 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:36:21,787 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:36:21,790 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.21, 36.48]A verbleibende Ströme, 24066.31W verbleibende Leistung
2024-01-28 14:36:21,791 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:36:21,798 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:36:21,801 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:36:21,803 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -33.68999999999869W
2024-01-28 14:36:21,806 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -33.68999999999869W
2024-01-28 14:36:21,810 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:36:21,811 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:36:21,818 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:36:21,825 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:21,889 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:36:25,172 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:25,173 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:30,188 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:30,191 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:36:30,192 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:36:30,290 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:36:30,291 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:30,294 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:30,305 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:36:30,308 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:30,376 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:36: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":true, "apower":107.9, "voltage":239.6, "current":0.454, "aenergy":{"total":9433.286,"by_minute":[899.046,1803.786,1813.280],"minute_ts":1706448989},"temperature":{"tC":40.1, "tF":104.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:36","unixtime":1706448990,"uptime":5808385,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:36:30,381 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448980.446042, power=-107, imported=0.0, exported=301373.7510067819)
2024-01-28 14:36:30,381 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00275971, power1: -107, power2: -107
2024-01-28 14:36:30,382 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.295289
2024-01-28 14:36:30,382 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.295289 Wh, new state: SimCounterState(timestamp=1706448990.3810003, power=-107, imported=0.0, exported=301374.0462958178)
2024-01-28 14:36:30,384 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.0462958178, dc_power=None)
2024-01-28 14:36:30,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8, 336, -605, 277], Scale 0
2024-01-28 14:36:30,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:36:30,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23938, 23908, 23716, 0, 0, 0, 0], Scale -2
2024-01-28 14:36:30,457 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:36:30,490 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6769, 8989, -7400], Scale -2
2024-01-28 14:36:30,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798623, 2184843, 1457563, 8628773, 3551345, 2508510, 3137030], Scale 0
2024-01-28 14:36:30,520 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-336.0, 605.0, -277.0], voltages=[239.38, 239.08, 237.16], power_factors=[-0.6769, 0.8989, -0.74], imported=8628773.0, exported=4872917.0, power=-8.0, frequency=49.95)
2024-01-28 14:36:30,523 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:30,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21740], Scale -1
2024-01-28 14:36:30,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963281], Scale 0
2024-01-28 14:36:30,618 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [306, 307, 302], Scale -2
2024-01-28 14:36:30,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22061], Scale -1
2024-01-28 14:36:30,642 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.06, 3.0700000000000003, 3.02]
2024-01-28 14:36:30,642 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.06, 3.0700000000000003, 3.02], power=-2174.0, exported=7963281.0, dc_power=-2206.1)
2024-01-28 14:36:30,644 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:30,770 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448981.048669, power=445.0, imported=174164.96459596892, exported=132153.6990891164)
2024-01-28 14:36:30,771 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00270037, power1: 445, power2: 459
2024-01-28 14:36:30,771 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.22057
2024-01-28 14:36:30,772 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.22057 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448990.7700002, power=459.0, imported=174166.1851630984, exported=132153.6990891164)
2024-01-28 14:36:30,773 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174166.1851630984, exported=132153.6990891164, power=459.0, soc=11.0)
2024-01-28 14:36:30,782 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:30,783 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174166.1851630984, exported=132153.6990891164, power=459.0, soc=11.0)
2024-01-28 14:36:30,828 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:30,830 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:30,831 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2633.0, exported=8005293.49, dc_power=None)
2024-01-28 14:36:30,832 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:30,833 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2633.0, exported=8005293.49, dc_power=None)
2024-01-28 14:36:30,834 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.0462958178, dc_power=None)
2024-01-28 14:36:30,837 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.0462958178, dc_power=None)
2024-01-28 14:36:30,876 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:30,877 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-336.0, 605.0, -277.0], voltages=[239.38, 239.08, 237.16], power_factors=[-0.6769, 0.8989, -0.74], imported=8628773.0, exported=4872917.0, power=-8.0, frequency=49.95)
2024-01-28 14:36:30,935 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:30,936 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:36:30,936 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5fa0>
2024-01-28 14:36:30,941 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:30,949 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5fa0>
2024-01-28 14:36:30,963 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174166.19, vorherige Payload: 174164.96
2024-01-28 14:36:30,964 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 459.0, vorherige Payload: 445.0
2024-01-28 14:36:31,082 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:36:31,085 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.48]A
2024-01-28 14:36:31,087 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25446.05W
2024-01-28 14:36:31,092 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:36:31,096 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:31,098 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:36:31,104 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:36:31.103717
2024-01-28 14:36:31,106 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136718.213053s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:36:31,108 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:36:31.107701
2024-01-28 14:36:31,110 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:36:31.107701
2024-01-28 14:36:31,112 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53560.445094s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:36:31,114 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:36:31.113818
2024-01-28 14:36:31,116 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128936.836493s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:36:31,118 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:36:31.118144
2024-01-28 14:36:31,120 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:36:31.118144
2024-01-28 14:36:31,121 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52263.540241s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:36:31,123 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:36:31,127 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:36:31,129 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:36:31,133 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448981.6983867, power=829.8899999999999, imported=4312324.310530815, exported=0)
2024-01-28 14:36:31,135 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262094, power1: 829.89, power2: 834.95
2024-01-28 14:36:31,136 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.18173
2024-01-28 14:36:31,137 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.18173 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706448991.133787, power=834.95, imported=4312326.492257447, exported=0)
2024-01-28 14:36:31,144 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174166.19, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=459.0))
2024-01-28 14:36:31,145 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174166.19, exported=132153.7, power=459.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:36:31,147 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1438.05, imported=7628201.17, exported=0))
2024-01-28 14:36:31,151 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628201.17, phases_in_use=1, plug_state=True, power=1438.05, 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.73, 237.6, 239.95]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=48.830000000074506, imported_since_plugged=48.830000000074506, range_charged=0.24415000000037254, time_charged='0:01', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fab20>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:36:31,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-28 14:36:31,154 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:36:31,155 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-336.0, 605.0, -277.0], currents=[-2.0, 2.8, -1.5], voltages=[239.38, 239.08, 237.16], power_factors=[-0.68, 0.9, -0.74], unbalanced_load=0, frequency=49.95, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-8.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25446.05, raw_currents_left=[37.03, 38.27, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:36:31,156 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=834.95, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312326.492257447, disengageable_smarthome_power=0))
2024-01-28 14:36:31,157 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:36:31,158 - {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-28 14:36:31,161 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:36:31,164 - {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-28 14:36:31,165 - {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-28 14:36:31,166 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:31,169 - {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=77, soc_timestamp=1706448951.432138, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:31,171 - {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-28 14:36:31,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-28 14:36:31,174 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:31,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=2, keep_charge_active_duration=40)
2024-01-28 14:36:31,180 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f5808>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:36:31,182 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:36:31,183 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:36:31,207 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d50a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:36:31,210 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301374.046, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:36:31,213 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005293.49, fault_state=0, fault_str='Kein Fehler.', power=-2633.0))
2024-01-28 14:36:31,214 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306667.536, power=-2740.0))
2024-01-28 14:36: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-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448981, 'time': '14:36:21', 'grid': -0.007, 'house-power': 0.83, 'charging-all': 1.439, 'pv-all': 2.721, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.445, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:36:31,220 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:36:31,223 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:36:31,225 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:31,228 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:31,229 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:36:31,232 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:36:31,235 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:36:31,236 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:36:31,238 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:36:31,240 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:31,242 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:36:31,244 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 8.0W, benötigte neue Leistung: 3220W
2024-01-28 14:36:31,246 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:36:31,248 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:36:31,250 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -8.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:36:31,251 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:36:31,254 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:36:31,262 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.48]A verbleibende Ströme, 24066.05W verbleibende Leistung
2024-01-28 14:36:31,264 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:36:31,267 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:36:31,270 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:36:31,271 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -33.95000000000073W
2024-01-28 14:36:31,273 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -33.95000000000073W
2024-01-28 14:36:31,274 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:36:31,276 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:36:31,280 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:36:31,284 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:31,322 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:36:35,701 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:35,702 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:40,714 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:40,715 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:40,716 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:36:40,716 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:36:40,762 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:36:40,778 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:40,789 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:36:40,789 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:40,790 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:40,829 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 338, -608, 269], Scale 0
2024-01-28 14:36:40,833 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:36:40,835 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.7, "voltage":239.4, "current":0.453, "aenergy":{"total":9433.589,"by_minute":[1198.569,1803.786,1813.280],"minute_ts":1706448999},"temperature":{"tC":40.1, "tF":104.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:36","unixtime":1706449001,"uptime":5808395,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:36:40,837 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706448990.3810003, power=-107, imported=0.0, exported=301374.0462958178)
2024-01-28 14:36:40,838 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290455, power1: -107, power2: -107
2024-01-28 14:36:40,838 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.310786
2024-01-28 14:36:40,839 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.310786 Wh, new state: SimCounterState(timestamp=1706449000.8373663, power=-107, imported=0.0, exported=301374.35708225355)
2024-01-28 14:36:40,840 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.35708225355, dc_power=None)
2024-01-28 14:36:40,851 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 16], Scale -1
2024-01-28 14:36:40,870 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23933, 23925, 23714, 0, 0, 0, 0], Scale -2
2024-01-28 14:36:40,898 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:36:40,971 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6620, 8780, -7080], Scale -2
2024-01-28 14:36:40,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798624, 2184843, 1457563, 8628773, 3551345, 2508511, 3137030], Scale 0
2024-01-28 14:36:41,000 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-338.0, 608.0, -269.0], voltages=[239.33, 239.25, 237.14000000000001], power_factors=[-0.662, 0.878, -0.708], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.97)
2024-01-28 14:36:41,001 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:41,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21728], Scale -1
2024-01-28 14:36:41,088 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963288], Scale 0
2024-01-28 14:36:41,119 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 306, 303], Scale -2
2024-01-28 14:36:41,150 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22059], Scale -1
2024-01-28 14:36:41,151 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.06, 3.0300000000000002]
2024-01-28 14:36:41,151 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.06, 3.0300000000000002], power=-2172.8, exported=7963288.0, dc_power=-2205.9)
2024-01-28 14:36:41,153 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:41,207 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706448990.7700002, power=459.0, imported=174166.1851630984, exported=132153.6990891164)
2024-01-28 14:36:41,210 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289926, power1: 459, power2: 483
2024-01-28 14:36:41,212 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.36555
2024-01-28 14:36:41,213 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.36555 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449001.2073388, power=483.0, imported=174167.55071489734, exported=132153.6990891164)
2024-01-28 14:36:41,215 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174167.55071489734, exported=132153.6990891164, power=483.0, soc=11.0)
2024-01-28 14:36:41,221 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:41,222 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174167.55071489734, exported=132153.6990891164, power=483.0, soc=11.0)
2024-01-28 14:36:41,460 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:41,466 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:41,469 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:41,476 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2655.8, exported=8005301.85, dc_power=None)
2024-01-28 14:36:41,480 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.35708225355, dc_power=None)
2024-01-28 14:36:41,481 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2655.8, exported=8005301.85, dc_power=None)
2024-01-28 14:36:41,483 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.35708225355, dc_power=None)
2024-01-28 14:36:41,560 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:41,561 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-338.0, 608.0, -269.0], voltages=[239.33, 239.25, 237.14000000000001], power_factors=[-0.662, 0.878, -0.708], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.97)
2024-01-28 14:36:41,622 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:41,623 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:36:41,624 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed5b988>
2024-01-28 14:36:41,631 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:41,638 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed5b988>
2024-01-28 14:36:41,652 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174167.55, vorherige Payload: 174166.19
2024-01-28 14:36:41,653 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 483.0, vorherige Payload: 459.0
2024-01-28 14:36:41,770 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:36:41,776 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.58]A
2024-01-28 14:36:41,783 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25438.67W
2024-01-28 14:36:41,785 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:36:41,789 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:41,791 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:36:41,793 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:36:41.793107
2024-01-28 14:36:41,795 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136707.523663s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:36:41,797 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:36:41.797103
2024-01-28 14:36:41,798 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:36:41.797103
2024-01-28 14:36:41,799 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53549.755692s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:36:41,801 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:36:41.801181
2024-01-28 14:36:41,802 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128926.14913s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:36:41,805 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:36:41.804810
2024-01-28 14:36:41,806 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:36:41.804810
2024-01-28 14:36:41,807 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52252.853575s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:36:41,809 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:36:41,816 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:36:41,819 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:36:41,831 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706448991.133787, power=834.95, imported=4312326.492257447, exported=0)
2024-01-28 14:36:41,832 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00297151, power1: 834.95, power2: 841.13
2024-01-28 14:36:41,832 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.49025
2024-01-28 14:36:41,832 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.49025 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449001.8312273, power=841.1300000000001, imported=4312328.982502708, exported=0)
2024-01-28 14:36:41,834 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174167.55, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=483.0))
2024-01-28 14:36:41,834 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174167.55, exported=132153.7, power=483.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:36:41,840 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1438.67, imported=7628205.08, exported=0))
2024-01-28 14:36:41,842 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628205.08, phases_in_use=1, plug_state=True, power=1438.67, 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.56, 237.67, 240.15]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=53.21999999973923, imported_since_plugged=53.21999999973923, range_charged=0.26609999999869616, time_charged='0:01', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701731f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:36:41,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-28 14:36:41,848 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:36:41,850 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-338.0, 608.0, -269.0], currents=[-2.0, 2.8, -1.6], voltages=[239.33, 239.25, 237.14], power_factors=[-0.66, 0.88, -0.71], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.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=25438.67, raw_currents_left=[37.03, 38.27, 36.58], surplus_power_left=0, state_str=''))
2024-01-28 14:36:41,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=841.1300000000001, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312328.982502708, disengageable_smarthome_power=0))
2024-01-28 14:36:41,853 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:36:41,872 - {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-28 14:36:41,877 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:36:41,879 - {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-28 14:36:41,881 - {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-28 14:36:41,882 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:41,882 - {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=77, soc_timestamp=1706448951.432138, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:41,883 - {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-28 14:36:41,884 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:36:41,885 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:41,887 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:41,890 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c20e8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:36:41,890 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:36:41,892 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:36:41,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 0x6f7d6790>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:36:41,895 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301374.357, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:36:41,897 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005301.85, fault_state=0, fault_str='Kein Fehler.', power=-2655.8))
2024-01-28 14:36:41,898 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306676.2069999995, power=-2762.8))
2024-01-28 14:36:41,899 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706448991, 'time': '14:36:31', 'grid': -0.008, 'house-power': 0.835, 'charging-all': 1.438, 'pv-all': 2.74, 'cp1-power': 1.438, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.459, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:36:41,901 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:36:41,903 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:36:41,904 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:41,906 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:41,907 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:36:41,908 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:36:41,908 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:36:41,910 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:36:41,911 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:36:41,912 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:41,913 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:36:41,916 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:36:41,917 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:36:41,917 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:36:41,918 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:36:41,918 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:36:41,920 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:36:41,921 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.58]A verbleibende Ströme, 24058.67W verbleibende Leistung
2024-01-28 14:36:41,922 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:36:41,923 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:36:41,925 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:36:41,936 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -41.330000000001746W
2024-01-28 14:36:41,938 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -41.330000000001746W
2024-01-28 14:36:41,939 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:36:41,940 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:36:41,950 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:36:41,965 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:41,996 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:36:45,264 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:50,282 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:50,283 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:36:50,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:36:50,284 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:36:50,333 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:36:50,334 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:50,342 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:36:50,344 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:50,345 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:50,385 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:36:50,387 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.7, "voltage":239.5, "current":0.453, "aenergy":{"total":9433.892,"by_minute":[1498.092,1803.786,1813.280],"minute_ts":1706449009},"temperature":{"tC":40.0, "tF":104.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:36","unixtime":1706449010,"uptime":5808405,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-72},"ws":{"connected":false}}

2024-01-28 14:36:50,389 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449000.8373663, power=-107, imported=0.0, exported=301374.35708225355)
2024-01-28 14:36:50,390 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265331, power1: -107, power2: -107
2024-01-28 14:36:50,390 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.283905
2024-01-28 14:36:50,391 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.283905 Wh, new state: SimCounterState(timestamp=1706449010.389297, power=-107, imported=0.0, exported=301374.64098685945)
2024-01-28 14:36:50,392 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.64098685945, dc_power=None)
2024-01-28 14:36:50,410 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2, 310, -598, 285], Scale 0
2024-01-28 14:36:50,427 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21, 29, 15], Scale -1
2024-01-28 14:36:50,477 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23979, 23923, 23718, 0, 0, 0, 0], Scale -2
2024-01-28 14:36:50,517 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:36:50,538 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6010, 8939, -7260], Scale -2
2024-01-28 14:36:50,750 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798625, 2184843, 1457564, 8628773, 3551345, 2508512, 3137030], Scale 0
2024-01-28 14:36:50,751 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.1, 2.9000000000000004, -1.5], powers=[-310.0, 598.0, -285.0], voltages=[239.79, 239.23000000000002, 237.18], power_factors=[-0.601, 0.8939, -0.7260000000000001], imported=8628773.0, exported=4872917.0, power=2.0, frequency=49.97)
2024-01-28 14:36:50,754 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:50,778 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22035], Scale -1
2024-01-28 14:36:50,808 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963294], Scale 0
2024-01-28 14:36:50,857 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 312, 307], Scale -2
2024-01-28 14:36:50,944 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22270], Scale -1
2024-01-28 14:36:50,945 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.12, 3.0700000000000003]
2024-01-28 14:36:50,946 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.12, 3.0700000000000003], power=-2203.5, exported=7963294.0, dc_power=-2227.0)
2024-01-28 14:36:50,947 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:50,998 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449001.2073388, power=483.0, imported=174167.55071489734, exported=132153.6990891164)
2024-01-28 14:36:51,000 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00271961, power1: 483, power2: 461
2024-01-28 14:36:51,000 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.28365
2024-01-28 14:36:51,001 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.28365 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449010.9979172, power=461.0, imported=174168.83436850525, exported=132153.6990891164)
2024-01-28 14:36:51,002 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174168.83436850525, exported=132153.6990891164, power=461.0, soc=11.0)
2024-01-28 14:36:51,008 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:36:51,012 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174168.83436850525, exported=132153.6990891164, power=461.0, soc=11.0)
2024-01-28 14:36:51,093 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:51,094 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:36:51,096 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:36:51,096 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2664.5, exported=8005309.13, dc_power=None)
2024-01-28 14:36:51,097 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.64098685945, dc_power=None)
2024-01-28 14:36:51,098 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2664.5, exported=8005309.13, dc_power=None)
2024-01-28 14:36:51,098 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.64098685945, dc_power=None)
2024-01-28 14:36:51,144 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:36:51,145 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.1, 2.9000000000000004, -1.5], powers=[-310.0, 598.0, -285.0], voltages=[239.79, 239.23000000000002, 237.18], power_factors=[-0.601, 0.8939, -0.7260000000000001], imported=8628773.0, exported=4872917.0, power=2.0, frequency=49.97)
2024-01-28 14:36:51,207 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:51,207 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:36:51,208 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edb7058>
2024-01-28 14:36:51,212 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:36:51,214 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edb7058>
2024-01-28 14:36:51,233 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174168.83, vorherige Payload: 174167.55
2024-01-28 14:36:51,234 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 461.0, vorherige Payload: 483.0
2024-01-28 14:36:51,398 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:36:51,417 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.13, 38.17, 36.48]A
2024-01-28 14:36:51,419 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25436.68W
2024-01-28 14:36:51,421 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:36:51,443 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:51,444 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:36:51,447 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:36:51.446651
2024-01-28 14:36:51,450 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136697.870119s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:36:51,457 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:36:51.457217
2024-01-28 14:36:51,459 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:36:51.457217
2024-01-28 14:36:51,463 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53540.095578s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:36:51,465 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:36:51.465233
2024-01-28 14:36:51,466 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128916.485078s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:36:51,467 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:36:51.467318
2024-01-28 14:36:51,468 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:36:51.467318
2024-01-28 14:36:51,469 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52243.191067s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:36:51,470 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:36:51,503 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:36:51,504 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:36:51,540 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449001.8312273, power=841.1300000000001, imported=4312328.982502708, exported=0)
2024-01-28 14:36:51,542 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269691, power1: 841.13, power2: 873.82
2024-01-28 14:36:51,576 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.31253
2024-01-28 14:36:51,577 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.31253 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449011.5400977, power=873.8199999999999, imported=4312331.295034279, exported=0)
2024-01-28 14:36:51,597 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174168.83, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=461.0))
2024-01-28 14:36:51,598 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174168.83, exported=132153.7, power=461.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:36:51,599 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1438.68, imported=7628208.98, exported=0))
2024-01-28 14:36:51,604 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628208.98, phases_in_use=1, plug_state=True, power=1438.68, 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.59, 237.73, 239.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=57.12999999988824, imported_since_plugged=57.12999999988824, range_charged=0.2856499999994412, time_charged='0:01', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cb508>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:36:51,605 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:36:51,605 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:36:51,606 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-310.0, 598.0, -285.0], currents=[-2.1, 2.9, -1.5], voltages=[239.79, 239.23, 237.18], power_factors=[-0.6, 0.89, -0.73], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=2.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25436.68, raw_currents_left=[37.13, 38.17, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:36:51,607 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=873.8199999999999, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312331.295034279, disengageable_smarthome_power=0))
2024-01-28 14:36:51,607 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:36:51,608 - {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-28 14:36:51,609 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:36:51,610 - {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-28 14:36:51,611 - {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-28 14:36:51,611 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:51,612 - {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=77, soc_timestamp=1706449008.079362, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:36:51,612 - {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-28 14:36:51,613 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:36:51,613 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:51,614 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:36:51,635 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c3cd0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:36:51,637 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:36:51,638 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:36:51,640 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cbce8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:36:51,643 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301374.641, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:36:51,644 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005309.13, fault_state=0, fault_str='Kein Fehler.', power=-2664.5))
2024-01-28 14:36:51,650 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306683.771, power=-2771.5))
2024-01-28 14:36:51,651 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449001, 'time': '14:36:41', 'grid': -0.0, 'house-power': 0.841, 'charging-all': 1.439, 'pv-all': 2.763, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.483, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:36:51,651 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:36:51,652 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:36:51,652 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:51,653 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:36:51,654 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:36:51,654 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:36:51,660 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:36:51,661 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:36:51,661 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:36:51,662 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:36:51,662 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2.0W
2024-01-28 14:36:51,663 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: -2.0W, benötigte neue Leistung: 3220W
2024-01-28 14:36:51,663 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2.0W
2024-01-28 14:36:51,664 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2.0W
2024-01-28 14:36:51,687 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 2.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:36:51,688 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:36:51,709 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:36:51,710 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.13, 32.17, 36.48]A verbleibende Ströme, 24056.68W verbleibende Leistung
2024-01-28 14:36:51,711 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:36:51,713 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:36:51,715 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:36:51,716 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -43.31999999999971W
2024-01-28 14:36:51,716 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -43.31999999999971W
2024-01-28 14:36:51,717 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:36:51,717 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:36:51,720 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:36:51,723 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:36:51,796 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:36:55,197 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:36:55,198 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:00,210 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:00,214 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:37:00,216 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:37:00,291 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:37:00,293 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:00,314 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:00,321 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:37:00,326 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:00,349 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [32, 328, -588, 292], Scale 0
2024-01-28 14:37:00,376 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:37:00,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":true, "apower":107.6, "voltage":239.5, "current":0.453, "aenergy":{"total":9434.193,"by_minute":[1796.666,1803.786,1813.280],"minute_ts":1706449019},"temperature":{"tC":40.1, "tF":104.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:37","unixtime":1706449020,"uptime":5808415,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:37:00,380 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449010.389297, power=-107, imported=0.0, exported=301374.64098685945)
2024-01-28 14:37:00,381 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00277539, power1: -107, power2: -107
2024-01-28 14:37:00,382 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.296966
2024-01-28 14:37:00,382 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.296966 Wh, new state: SimCounterState(timestamp=1706449020.3806875, power=-107, imported=0.0, exported=301374.9379531872)
2024-01-28 14:37:00,383 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.9379531872, dc_power=None)
2024-01-28 14:37:00,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21, 29, 16], Scale -1
2024-01-28 14:37:00,428 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23976, 23923, 23731, 0, 0, 0, 0], Scale -2
2024-01-28 14:37:00,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:37:00,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6090, 8899, -7350], Scale -2
2024-01-28 14:37:00,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798626, 2184843, 1457565, 8628773, 3551345, 2508514, 3137030], Scale 0
2024-01-28 14:37:00,499 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.1, 2.9000000000000004, -1.6], powers=[-328.0, 588.0, -292.0], voltages=[239.76, 239.23000000000002, 237.31], power_factors=[-0.609, 0.8898999999999999, -0.735], imported=8628773.0, exported=4872917.0, power=-32.0, frequency=49.99)
2024-01-28 14:37:00,501 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:00,529 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22134], Scale -1
2024-01-28 14:37:00,630 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963300], Scale 0
2024-01-28 14:37:00,661 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [311, 312, 308], Scale -2
2024-01-28 14:37:00,689 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22467], Scale -1
2024-01-28 14:37:00,689 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.11, 3.12, 3.08]
2024-01-28 14:37:00,690 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.11, 3.12, 3.08], power=-2213.4, exported=7963300.0, dc_power=-2246.7000000000003)
2024-01-28 14:37:00,691 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:00,748 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449010.9979172, power=461.0, imported=174168.83436850525, exported=132153.6990891164)
2024-01-28 14:37:00,749 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00270851, power1: 461, power2: 446
2024-01-28 14:37:00,749 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.22831
2024-01-28 14:37:00,750 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.22831 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449020.7485545, power=446.0, imported=174170.06267795313, exported=132153.6990891164)
2024-01-28 14:37:00,757 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174170.06267795313, exported=132153.6990891164, power=446.0, soc=11.0)
2024-01-28 14:37:00,776 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:00,780 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174170.06267795313, exported=132153.6990891164, power=446.0, soc=11.0)
2024-01-28 14:37:00,816 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:00,817 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:00,820 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2659.4, exported=8005316.36, dc_power=None)
2024-01-28 14:37:00,821 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2659.4, exported=8005316.36, dc_power=None)
2024-01-28 14:37:00,828 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:00,834 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.9379531872, dc_power=None)
2024-01-28 14:37:00,835 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301374.9379531872, dc_power=None)
2024-01-28 14:37:00,868 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:00,869 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.1, 2.9000000000000004, -1.6], powers=[-328.0, 588.0, -292.0], voltages=[239.76, 239.23000000000002, 237.31], power_factors=[-0.609, 0.8898999999999999, -0.735], imported=8628773.0, exported=4872917.0, power=-32.0, frequency=49.99)
2024-01-28 14:37:00,932 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:00,933 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:37:00,933 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cf880>
2024-01-28 14:37:00,937 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:00,939 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cf880>
2024-01-28 14:37:00,960 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174170.06, vorherige Payload: 174168.83
2024-01-28 14:37:00,961 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 446.0, vorherige Payload: 461.0
2024-01-28 14:37:01,075 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:37:01,077 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.13, 38.18, 36.58]A
2024-01-28 14:37:01,078 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25472.92W
2024-01-28 14:37:01,079 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:37:01,090 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:01,091 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:37:01,097 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:37:01.097208
2024-01-28 14:37:01,098 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136688.219562s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:37:01,099 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:37:01.098748
2024-01-28 14:37:01,099 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:37:01.098748
2024-01-28 14:37:01,100 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53530.454047s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:37:01,100 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:37:01.100457
2024-01-28 14:37:01,101 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128906.849854s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:37:01,102 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:37:01.101706
2024-01-28 14:37:01,102 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:37:01.101706
2024-01-28 14:37:01,102 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52233.556679s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:37:01,103 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:37:01,110 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:37:01,112 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:37:01,132 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449011.5400977, power=873.8199999999999, imported=4312331.295034279, exported=0)
2024-01-28 14:37:01,133 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266443, power1: 873.82, power2: 847.48
2024-01-28 14:37:01,140 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.29314
2024-01-28 14:37:01,141 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.29314 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449021.1320424, power=847.48, imported=4312333.588175168, exported=0)
2024-01-28 14:37:01,145 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174170.06, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=446.0))
2024-01-28 14:37:01,148 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174170.06, exported=132153.7, power=446.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:37:01,149 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1440.92, imported=7628212.89, exported=0))
2024-01-28 14:37:01,152 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628212.89, phases_in_use=1, plug_state=True, power=1440.92, 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.68, 237.75, 240.1]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=61.03000000026077, imported_since_plugged=61.03000000026077, range_charged=0.3051500000013039, time_charged='0:01', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f59d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:37:01,154 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:37:01,155 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:37:01,157 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-328.0, 588.0, -292.0], currents=[-2.1, 2.9, -1.6], voltages=[239.76, 239.23, 237.31], power_factors=[-0.61, 0.89, -0.73], unbalanced_load=0, frequency=49.99, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-32.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25472.92, raw_currents_left=[37.13, 38.18, 36.58], surplus_power_left=0, state_str=''))
2024-01-28 14:37:01,158 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=847.48, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312333.588175168, disengageable_smarthome_power=0))
2024-01-28 14:37:01,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-28 14:37:01,162 - {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-28 14:37:01,164 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:37:01,166 - {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-28 14:37:01,167 - {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-28 14:37:01,169 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:01,171 - {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=77, soc_timestamp=1706449008.079362, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:01,173 - {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-28 14:37:01,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-28 14:37:01,175 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:01,177 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:01,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb83a0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:37:01,180 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:37:01,180 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:37:01,181 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e3058>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:37:01,183 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301374.938, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:37:01,184 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005316.36, fault_state=0, fault_str='Kein Fehler.', power=-2659.4))
2024-01-28 14:37:01,187 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306691.298, power=-2766.4))
2024-01-28 14:37:01,192 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449011, 'time': '14:36:51', 'grid': 0.002, 'house-power': 0.874, 'charging-all': 1.439, 'pv-all': 2.772, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.461, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:37:01,193 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:37:01,195 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:37:01,196 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:01,197 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:01,199 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:37:01,201 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:37:01,201 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:37:01,202 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:37:01,204 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:37:01,205 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:01,207 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -32.0W
2024-01-28 14:37:01,208 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: 32.0W, benötigte neue Leistung: 3220W
2024-01-28 14:37:01,209 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -32.0W
2024-01-28 14:37:01,212 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -32.0W
2024-01-28 14:37:01,214 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -32.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:37:01,216 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:37:01,218 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:37:01,221 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.13, 32.18, 36.58]A verbleibende Ströme, 24092.92W verbleibende Leistung
2024-01-28 14:37:01,223 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:37:01,225 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:37:01,228 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:37:01,229 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.080000000001746W
2024-01-28 14:37:01,230 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -7.080000000001746W
2024-01-28 14:37:01,231 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:37:01,233 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:37:01,238 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:37:01,249 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:01,305 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:37:05,700 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:05,700 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:10,712 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:10,713 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:10,713 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:37:10,714 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:37:10,764 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:37:10,765 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:10,774 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:37:10,779 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:10,780 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:10,823 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:37:10,825 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.5, "voltage":239.8, "current":0.452, "aenergy":{"total":9434.495,"by_minute":[298.574,1796.666,1803.786],"minute_ts":1706449029},"temperature":{"tC":40.3, "tF":104.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:37","unixtime":1706449031,"uptime":5808425,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:37:10,827 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449020.3806875, power=-107, imported=0.0, exported=301374.9379531872)
2024-01-28 14:37:10,828 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290193, power1: -107, power2: -107
2024-01-28 14:37:10,829 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9, 326, -608, 291], Scale 0
2024-01-28 14:37:10,830 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.310506
2024-01-28 14:37:10,831 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.310506 Wh, new state: SimCounterState(timestamp=1706449030.827632, power=-107, imported=0.0, exported=301375.24845959246)
2024-01-28 14:37:10,833 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.24845959246, dc_power=None)
2024-01-28 14:37:10,851 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:37:10,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24019, 23953, 23773, 0, 0, 0, 0], Scale -2
2024-01-28 14:37:10,903 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:37:10,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6380, 8949, -7670], Scale -2
2024-01-28 14:37:10,960 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798627, 2184843, 1457566, 8628773, 3551345, 2508517, 3137030], Scale 0
2024-01-28 14:37:10,961 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-326.0, 608.0, -291.0], voltages=[240.19, 239.53, 237.73000000000002], power_factors=[-0.638, 0.8948999999999999, -0.767], imported=8628773.0, exported=4872917.0, power=-9.0, frequency=49.99)
2024-01-28 14:37:10,963 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:10,978 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22113], Scale -1
2024-01-28 14:37:11,039 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963306], Scale 0
2024-01-28 14:37:11,068 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 313, 308], Scale -2
2024-01-28 14:37:11,090 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22450], Scale -1
2024-01-28 14:37:11,091 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.13, 3.08]
2024-01-28 14:37:11,091 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.13, 3.08], power=-2211.3, exported=7963306.0, dc_power=-2245.0)
2024-01-28 14:37:11,092 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:11,210 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449020.7485545, power=446.0, imported=174170.06267795313, exported=132153.6990891164)
2024-01-28 14:37:11,210 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290595, power1: 446, power2: 466
2024-01-28 14:37:11,211 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.32511
2024-01-28 14:37:11,211 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.32511 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449031.2099576, power=466.0, imported=174171.38778901644, exported=132153.6990891164)
2024-01-28 14:37:11,212 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174171.38778901644, exported=132153.6990891164, power=466.0, soc=11.0)
2024-01-28 14:37:11,218 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:11,219 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174171.38778901644, exported=132153.6990891164, power=466.0, soc=11.0)
2024-01-28 14:37:11,277 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:11,278 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:11,279 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2677.3, exported=8005323.69, dc_power=None)
2024-01-28 14:37:11,280 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2677.3, exported=8005323.69, dc_power=None)
2024-01-28 14:37:11,282 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:11,283 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.24845959246, dc_power=None)
2024-01-28 14:37:11,284 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.24845959246, dc_power=None)
2024-01-28 14:37:11,323 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:11,324 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-326.0, 608.0, -291.0], voltages=[240.19, 239.53, 237.73000000000002], power_factors=[-0.638, 0.8948999999999999, -0.767], imported=8628773.0, exported=4872917.0, power=-9.0, frequency=49.99)
2024-01-28 14:37:11,392 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:11,393 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:37:11,393 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e2940>
2024-01-28 14:37:11,423 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:11,427 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e2940>
2024-01-28 14:37:11,630 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174171.39, vorherige Payload: 174170.06
2024-01-28 14:37:11,633 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 466.0, vorherige Payload: 446.0
2024-01-28 14:37:11,865 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:37:11,869 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.48]A
2024-01-28 14:37:11,870 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25468.49W
2024-01-28 14:37:11,872 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:37:11,874 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:11,877 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:37:11,878 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:37:11.877994
2024-01-28 14:37:11,879 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136677.438776s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:37:11,880 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:37:11.880418
2024-01-28 14:37:11,881 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:37:11.880418
2024-01-28 14:37:11,882 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53519.672377s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:37:11,884 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:37:11.883857
2024-01-28 14:37:11,885 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128896.066454s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:37:11,886 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:37:11.886310
2024-01-28 14:37:11,887 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:37:11.886310
2024-01-28 14:37:11,888 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52222.772075s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:37:11,889 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:37:11,893 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:37:11,894 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:37:11,911 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449021.1320424, power=847.48, imported=4312333.588175168, exported=0)
2024-01-28 14:37:11,913 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00299411, power1: 847.48, power2: 849.81
2024-01-28 14:37:11,915 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.54093
2024-01-28 14:37:11,917 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.54093 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449031.910826, power=849.8100000000002, imported=4312336.129108717, exported=0)
2024-01-28 14:37:11,920 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174171.39, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=466.0))
2024-01-28 14:37:11,922 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174171.39, exported=132153.7, power=466.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:37:11,923 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1459.49, imported=7628217.77, exported=0))
2024-01-28 14:37:11,924 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628217.77, phases_in_use=1, plug_state=True, power=1459.49, 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.15, 240.19]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=64.93999999947846, imported_since_plugged=64.93999999947846, range_charged=0.3246999999973923, time_charged='0:01', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cfc28>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:37:11,926 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:37:11,927 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:37:11,928 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-326.0, 608.0, -291.0], currents=[-2.0, 2.8, -1.5], voltages=[240.19, 239.53, 237.73], power_factors=[-0.64, 0.89, -0.77], unbalanced_load=0, frequency=49.99, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-9.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25468.49, raw_currents_left=[37.03, 38.28, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:37:11,930 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=849.8100000000002, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312336.129108717, disengageable_smarthome_power=0))
2024-01-28 14:37:11,932 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:37:11,933 - {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-28 14:37: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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:37: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-28 14:37:11,936 - {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-28 14:37:11,937 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:11,939 - {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=77, soc_timestamp=1706449008.079362, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:11,939 - {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-28 14:37:11,941 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:37:11,942 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:11,943 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:11,944 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6b68>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:37:11,945 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:37:11,946 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:37:11,947 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed99d18>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:37:11,948 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301375.248, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:37:11,950 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005323.69, fault_state=0, fault_str='Kein Fehler.', power=-2677.3))
2024-01-28 14:37:11,951 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306698.938, power=-2784.3))
2024-01-28 14:37:11,952 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449021, 'time': '14:37:01', 'grid': -0.032, 'house-power': 0.847, 'charging-all': 1.441, 'pv-all': 2.766, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.446, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:37:11,953 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:37:11,955 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:37:11,956 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:11,957 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:11,959 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:37:11,960 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:37:11,961 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:37:11,963 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:37:11,964 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:37:11,965 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:11,967 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -9.0W
2024-01-28 14:37:11,968 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: 9.0W, benötigte neue Leistung: 3220W
2024-01-28 14:37:11,969 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -9.0W
2024-01-28 14:37:11,971 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -9.0W
2024-01-28 14:37:11,972 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -9.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:37:11,973 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:37:11,976 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:37:11,978 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.48]A verbleibende Ströme, 24088.49W verbleibende Leistung
2024-01-28 14:37:11,980 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:37:11,982 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:37:11,985 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:37:11,986 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -11.5099999999984W
2024-01-28 14:37:11,987 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -11.5099999999984W
2024-01-28 14:37:11,988 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:37:11,989 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:37:11,992 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:37:11,995 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:12,013 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:37:15,301 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:20,315 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:20,316 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:20,317 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:37:20,318 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:37:20,362 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:37:20,366 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:20,368 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:20,376 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:37:20,378 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:20,418 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-10, 320, -618, 286], Scale 0
2024-01-28 14:37:20,420 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:37:20,423 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.4, "voltage":239.8, "current":0.451, "aenergy":{"total":9434.798,"by_minute":[597.623,1796.666,1803.786],"minute_ts":1706449039},"temperature":{"tC":40.3, "tF":104.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:37","unixtime":1706449040,"uptime":5808435,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:37:20,425 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449030.827632, power=-107, imported=0.0, exported=301375.24845959246)
2024-01-28 14:37:20,426 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266611, power1: -107, power2: -107
2024-01-28 14:37:20,427 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.285274
2024-01-28 14:37:20,427 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.285274 Wh, new state: SimCounterState(timestamp=1706449040.425635, power=-107, imported=0.0, exported=301375.53373357496)
2024-01-28 14:37:20,429 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.53373357496, dc_power=None)
2024-01-28 14:37:20,441 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 16], Scale -1
2024-01-28 14:37:20,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24011, 23973, 23767, 0, 0, 0, 0], Scale -2
2024-01-28 14:37:20,527 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:37:20,569 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6620, 8889, -7590], Scale -2
2024-01-28 14:37:20,700 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798628, 2184843, 1457567, 8628773, 3551345, 2508518, 3137030], Scale 0
2024-01-28 14:37:20,701 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-320.0, 618.0, -286.0], voltages=[240.11, 239.73000000000002, 237.67000000000002], power_factors=[-0.662, 0.8889, -0.759], imported=8628773.0, exported=4872917.0, power=10.0, frequency=49.97)
2024-01-28 14:37:20,702 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:20,728 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21981], Scale -1
2024-01-28 14:37:20,759 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963313], Scale 0
2024-01-28 14:37:20,780 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 310, 306], Scale -2
2024-01-28 14:37:20,809 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22316], Scale -1
2024-01-28 14:37:20,810 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.1, 3.06]
2024-01-28 14:37:20,810 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.1, 3.06], power=-2198.1, exported=7963313.0, dc_power=-2231.6)
2024-01-28 14:37:20,814 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:20,862 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449031.2099576, power=466.0, imported=174171.38778901644, exported=132153.6990891164)
2024-01-28 14:37:20,863 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00268137, power1: 466, power2: 491
2024-01-28 14:37:20,864 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.28304
2024-01-28 14:37:20,864 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.28304 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449040.8629022, power=491.0, imported=174172.6708262315, exported=132153.6990891164)
2024-01-28 14:37:20,865 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174172.6708262315, exported=132153.6990891164, power=491.0, soc=11.0)
2024-01-28 14:37:20,870 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:20,872 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174172.6708262315, exported=132153.6990891164, power=491.0, soc=11.0)
2024-01-28 14:37:20,914 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:20,916 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:20,917 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2689.1, exported=8005331.97, dc_power=None)
2024-01-28 14:37:20,918 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:20,918 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2689.1, exported=8005331.97, dc_power=None)
2024-01-28 14:37:20,919 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.53373357496, dc_power=None)
2024-01-28 14:37:20,923 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.53373357496, dc_power=None)
2024-01-28 14:37:20,965 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:20,966 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-320.0, 618.0, -286.0], voltages=[240.11, 239.73000000000002, 237.67000000000002], power_factors=[-0.662, 0.8889, -0.759], imported=8628773.0, exported=4872917.0, power=10.0, frequency=49.97)
2024-01-28 14:37:21,035 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:21,036 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:37:21,037 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6eda6e20>
2024-01-28 14:37:21,038 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:21,039 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6eda6e20>
2024-01-28 14:37:21,063 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174172.67, vorherige Payload: 174171.39
2024-01-28 14:37:21,065 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 491.0, vorherige Payload: 466.0
2024-01-28 14:37:21,186 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:37:21,189 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.37, 36.58]A
2024-01-28 14:37:21,189 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25452.57W
2024-01-28 14:37:21,191 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:37:21,193 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:21,193 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:37:21,195 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:37:21.194921
2024-01-28 14:37:21,197 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136668.121849s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:37:21,200 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:37:21.199701
2024-01-28 14:37:21,201 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:37:21.199701
2024-01-28 14:37:21,203 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53510.353094s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:37:21,206 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:37:21.206238
2024-01-28 14:37:21,211 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128886.744073s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:37:21,212 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:37:21.212276
2024-01-28 14:37:21,214 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:37:21.212276
2024-01-28 14:37:21,215 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52213.446109s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:37:21,218 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:37:21,233 - {control.chargepoint.chargepoint:667} - {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: 6.17
2024-01-28 14:37:21,242 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:37:21,258 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449031.910826, power=849.8100000000002, imported=4312336.129108717, exported=0)
2024-01-28 14:37:21,260 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259651, power1: 849.81, power2: 852.53
2024-01-28 14:37:21,263 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.21007
2024-01-28 14:37:21,264 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.21007 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449041.2582712, power=852.53, imported=4312338.33918232, exported=0)
2024-01-28 14:37:21,267 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174172.67, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=491.0))
2024-01-28 14:37:21,269 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174172.67, exported=132153.7, power=491.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:37:21,270 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1462.57, imported=7628221.19, exported=0))
2024-01-28 14:37:21,272 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.17, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628221.19, phases_in_use=1, plug_state=True, power=1462.57, 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.91, 238.29, 240.67]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=69.8199999993667, imported_since_plugged=69.8199999993667, range_charged=0.3490999999968335, time_charged='0:01', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed8ddf0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:37:21,273 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:37:21,274 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:37:21,277 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-320.0, 618.0, -286.0], currents=[-2.0, 2.8, -1.6], voltages=[240.11, 239.73, 237.67], power_factors=[-0.66, 0.89, -0.76], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=10.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25452.57, raw_currents_left=[37.03, 38.37, 36.58], surplus_power_left=0, state_str=''))
2024-01-28 14:37:21,278 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=852.53, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312338.33918232, disengageable_smarthome_power=0))
2024-01-28 14:37:21,280 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:37:21,282 - {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-28 14:37:21,283 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:37:21,285 - {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-28 14:37:21,287 - {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-28 14:37:21,288 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:21,289 - {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=77, soc_timestamp=1706449008.079362, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:21,295 - {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-28 14:37:21,297 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:37:21,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-28 14:37:21,300 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:21,301 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c3a30>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:37:21,302 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:37:21,305 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:37:21,306 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cfdc0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:37:21,308 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301375.534, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:37:21,310 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005331.97, fault_state=0, fault_str='Kein Fehler.', power=-2689.1))
2024-01-28 14:37:21,312 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306707.504, power=-2796.1))
2024-01-28 14:37:21,314 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449032, 'time': '14:37:12', 'grid': -0.009, 'house-power': 0.85, 'charging-all': 1.459, 'pv-all': 2.784, 'cp1-power': 1.459, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.466, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:37:21,314 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:37:21,315 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:37:21,317 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:21,318 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:21,319 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:37:21,320 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:37:21,321 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:37:21,323 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:37:21,325 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:37:21,326 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:21,328 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 10.0W
2024-01-28 14:37:21,329 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.17A, Überschuss: -10.0W, benötigte neue Leistung: 3220W
2024-01-28 14:37:21,330 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 10.0W
2024-01-28 14:37:21,333 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 10.0W
2024-01-28 14:37:21,335 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 10.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:37:21,336 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:37:21,339 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:37:21,341 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.37, 36.58]A verbleibende Ströme, 24072.57W verbleibende Leistung
2024-01-28 14:37:21,342 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:37:21,345 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:37:21,348 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:37:21,351 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.43000000000029W
2024-01-28 14:37:21,352 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -27.43000000000029W
2024-01-28 14:37:21,353 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:37:21,354 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:37:21,361 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:37:21,367 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:21,386 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:37:25,793 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:25,795 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:30,808 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:30,811 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:37:30,813 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:37:30,911 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:37:30,912 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:30,921 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:30,923 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:37:30,926 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:30,970 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:37:30,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":true, "apower":107.5, "voltage":239.1, "current":0.453, "aenergy":{"total":9435.100,"by_minute":[896.198,1796.666,1803.786],"minute_ts":1706449049},"temperature":{"tC":40.3, "tF":104.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:37","unixtime":1706449051,"uptime":5808445,"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-28 14:37:30,977 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449040.425635, power=-107, imported=0.0, exported=301375.53373357496)
2024-01-28 14:37:30,977 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293091, power1: -107, power2: -107
2024-01-28 14:37:30,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [16, 321, -597, 291], Scale 0
2024-01-28 14:37:30,980 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.313607
2024-01-28 14:37:30,984 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.313607 Wh, new state: SimCounterState(timestamp=1706449050.976904, power=-107, imported=0.0, exported=301375.8473407314)
2024-01-28 14:37:30,987 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.8473407314, dc_power=None)
2024-01-28 14:37:31,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:37:31,038 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24024, 23954, 23777, 0, 0, 0, 0], Scale -2
2024-01-28 14:37:31,059 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:37:31,139 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6499, 9110, -7649], Scale -2
2024-01-28 14:37:31,186 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798629, 2184843, 1457567, 8628773, 3551345, 2508519, 3137030], Scale 0
2024-01-28 14:37:31,187 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-321.0, 597.0, -291.0], voltages=[240.24, 239.54, 237.77], power_factors=[-0.6498999999999999, 0.911, -0.7648999999999999], imported=8628773.0, exported=4872917.0, power=-16.0, frequency=49.97)
2024-01-28 14:37:31,189 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:31,219 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21739], Scale -1
2024-01-28 14:37:31,239 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963319], Scale 0
2024-01-28 14:37:31,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 308, 304], Scale -2
2024-01-28 14:37:31,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22070], Scale -1
2024-01-28 14:37:31,281 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.08, 3.04]
2024-01-28 14:37:31,281 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.08, 3.04], power=-2173.9, exported=7963319.0, dc_power=-2207.0)
2024-01-28 14:37:31,282 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:31,342 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449040.8629022, power=491.0, imported=174172.6708262315, exported=132153.6990891164)
2024-01-28 14:37:31,342 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291087, power1: 491, power2: 578
2024-01-28 14:37:31,344 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.55586
2024-01-28 14:37:31,345 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.55586 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449051.342045, power=578.0, imported=174174.22668786548, exported=132153.6990891164)
2024-01-28 14:37:31,346 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174174.22668786548, exported=132153.6990891164, power=578.0, soc=11.0)
2024-01-28 14:37:31,351 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:31,353 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174174.22668786548, exported=132153.6990891164, power=578.0, soc=11.0)
2024-01-28 14:37:31,397 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:31,398 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:31,399 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:31,399 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2751.9, exported=8005339.53, dc_power=None)
2024-01-28 14:37:31,400 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.8473407314, dc_power=None)
2024-01-28 14:37:31,400 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2751.9, exported=8005339.53, dc_power=None)
2024-01-28 14:37:31,401 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301375.8473407314, dc_power=None)
2024-01-28 14:37:31,444 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:31,444 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-321.0, 597.0, -291.0], voltages=[240.24, 239.54, 237.77], power_factors=[-0.6498999999999999, 0.911, -0.7648999999999999], imported=8628773.0, exported=4872917.0, power=-16.0, frequency=49.97)
2024-01-28 14:37:31,504 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:31,505 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:37:31,506 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e3940>
2024-01-28 14:37:31,510 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:31,511 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e3940>
2024-01-28 14:37:31,531 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174174.23, vorherige Payload: 174172.67
2024-01-28 14:37:31,533 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 578.0, vorherige Payload: 491.0
2024-01-28 14:37:31,639 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:37:31,641 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.47]A
2024-01-28 14:37:31,642 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25452.88W
2024-01-28 14:37:31,643 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:37:31,645 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:31,646 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:37:31,648 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:37:31.648073
2024-01-28 14:37:31,650 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136657.668697s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:37:31,651 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:37:31.651304
2024-01-28 14:37:31,653 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:37:31.651304
2024-01-28 14:37:31,655 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53499.901491s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:37:31,657 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:37:31.656900
2024-01-28 14:37:31,658 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128876.293411s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:37:31,660 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:37:31.660167
2024-01-28 14:37:31,663 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:37:31.660167
2024-01-28 14:37:31,664 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52202.998218s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:37:31,665 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:37:31,670 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:37:31,671 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:37:31,693 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449041.2582712, power=852.53, imported=4312338.33918232, exported=0)
2024-01-28 14:37:31,696 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289859, power1: 852.53, power2: 828.02
2024-01-28 14:37:31,696 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.43562
2024-01-28 14:37:31,698 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.43562 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449051.6932065, power=828.02, imported=4312340.774797677, exported=0)
2024-01-28 14:37:31,700 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174174.23, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=578.0))
2024-01-28 14:37:31,702 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174174.23, exported=132153.7, power=578.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:37:31,703 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1436.88, imported=7628225.1, exported=0))
2024-01-28 14:37:31,705 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, -0.03, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628225.1, phases_in_use=1, plug_state=True, power=1436.88, 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.14, 239.13, 240.5]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=73.24000000022352, imported_since_plugged=73.24000000022352, range_charged=0.3662000000011176, time_charged='0:02', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c6ac0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:37:31,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-28 14:37:31,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-28 14:37:31,709 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-321.0, 597.0, -291.0], currents=[-2.0, 2.8, -1.5], voltages=[240.24, 239.54, 237.77], power_factors=[-0.65, 0.91, -0.76], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-16.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25452.88, raw_currents_left=[37.03, 38.28, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:37:31,711 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=828.02, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312340.774797677, disengageable_smarthome_power=0))
2024-01-28 14:37:31,712 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:37:31,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-28 14:37:31,716 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:37:31,717 - {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-28 14:37:31,718 - {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-28 14:37:31,720 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:31,722 - {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=77, soc_timestamp=1706449008.079362, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:31,723 - {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-28 14:37:31,726 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:37:31,744 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:31,749 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:31,752 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cff88>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:37:31,754 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:37:31,755 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:37:31,760 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb3eb0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:37:31,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=429.0, monthly_exported=0, yearly_exported=0, exported=301375.847, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:37:31,764 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005339.53, fault_state=0, fault_str='Kein Fehler.', power=-2751.9))
2024-01-28 14:37:31,766 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306715.377, power=-2858.9))
2024-01-28 14:37:31,767 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449041, 'time': '14:37:21', 'grid': 0.01, 'house-power': 0.853, 'charging-all': 1.463, 'pv-all': 2.796, 'cp1-power': 1.463, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.491, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:37:31,768 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:37:31,770 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:37:31,772 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:31,774 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:31,788 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:37:31,789 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:37:31,790 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:37:31,793 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:37:31,796 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:37:31,797 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:31,802 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -16.0W
2024-01-28 14:37:31,805 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: 16.0W, benötigte neue Leistung: 3220W
2024-01-28 14:37:31,806 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -16.0W
2024-01-28 14:37:31,809 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -16.0W
2024-01-28 14:37:31,810 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -16.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:37:31,824 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:37:31,827 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:37:31,844 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.47]A verbleibende Ströme, 24072.88W verbleibende Leistung
2024-01-28 14:37:31,847 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:37:31,851 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:37:31,853 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:37:31,864 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.11999999999898W
2024-01-28 14:37:31,865 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -27.11999999999898W
2024-01-28 14:37:31,869 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:37:31,871 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:37:31,876 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:37:31,886 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:31,944 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:37:35,334 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:35,335 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:40,348 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:40,349 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:40,349 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:37:40,350 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:37:40,398 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:37:40,399 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:40,406 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:37:40,408 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:40,409 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:40,453 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:37:40,455 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.4, "voltage":239.1, "current":0.453, "aenergy":{"total":9435.401,"by_minute":[1194.771,1796.666,1803.786],"minute_ts":1706449059},"temperature":{"tC":40.2, "tF":104.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:37","unixtime":1706449061,"uptime":5808455,"ram_size":248976,"ram_free":144776,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:37:40,457 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449050.976904, power=-107, imported=0.0, exported=301375.8473407314)
2024-01-28 14:37:40,458 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263354, power1: -107, power2: -107
2024-01-28 14:37:40,458 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.281789
2024-01-28 14:37:40,459 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.281789 Wh, new state: SimCounterState(timestamp=1706449060.4576592, power=-107, imported=0.0, exported=301376.12912984815)
2024-01-28 14:37:40,460 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.12912984815, dc_power=None)
2024-01-28 14:37:40,479 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9, 316, -605, 279], Scale 0
2024-01-28 14:37:40,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:37:40,588 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24012, 23887, 23870, 0, 0, 0, 0], Scale -2
2024-01-28 14:37:40,608 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:37:40,628 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6449, 8930, -7609], Scale -2
2024-01-28 14:37:40,652 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798629, 2184843, 1457568, 8628773, 3551345, 2508520, 3137030], Scale 0
2024-01-28 14:37:40,653 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-316.0, 605.0, -279.0], voltages=[240.12, 238.87, 238.70000000000002], power_factors=[-0.6448999999999999, 0.893, -0.7609], imported=8628773.0, exported=4872917.0, power=9.0, frequency=49.97)
2024-01-28 14:37:40,654 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:40,688 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21745], Scale -1
2024-01-28 14:37:40,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963325], Scale 0
2024-01-28 14:37:40,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [305, 304, 304], Scale -2
2024-01-28 14:37:40,898 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22287], Scale -1
2024-01-28 14:37:40,899 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0500000000000003, 3.04, 3.04]
2024-01-28 14:37:40,900 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0500000000000003, 3.04, 3.04], power=-2174.5, exported=7963325.0, dc_power=-2228.7000000000003)
2024-01-28 14:37:40,902 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:40,937 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449051.342045, power=578.0, imported=174174.22668786548, exported=132153.6990891164)
2024-01-28 14:37:40,938 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266544, power1: 578, power2: 576
2024-01-28 14:37:40,939 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.53796
2024-01-28 14:37:40,939 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.53796 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449060.9376276, power=576.0, imported=174175.76464650268, exported=132153.6990891164)
2024-01-28 14:37:40,940 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174175.76464650268, exported=132153.6990891164, power=576.0, soc=11.0)
2024-01-28 14:37:40,948 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:40,957 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174175.76464650268, exported=132153.6990891164, power=576.0, soc=11.0)
2024-01-28 14:37:40,997 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:40,998 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:40,999 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2750.5, exported=8005347.06, dc_power=None)
2024-01-28 14:37:41,000 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:41,000 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2750.5, exported=8005347.06, dc_power=None)
2024-01-28 14:37:41,001 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.12912984815, dc_power=None)
2024-01-28 14:37:41,003 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.12912984815, dc_power=None)
2024-01-28 14:37:41,046 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:41,047 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-316.0, 605.0, -279.0], voltages=[240.12, 238.87, 238.70000000000002], power_factors=[-0.6448999999999999, 0.893, -0.7609], imported=8628773.0, exported=4872917.0, power=9.0, frequency=49.97)
2024-01-28 14:37:41,108 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:41,109 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:37:41,109 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7fab20>
2024-01-28 14:37:41,111 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:41,112 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7fab20>
2024-01-28 14:37:41,137 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174175.76, vorherige Payload: 174174.23
2024-01-28 14:37:41,138 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 576.0, vorherige Payload: 578.0
2024-01-28 14:37:41,266 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:37:41,273 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.29, 36.48]A
2024-01-28 14:37:41,275 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25428.73W
2024-01-28 14:37:41,276 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:37:41,286 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:41,289 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:37:41,291 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:37:41.290956
2024-01-28 14:37:41,292 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136648.025814s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:37:41,293 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:37:41.293563
2024-01-28 14:37:41,295 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:37:41.293563
2024-01-28 14:37:41,295 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53490.259232s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:37:41,296 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:37:41.296363
2024-01-28 14:37:41,298 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128866.653948s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:37:41,300 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:37:41.299711
2024-01-28 14:37:41,301 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:37:41.299711
2024-01-28 14:37:41,302 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52193.358674s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:37:41,303 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:37:41,320 - {control.chargepoint.chargepoint:667} - {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: 6.09
2024-01-28 14:37:41,321 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:37:41,335 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449051.6932065, power=828.02, imported=4312340.774797677, exported=0)
2024-01-28 14:37:41,345 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00267851, power1: 828.02, power2: 852.77
2024-01-28 14:37:41,347 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.25101
2024-01-28 14:37:41,355 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.25101 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449061.3358371, power=852.77, imported=4312343.025802823, exported=0)
2024-01-28 14:37:41,363 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174175.76, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=576.0))
2024-01-28 14:37:41,366 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174175.76, exported=132153.7, power=576.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:37:41,377 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1437.73, imported=7628229.0, exported=0))
2024-01-28 14:37:41,382 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.09, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628229.0, phases_in_use=1, plug_state=True, power=1437.73, 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.33, 239.09, 240.04]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=77.1499999994412, imported_since_plugged=77.1499999994412, range_charged=0.38574999999720605, time_charged='0:02', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701563d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:37:41,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-28 14:37:41,388 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:37:41,392 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-316.0, 605.0, -279.0], currents=[-2.0, 2.8, -1.5], voltages=[240.12, 238.87, 238.7], power_factors=[-0.64, 0.89, -0.76], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=9.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25428.73, raw_currents_left=[37.03, 38.29, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:37:41,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=852.77, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312343.025802823, disengageable_smarthome_power=0))
2024-01-28 14:37:41,395 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:37:41,396 - {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-28 14:37:41,397 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:37:41,398 - {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-28 14:37:41,398 - {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-28 14:37:41,399 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:41,399 - {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=77, soc_timestamp=1706449008.079362, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:41,400 - {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-28 14:37:41,400 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:37:41,400 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:41,401 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:41,401 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e32f8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:37:41,402 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:37:41,402 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:37:41,403 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7fd508>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:37:41,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=429.0, monthly_exported=0, yearly_exported=0, exported=301376.129, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:37:41,403 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005347.06, fault_state=0, fault_str='Kein Fehler.', power=-2750.5))
2024-01-28 14:37:41,404 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306723.188999999, power=-2857.5))
2024-01-28 14:37:41,404 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449051, 'time': '14:37:31', 'grid': -0.016, 'house-power': 0.828, 'charging-all': 1.437, 'pv-all': 2.859, 'cp1-power': 1.437, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.578, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:37:41,405 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:37:41,405 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:37:41,406 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:41,406 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:41,407 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:37:41,407 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:37:41,407 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:37:41,408 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:37:41,408 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:37:41,408 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:41,409 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 9.0W
2024-01-28 14:37:41,409 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.09A, Überschuss: -9.0W, benötigte neue Leistung: 3220W
2024-01-28 14:37:41,410 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 9.0W
2024-01-28 14:37:41,410 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 9.0W
2024-01-28 14:37:41,411 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 9.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:37:41,411 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:37:41,413 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:37:41,414 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.29, 36.48]A verbleibende Ströme, 24048.73W verbleibende Leistung
2024-01-28 14:37:41,415 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:37:41,416 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:37:41,418 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:37:41,418 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -51.27000000000044W
2024-01-28 14:37:41,419 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -51.27000000000044W
2024-01-28 14:37:41,419 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:37:41,419 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:37:41,435 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:37:41,455 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:41,474 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:37:45,849 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:50,863 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:50,864 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:37:50,865 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:37:50,866 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:37:50,912 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:37:50,914 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:50,922 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:37:50,924 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:50,930 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:50,963 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:37:50,966 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.3, "voltage":239.0, "current":0.452, "aenergy":{"total":9435.702,"by_minute":[1492.871,1796.666,1803.786],"minute_ts":1706449069},"temperature":{"tC":40.3, "tF":104.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:37","unixtime":1706449071,"uptime":5808465,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:37:50,968 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449060.4576592, power=-107, imported=0.0, exported=301376.12912984815)
2024-01-28 14:37:50,969 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029196, power1: -107, power2: -107
2024-01-28 14:37:50,969 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.312397
2024-01-28 14:37:50,970 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.312397 Wh, new state: SimCounterState(timestamp=1706449070.9682136, power=-107, imported=0.0, exported=301376.44152687915)
2024-01-28 14:37:50,971 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.44152687915, dc_power=None)
2024-01-28 14:37:51,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 329, -600, 280], Scale 0
2024-01-28 14:37:51,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:37:51,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23998, 23883, 23854, 0, 0, 0, 0], Scale -2
2024-01-28 14:37:51,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:37:51,169 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6430, 8909, -7540], Scale -2
2024-01-28 14:37:51,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798631, 2184843, 1457569, 8628773, 3551345, 2508523, 3137030], Scale 0
2024-01-28 14:37:51,201 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-329.0, 600.0, -280.0], voltages=[239.98000000000002, 238.83, 238.54], power_factors=[-0.643, 0.8909, -0.754], imported=8628773.0, exported=4872917.0, power=-10.0, frequency=49.97)
2024-01-28 14:37:51,203 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:51,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21850], Scale -1
2024-01-28 14:37:51,300 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963332], Scale 0
2024-01-28 14:37:51,328 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [305, 310, 307], Scale -2
2024-01-28 14:37:51,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22265], Scale -1
2024-01-28 14:37:51,348 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0500000000000003, 3.1, 3.0700000000000003]
2024-01-28 14:37:51,349 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0500000000000003, 3.1, 3.0700000000000003], power=-2185.0, exported=7963332.0, dc_power=-2226.5)
2024-01-28 14:37:51,350 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:51,440 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449060.9376276, power=576.0, imported=174175.76464650268, exported=132153.6990891164)
2024-01-28 14:37:51,440 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291731, power1: 576, power2: 570
2024-01-28 14:37:51,441 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.67162
2024-01-28 14:37:51,441 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.67162 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449071.4399378, power=570.0, imported=174177.43626422161, exported=132153.6990891164)
2024-01-28 14:37:51,442 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174177.43626422161, exported=132153.6990891164, power=570.0, soc=11.0)
2024-01-28 14:37:51,448 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:37:51,449 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174177.43626422161, exported=132153.6990891164, power=570.0, soc=11.0)
2024-01-28 14:37:51,488 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:51,489 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:37:51,490 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:37:51,491 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2755.0, exported=8005355.74, dc_power=None)
2024-01-28 14:37:51,492 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.44152687915, dc_power=None)
2024-01-28 14:37:51,493 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2755.0, exported=8005355.74, dc_power=None)
2024-01-28 14:37:51,494 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.44152687915, dc_power=None)
2024-01-28 14:37:51,532 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:37:51,533 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-329.0, 600.0, -280.0], voltages=[239.98000000000002, 238.83, 238.54], power_factors=[-0.643, 0.8909, -0.754], imported=8628773.0, exported=4872917.0, power=-10.0, frequency=49.97)
2024-01-28 14:37:51,595 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:51,596 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:37:51,597 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7fd5b0>
2024-01-28 14:37:51,599 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:37:51,600 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7fd5b0>
2024-01-28 14:37:51,622 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174177.44, vorherige Payload: 174175.76
2024-01-28 14:37:51,623 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 570.0, vorherige Payload: 576.0
2024-01-28 14:37:51,744 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:37:51,779 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.47]A
2024-01-28 14:37:51,782 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25445.51W
2024-01-28 14:37:51,783 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:37:51,785 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:51,786 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:37:51,790 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:37:51.789993
2024-01-28 14:37:51,791 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136637.526777s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:37:51,793 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:37:51.793182
2024-01-28 14:37:51,795 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:37:51.793182
2024-01-28 14:37:51,797 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53479.759613s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:37:51,803 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:37:51.803282
2024-01-28 14:37:51,805 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128856.147029s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:37:51,809 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:37:51.808755
2024-01-28 14:37:51,812 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:37:51.808755
2024-01-28 14:37:51,814 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52182.84963s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:37:51,838 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:37:51,855 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:37:51,859 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:37:51,898 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449061.3358371, power=852.77, imported=4312343.025802823, exported=0)
2024-01-28 14:37:51,899 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00293395, power1: 852.77, power2: 846.49
2024-01-28 14:37:51,901 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.49277
2024-01-28 14:37:51,902 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.49277 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449071.898067, power=846.49, imported=4312345.518577091, exported=0)
2024-01-28 14:37:51,904 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174177.44, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=570.0))
2024-01-28 14:37:51,905 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174177.44, exported=132153.7, power=570.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:37:51,906 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1435.51, imported=7628232.91, exported=0))
2024-01-28 14:37:51,908 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, -0.03, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628232.91, phases_in_use=1, plug_state=True, power=1435.51, 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.08, 239.01, 240.32]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=81.04999999981374, imported_since_plugged=81.04999999981374, range_charged=0.4052499999990687, time_charged='0:02', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7b0298>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:37:51,915 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:37:51,918 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:37:51,922 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-329.0, 600.0, -280.0], currents=[-2.0, 2.8, -1.5], voltages=[239.98, 238.83, 238.54], power_factors=[-0.64, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-10.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25445.51, raw_currents_left=[37.03, 38.28, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:37:51,924 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=846.49, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312345.518577091, disengageable_smarthome_power=0))
2024-01-28 14:37:51,928 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:37:51,929 - {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-28 14:37:51,931 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:37:51,932 - {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-28 14:37:51,933 - {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-28 14:37:51,934 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:51,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=77, soc_timestamp=1706449068.414291, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:37:51,942 - {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-28 14:37:51,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-28 14:37:51,946 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:51,948 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:37:51,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e95b0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:37:51,955 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:37:51,956 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:37:51,964 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8ea18>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:37:51,965 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301376.442, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:37:51,966 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005355.74, fault_state=0, fault_str='Kein Fehler.', power=-2755.0))
2024-01-28 14:37:51,967 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306732.182, power=-2862.0))
2024-01-28 14:37:51,969 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449061, 'time': '14:37:41', 'grid': 0.009, 'house-power': 0.853, 'charging-all': 1.438, 'pv-all': 2.857, 'cp1-power': 1.438, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.576, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:37:51,971 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:37:51,977 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:37:51,981 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:51,984 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:37:51,985 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:37:51,986 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:37:51,987 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:37:51,988 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:37:51,988 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:37:51,989 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:37:51,989 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -10.0W
2024-01-28 14:37:51,990 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: 10.0W, benötigte neue Leistung: 3220W
2024-01-28 14:37:51,990 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -10.0W
2024-01-28 14:37:51,991 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -10.0W
2024-01-28 14:37:51,991 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -10.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:37:51,992 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:37:51,994 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:37:51,996 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.47]A verbleibende Ströme, 24065.51W verbleibende Leistung
2024-01-28 14:37:51,997 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:37:51,999 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:37:52,003 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:37:52,004 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -34.4900000000016W
2024-01-28 14:37:52,005 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -34.4900000000016W
2024-01-28 14:37:52,007 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:37:52,008 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:37:52,013 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:37:52,015 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:37:52,037 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:37:55,431 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:37:55,432 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:00,444 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:00,446 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:38:00,447 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:38:00,491 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:38:00,492 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:00,493 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:00,515 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:38:00,518 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:00,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4, 309, -598, 284], Scale 0
2024-01-28 14:38:00,562 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:38:00,564 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.3, "voltage":239.2, "current":0.452, "aenergy":{"total":9436.003,"by_minute":[1790.970,1796.666,1803.786],"minute_ts":1706449079},"temperature":{"tC":40.3, "tF":104.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:38","unixtime":1706449081,"uptime":5808475,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:38:00,566 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449070.9682136, power=-107, imported=0.0, exported=301376.44152687915)
2024-01-28 14:38:00,567 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266616, power1: -107, power2: -107
2024-01-28 14:38:00,567 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.285279
2024-01-28 14:38:00,568 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.285279 Wh, new state: SimCounterState(timestamp=1706449080.566394, power=-107, imported=0.0, exported=301376.72680613387)
2024-01-28 14:38:00,570 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.72680613387, dc_power=None)
2024-01-28 14:38:00,608 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 27, 15], Scale -1
2024-01-28 14:38:00,630 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23978, 23911, 23862, 0, 0, 0, 0], Scale -2
2024-01-28 14:38:00,648 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:38:00,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6269, 8960, -7530], Scale -2
2024-01-28 14:38:00,730 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798631, 2184843, 1457570, 8628773, 3551345, 2508525, 3137030], Scale 0
2024-01-28 14:38:00,731 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.7, -1.5], powers=[-309.0, 598.0, -284.0], voltages=[239.78, 239.11, 238.62], power_factors=[-0.6269, 0.8960000000000001, -0.753], imported=8628773.0, exported=4872917.0, power=4.0, frequency=49.99)
2024-01-28 14:38:00,734 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:00,758 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21835], Scale -1
2024-01-28 14:38:00,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963338], Scale 0
2024-01-28 14:38:00,797 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [306, 308, 304], Scale -2
2024-01-28 14:38:00,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22168], Scale -1
2024-01-28 14:38:00,839 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.06, 3.08, 3.04]
2024-01-28 14:38:00,839 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.06, 3.08, 3.04], power=-2183.5, exported=7963338.0, dc_power=-2216.8)
2024-01-28 14:38:00,840 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:00,923 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449071.4399378, power=570.0, imported=174177.43626422161, exported=132153.6990891164)
2024-01-28 14:38:00,923 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263419, power1: 570, power2: 587
2024-01-28 14:38:00,924 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.52388
2024-01-28 14:38:00,924 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.52388 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449080.9230149, power=587.0, imported=174178.96014201967, exported=132153.6990891164)
2024-01-28 14:38:00,925 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174178.96014201967, exported=132153.6990891164, power=587.0, soc=11.0)
2024-01-28 14:38:00,938 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:00,939 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174178.96014201967, exported=132153.6990891164, power=587.0, soc=11.0)
2024-01-28 14:38:00,977 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:00,978 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:00,979 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:00,980 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2770.5, exported=8005363.26, dc_power=None)
2024-01-28 14:38:00,980 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.72680613387, dc_power=None)
2024-01-28 14:38:00,981 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2770.5, exported=8005363.26, dc_power=None)
2024-01-28 14:38:00,982 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301376.72680613387, dc_power=None)
2024-01-28 14:38:01,024 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:01,025 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.7, -1.5], powers=[-309.0, 598.0, -284.0], voltages=[239.78, 239.11, 238.62], power_factors=[-0.6269, 0.8960000000000001, -0.753], imported=8628773.0, exported=4872917.0, power=4.0, frequency=49.99)
2024-01-28 14:38:01,092 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:01,093 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:38:01,093 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edbb808>
2024-01-28 14:38:01,101 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:01,104 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edbb808>
2024-01-28 14:38:01,120 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174178.96, vorherige Payload: 174177.44
2024-01-28 14:38:01,123 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 587.0, vorherige Payload: 570.0
2024-01-28 14:38:01,241 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:38:01,243 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.39, 36.48]A
2024-01-28 14:38:01,244 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25434.99W
2024-01-28 14:38:01,246 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:38:01,247 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:01,248 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:38:01,251 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:38:01.250879
2024-01-28 14:38:01,253 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136628.065891s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:38:01,254 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:38:01.254233
2024-01-28 14:38:01,256 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:38:01.254233
2024-01-28 14:38:01,257 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53470.298562s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:38:01,260 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:38:01.260437
2024-01-28 14:38:01,262 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128846.689874s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:38:01,263 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:38:01.263196
2024-01-28 14:38:01,264 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:38:01.263196
2024-01-28 14:38:01,266 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52173.395189s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:38:01,267 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:38:01,271 - {control.chargepoint.chargepoint:667} - {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: 6.09
2024-01-28 14:38:01,291 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:38:01,303 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449071.898067, power=846.49, imported=4312345.518577091, exported=0)
2024-01-28 14:38:01,306 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261266, power1: 846.49, power2: 855.51
2024-01-28 14:38:01,307 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.22337
2024-01-28 14:38:01,308 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.22337 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449081.3036315, power=855.51, imported=4312347.741948044, exported=0)
2024-01-28 14:38:01,312 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174178.96, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=587.0))
2024-01-28 14:38:01,313 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174178.96, exported=132153.7, power=587.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:38:01,315 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1438.99, imported=7628236.82, exported=0))
2024-01-28 14:38:01,317 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.09, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628236.82, phases_in_use=1, plug_state=True, power=1438.99, 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.31, 239.05, 240.35]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=84.95999999996275, imported_since_plugged=84.95999999996275, range_charged=0.4247999999998137, time_charged='0:02', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d6b68>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:38:01,319 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:38:01,321 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:38:01,323 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-309.0, 598.0, -284.0], currents=[-2.0, 2.7, -1.5], voltages=[239.78, 239.11, 238.62], power_factors=[-0.63, 0.9, -0.75], unbalanced_load=0, frequency=49.99, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=4.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25434.99, raw_currents_left=[37.03, 38.39, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:38:01,324 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=855.51, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312347.741948044, disengageable_smarthome_power=0))
2024-01-28 14:38:01,327 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:38:01,329 - {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-28 14:38:01,331 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:38:01,333 - {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-28 14:38:01,335 - {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-28 14:38:01,336 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:01,338 - {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=77, soc_timestamp=1706449068.414291, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:01,339 - {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-28 14:38:01,342 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:38:01,343 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:01,345 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:01,346 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d54c0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:38:01,347 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:38:01,349 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:38:01,351 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6730>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:38:01,356 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301376.727, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:38:01,358 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005363.26, fault_state=0, fault_str='Kein Fehler.', power=-2770.5))
2024-01-28 14:38:01,359 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306739.987, power=-2877.5))
2024-01-28 14:38:01,361 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449072, 'time': '14:37:52', 'grid': -0.01, 'house-power': 0.846, 'charging-all': 1.436, 'pv-all': 2.862, 'cp1-power': 1.436, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.57, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:38:01,363 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:38:01,364 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:38:01,367 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:01,368 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:01,369 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:38:01,371 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:38:01,372 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:38:01,373 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:38:01,375 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:38:01,376 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:01,378 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4.0W
2024-01-28 14:38:01,379 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.09A, Überschuss: -4.0W, benötigte neue Leistung: 3220W
2024-01-28 14:38:01,380 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4.0W
2024-01-28 14:38:01,382 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4.0W
2024-01-28 14:38:01,383 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 4.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:38:01,384 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:38:01,387 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:38:01,392 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.39, 36.48]A verbleibende Ströme, 24054.99W verbleibende Leistung
2024-01-28 14:38:01,393 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:38:01,395 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:38:01,398 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:38:01,399 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -45.0099999999984W
2024-01-28 14:38:01,400 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -45.0099999999984W
2024-01-28 14:38:01,402 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:38:01,404 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:38:01,408 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:38:01,425 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:01,482 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:38:05,759 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:05,760 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:10,772 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:10,773 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:10,774 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:38:10,775 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:38:10,824 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:38:10,825 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:10,827 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:10,833 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:38:10,846 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:10,881 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:38:10,883 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":107.1, "voltage":239.1, "current":0.452, "aenergy":{"total":9436.302,"by_minute":[297.150,1790.970,1796.666],"minute_ts":1706449089},"temperature":{"tC":40.3, "tF":104.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:38","unixtime":1706449091,"uptime":5808485,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:38:10,885 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449080.566394, power=-107, imported=0.0, exported=301376.72680613387)
2024-01-28 14:38:10,886 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286644, power1: -107, power2: -107
2024-01-28 14:38:10,886 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.306709
2024-01-28 14:38:10,887 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.306709 Wh, new state: SimCounterState(timestamp=1706449090.8855665, power=-107, imported=0.0, exported=301377.0335148686)
2024-01-28 14:38:10,888 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301377.0335148686, dc_power=None)
2024-01-28 14:38:10,950 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 317, -602, 284], Scale 0
2024-01-28 14:38:11,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21, 28, 16], Scale -1
2024-01-28 14:38:11,031 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23988, 23862, 23863, 0, 0, 0, 0], Scale -2
2024-01-28 14:38:11,079 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:38:11,117 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5979, 8859, -7329], Scale -2
2024-01-28 14:38:11,169 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798632, 2184843, 1457570, 8628773, 3551345, 2508526, 3137030], Scale 0
2024-01-28 14:38:11,170 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.1, 2.8000000000000003, -1.6], powers=[-317.0, 602.0, -284.0], voltages=[239.88, 238.62, 238.63], power_factors=[-0.5979, 0.8859, -0.7329000000000001], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.99)
2024-01-28 14:38:11,177 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:11,201 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21976], Scale -1
2024-01-28 14:38:11,350 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963344], Scale 0
2024-01-28 14:38:11,390 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 310, 307], Scale -2
2024-01-28 14:38:11,432 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22311], Scale -1
2024-01-28 14:38:11,433 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.1, 3.0700000000000003]
2024-01-28 14:38:11,434 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.1, 3.0700000000000003], power=-2197.6, exported=7963344.0, dc_power=-2231.1)
2024-01-28 14:38:11,441 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:11,512 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449080.9230149, power=587.0, imported=174178.96014201967, exported=132153.6990891164)
2024-01-28 14:38:11,513 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294163, power1: 587, power2: 582
2024-01-28 14:38:11,514 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.71938
2024-01-28 14:38:11,514 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.71938 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449091.5128725, power=582.0, imported=174180.6795230626, exported=132153.6990891164)
2024-01-28 14:38:11,518 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174180.6795230626, exported=132153.6990891164, power=582.0, soc=11.0)
2024-01-28 14:38:11,539 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:11,540 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174180.6795230626, exported=132153.6990891164, power=582.0, soc=11.0)
2024-01-28 14:38:11,572 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:11,575 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:11,591 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2779.6, exported=8005370.98, dc_power=None)
2024-01-28 14:38:11,592 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2779.6, exported=8005370.98, dc_power=None)
2024-01-28 14:38:11,577 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:11,596 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301377.0335148686, dc_power=None)
2024-01-28 14:38:11,597 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-107, exported=301377.0335148686, dc_power=None)
2024-01-28 14:38:11,643 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:11,644 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.1, 2.8000000000000003, -1.6], powers=[-317.0, 602.0, -284.0], voltages=[239.88, 238.62, 238.63], power_factors=[-0.5979, 0.8859, -0.7329000000000001], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.99)
2024-01-28 14:38:11,706 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:11,707 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:38:11,707 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edac6b8>
2024-01-28 14:38:11,712 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:11,713 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edac6b8>
2024-01-28 14:38:11,733 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174180.68, vorherige Payload: 174178.96
2024-01-28 14:38:11,734 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 582.0, vorherige Payload: 587.0
2024-01-28 14:38:11,871 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:38:11,873 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.13, 38.27, 36.6]A
2024-01-28 14:38:11,874 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25436.99W
2024-01-28 14:38:11,875 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:38:11,879 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:11,881 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:38:11,882 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:38:11.882234
2024-01-28 14:38:11,884 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136617.434536s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:38:11,885 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:38:11.885093
2024-01-28 14:38:11,887 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:38:11.885093
2024-01-28 14:38:11,890 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53459.667702s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:38:11,891 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:38:11.891292
2024-01-28 14:38:11,895 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128836.059019s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:38:11,900 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:38:11.899779
2024-01-28 14:38:11,901 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:38:11.899779
2024-01-28 14:38:11,902 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52162.758606s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:38:11,910 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:38:11,917 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:38:11,920 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:38:11,967 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449081.3036315, power=855.51, imported=4312347.741948044, exported=0)
2024-01-28 14:38:11,969 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00296228, power1: 855.51, power2: 867.61
2024-01-28 14:38:11,977 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.55218
2024-01-28 14:38:11,981 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.55218 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449091.9678316, power=867.6099999999999, imported=4312350.294128102, exported=0)
2024-01-28 14:38:11,987 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174180.68, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=582.0))
2024-01-28 14:38:11,988 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174180.68, exported=132153.7, power=582.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:38:11,990 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1436.99, imported=7628241.21, exported=0))
2024-01-28 14:38:11,997 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628241.21, phases_in_use=1, plug_state=True, power=1436.99, 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.22, 239.01, 239.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=88.87000000011176, imported_since_plugged=88.87000000011176, range_charged=0.4443500000005588, time_charged='0:02', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70140430>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:38:11,997 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:38:11,998 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:38:12,000 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-317.0, 602.0, -284.0], currents=[-2.1, 2.8, -1.6], voltages=[239.88, 238.62, 238.63], power_factors=[-0.6, 0.89, -0.73], unbalanced_load=0, frequency=49.99, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.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=25436.99, raw_currents_left=[37.13, 38.27, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:38:12,001 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=867.6099999999999, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312350.294128102, disengageable_smarthome_power=0))
2024-01-28 14:38:12,002 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:38:12,002 - {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-28 14:38:12,003 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:38:12,004 - {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-28 14:38:12,005 - {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-28 14:38:12,005 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:12,006 - {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=77, soc_timestamp=1706449068.414291, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:12,006 - {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-28 14:38:12,007 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:38:12,007 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:12,008 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:12,009 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb7fa0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:38:12,009 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:38:12,010 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:38:12,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 0x70162820>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:38:12,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=429.0, monthly_exported=0, yearly_exported=0, exported=301377.034, fault_state=0, fault_str='Kein Fehler.', power=-107))
2024-01-28 14:38:12,011 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005370.98, fault_state=0, fault_str='Kein Fehler.', power=-2779.6))
2024-01-28 14:38:12,012 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306748.014, power=-2886.6))
2024-01-28 14:38:12,012 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449081, 'time': '14:38:01', 'grid': 0.004, 'house-power': 0.856, 'charging-all': 1.439, 'pv-all': 2.877, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.587, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:38:12,013 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:38:12,013 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:38:12,014 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:12,014 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:12,015 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:38:12,015 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:38:12,016 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:38:12,016 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:38:12,017 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:38:12,017 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:12,018 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:38:12,018 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:38:12,019 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:38:12,020 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:38:12,020 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:38:12,021 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:38:12,023 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:38:12,024 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.13, 32.27, 36.6]A verbleibende Ströme, 24056.99W verbleibende Leistung
2024-01-28 14:38:12,025 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:38:12,026 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:38:12,028 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:38:12,029 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -43.0099999999984W
2024-01-28 14:38:12,029 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -43.0099999999984W
2024-01-28 14:38:12,030 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:38:12,030 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:38:12,037 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:38:12,060 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:12,087 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:38:15,479 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:20,494 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:20,495 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:20,496 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:38:20,496 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:38:20,559 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:38:20,561 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:20,571 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:20,572 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:20,575 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:38:20,613 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6, 325, -603, 283], Scale 0
2024-01-28 14:38:20,639 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:38:20,679 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:38:20,681 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.7, "voltage":238.9, "current":0.450, "aenergy":{"total":9436.601,"by_minute":[594.300,1790.970,1796.666],"minute_ts":1706449099},"temperature":{"tC":40.4, "tF":104.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:38","unixtime":1706449101,"uptime":5808495,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:38:20,684 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449090.8855665, power=-107, imported=0.0, exported=301377.0335148686)
2024-01-28 14:38:20,685 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00272177, power1: -107, power2: -106
2024-01-28 14:38:20,685 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.289868
2024-01-28 14:38:20,686 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.289868 Wh, new state: SimCounterState(timestamp=1706449100.6839328, power=-106, imported=0.0, exported=301377.3233832052)
2024-01-28 14:38:20,687 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.3233832052, dc_power=None)
2024-01-28 14:38:20,690 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23959, 23894, 23857, 0, 0, 0, 0], Scale -2
2024-01-28 14:38:20,718 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:38:20,750 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6399, 8930, -7559], Scale -2
2024-01-28 14:38:20,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798633, 2184843, 1457571, 8628773, 3551345, 2508527, 3137030], Scale 0
2024-01-28 14:38:20,791 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-325.0, 603.0, -283.0], voltages=[239.59, 238.94, 238.57], power_factors=[-0.6399, 0.893, -0.7559], imported=8628773.0, exported=4872917.0, power=-6.0, frequency=49.99)
2024-01-28 14:38:20,792 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:20,817 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21955], Scale -1
2024-01-28 14:38:20,848 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963351], Scale 0
2024-01-28 14:38:20,867 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [308, 308, 307], Scale -2
2024-01-28 14:38:20,897 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22289], Scale -1
2024-01-28 14:38:20,898 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.08, 3.08, 3.0700000000000003]
2024-01-28 14:38:20,898 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.08, 3.08, 3.0700000000000003], power=-2195.5, exported=7963351.0, dc_power=-2228.9)
2024-01-28 14:38:20,900 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:21,058 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449091.5128725, power=582.0, imported=174180.6795230626, exported=132153.6990891164)
2024-01-28 14:38:21,059 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265159, power1: 582, power2: 597
2024-01-28 14:38:21,059 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.56311
2024-01-28 14:38:21,060 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.56311 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449101.05861, power=597.0, imported=174182.24263757904, exported=132153.6990891164)
2024-01-28 14:38:21,061 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174182.24263757904, exported=132153.6990891164, power=597.0, soc=11.0)
2024-01-28 14:38:21,065 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:21,066 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174182.24263757904, exported=132153.6990891164, power=597.0, soc=11.0)
2024-01-28 14:38:21,108 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:21,109 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:21,110 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:21,111 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2792.5, exported=8005379.54, dc_power=None)
2024-01-28 14:38:21,112 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.3233832052, dc_power=None)
2024-01-28 14:38:21,113 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2792.5, exported=8005379.54, dc_power=None)
2024-01-28 14:38:21,115 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.3233832052, dc_power=None)
2024-01-28 14:38:21,158 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:21,158 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-325.0, 603.0, -283.0], voltages=[239.59, 238.94, 238.57], power_factors=[-0.6399, 0.893, -0.7559], imported=8628773.0, exported=4872917.0, power=-6.0, frequency=49.99)
2024-01-28 14:38:21,227 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:21,228 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:38:21,229 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e3c88>
2024-01-28 14:38:21,234 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:21,235 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e3c88>
2024-01-28 14:38:21,257 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174182.24, vorherige Payload: 174180.68
2024-01-28 14:38:21,259 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 597.0, vorherige Payload: 582.0
2024-01-28 14:38:21,387 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:38:21,389 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.29, 36.47]A
2024-01-28 14:38:21,390 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25444.84W
2024-01-28 14:38:21,391 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:38:21,395 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:21,397 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:38:21,400 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:38:21.400344
2024-01-28 14:38:21,402 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136607.916426s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:38:21,405 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:38:21.404641
2024-01-28 14:38:21,406 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:38:21.404641
2024-01-28 14:38:21,407 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53450.148154s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:38:21,409 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:38:21.408855
2024-01-28 14:38:21,410 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128826.541456s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:38:21,411 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:38:21.411368
2024-01-28 14:38:21,413 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:38:21.411368
2024-01-28 14:38:21,415 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52153.247017s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:38:21,416 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:38:21,421 - {control.chargepoint.chargepoint:667} - {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: 6.09
2024-01-28 14:38:21,422 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:38:21,431 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449091.9678316, power=867.6099999999999, imported=4312350.294128102, exported=0)
2024-01-28 14:38:21,433 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262888, power1: 867.61, power2: 856.66
2024-01-28 14:38:21,442 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.26645
2024-01-28 14:38:21,442 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.26645 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449101.4317932, power=856.6600000000001, imported=4312352.560576029, exported=0)
2024-01-28 14:38:21,453 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174182.24, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=597.0))
2024-01-28 14:38:21,455 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174182.24, exported=132153.7, power=597.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:38:21,457 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1438.84, imported=7628245.12, exported=0))
2024-01-28 14:38:21,459 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.09, -0.03, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628245.12, phases_in_use=1, plug_state=True, power=1438.84, 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.96, 239.02, 240.25]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=93.25999999977648, imported_since_plugged=93.25999999977648, range_charged=0.46629999999888244, time_charged='0:02', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6eda63e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:38:21,461 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:38:21,463 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:38:21,466 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-325.0, 603.0, -283.0], currents=[-2.0, 2.8, -1.5], voltages=[239.59, 238.94, 238.57], power_factors=[-0.64, 0.89, -0.76], unbalanced_load=0, frequency=49.99, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-6.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25444.84, raw_currents_left=[37.03, 38.29, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:38:21,467 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=856.6600000000001, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312352.560576029, disengageable_smarthome_power=0))
2024-01-28 14:38:21,470 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:38:21,472 - {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-28 14:38:21,474 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:38:21,475 - {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-28 14:38:21,477 - {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-28 14:38:21,479 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:21,480 - {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=77, soc_timestamp=1706449068.414291, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:21,481 - {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-28 14:38:21,482 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:38:21,483 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:21,486 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:21,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed8a8c8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:38:21,488 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:38:21,490 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:38:21,491 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed5b6d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:38:21,492 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301377.323, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:38:21,497 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005379.54, fault_state=0, fault_str='Kein Fehler.', power=-2792.5))
2024-01-28 14:38:21,498 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306756.863, power=-2898.5))
2024-01-28 14:38:21,500 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449092, 'time': '14:38:12', 'grid': -0.0, 'house-power': 0.868, 'charging-all': 1.437, 'pv-all': 2.887, 'cp1-power': 1.437, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.582, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:38:21,501 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:38:21,502 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:38:21,504 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:21,506 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:21,507 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:38:21,508 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:38:21,509 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:38:21,510 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:38:21,512 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:38:21,514 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:21,516 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6.0W
2024-01-28 14:38:21,517 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.09A, Überschuss: 6.0W, benötigte neue Leistung: 3220W
2024-01-28 14:38:21,518 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6.0W
2024-01-28 14:38:21,519 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6.0W
2024-01-28 14:38:21,522 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -6.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:38:21,524 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:38:21,526 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:38:21,528 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.29, 36.47]A verbleibende Ströme, 24064.84W verbleibende Leistung
2024-01-28 14:38:21,529 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:38:21,531 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:38:21,534 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:38:21,537 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -35.159999999999854W
2024-01-28 14:38:21,538 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -35.159999999999854W
2024-01-28 14:38:21,539 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:38:21,540 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:38:21,544 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:38:21,547 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:21,620 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:38:25,953 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:25,954 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:30,966 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:30,969 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:38:30,970 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:38:31,062 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:38:31,064 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:31,072 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:31,074 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:38:31,078 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:31,122 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:38:31,125 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.6, "voltage":239.8, "current":0.449, "aenergy":{"total":9436.928,"by_minute":[920.406,1790.970,1796.666],"minute_ts":1706449110},"temperature":{"tC":40.3, "tF":104.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:38","unixtime":1706449111,"uptime":5808505,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-28 14:38:31,128 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449100.6839328, power=-106, imported=0.0, exported=301377.3233832052)
2024-01-28 14:38:31,129 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290131, power1: -106, power2: -106
2024-01-28 14:38:31,130 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.307539
2024-01-28 14:38:31,131 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [58, 340, -584, 302], Scale 0
2024-01-28 14:38:31,132 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.307539 Wh, new state: SimCounterState(timestamp=1706449111.1286378, power=-106, imported=0.0, exported=301377.6309217416)
2024-01-28 14:38:31,134 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.6309217416, dc_power=None)
2024-01-28 14:38:31,179 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:38:31,199 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23952, 23941, 23837, 0, 0, 0, 0], Scale -2
2024-01-28 14:38:31,218 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:38:31,238 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6449, 8899, -7500], Scale -2
2024-01-28 14:38:31,329 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798634, 2184843, 1457572, 8628773, 3551345, 2508530, 3137030], Scale 0
2024-01-28 14:38:31,330 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-340.0, 584.0, -302.0], voltages=[239.52, 239.41, 238.37], power_factors=[-0.6448999999999999, 0.8898999999999999, -0.75], imported=8628773.0, exported=4872917.0, power=-58.0, frequency=49.97)
2024-01-28 14:38:31,332 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:31,359 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22559], Scale -1
2024-01-28 14:38:31,382 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963357], Scale 0
2024-01-28 14:38:31,424 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [315, 317, 316], Scale -2
2024-01-28 14:38:31,448 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22302], Scale -1
2024-01-28 14:38:31,449 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.15, 3.17, 3.16]
2024-01-28 14:38:31,449 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.15, 3.17, 3.16], power=-2255.9, exported=7963357.0, dc_power=-2230.2000000000003)
2024-01-28 14:38:31,450 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:31,488 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449101.05861, power=597.0, imported=174182.24263757904, exported=132153.6990891164)
2024-01-28 14:38:31,489 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289713, power1: 597, power2: 672
2024-01-28 14:38:31,489 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.83823
2024-01-28 14:38:31,490 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.83823 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449111.4882727, power=672.0, imported=174184.0808656307, exported=132153.6990891164)
2024-01-28 14:38:31,491 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174184.0808656307, exported=132153.6990891164, power=672.0, soc=11.0)
2024-01-28 14:38:31,505 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:31,509 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174184.0808656307, exported=132153.6990891164, power=672.0, soc=11.0)
2024-01-28 14:38:31,541 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:31,542 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:31,543 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2927.9, exported=8005387.38, dc_power=None)
2024-01-28 14:38:31,544 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2927.9, exported=8005387.38, dc_power=None)
2024-01-28 14:38:31,546 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:31,551 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.6309217416, dc_power=None)
2024-01-28 14:38:31,557 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.6309217416, dc_power=None)
2024-01-28 14:38:31,589 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:31,589 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-340.0, 584.0, -302.0], voltages=[239.52, 239.41, 238.37], power_factors=[-0.6448999999999999, 0.8898999999999999, -0.75], imported=8628773.0, exported=4872917.0, power=-58.0, frequency=49.97)
2024-01-28 14:38:31,649 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:31,650 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:38:31,651 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7f61c0>
2024-01-28 14:38:31,658 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:31,659 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7f61c0>
2024-01-28 14:38:31,676 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174184.08, vorherige Payload: 174182.24
2024-01-28 14:38:31,677 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 672.0, vorherige Payload: 597.0
2024-01-28 14:38:31,794 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:38:31,797 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.35, 36.52]A
2024-01-28 14:38:31,799 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25502.77W
2024-01-28 14:38:31,801 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:38:31,802 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:31,804 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:38:31,805 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:38:31.805324
2024-01-28 14:38:31,806 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136597.511446s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:38:31,808 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:38:31.808201
2024-01-28 14:38:31,809 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:38:31.808201
2024-01-28 14:38:31,810 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53439.744594s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:38:31,812 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:38:31.812264
2024-01-28 14:38:31,813 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128816.138047s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:38:31,815 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:38:31.815180
2024-01-28 14:38:31,816 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:38:31.815180
2024-01-28 14:38:31,818 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52142.843205s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:38:31,819 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:38:31,824 - {control.chargepoint.chargepoint:667} - {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: 6.15
2024-01-28 14:38:31,826 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:38:31,837 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449101.4317932, power=856.6600000000001, imported=4312352.560576029, exported=0)
2024-01-28 14:38:31,841 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289032, power1: 856.66, power2: 859.13
2024-01-28 14:38:31,843 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.47959
2024-01-28 14:38:31,844 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.47959 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449111.836938, power=859.1300000000001, imported=4312355.040165364, exported=0)
2024-01-28 14:38:31,851 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174184.08, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=672.0))
2024-01-28 14:38:31,852 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174184.08, exported=132153.7, power=672.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:38:31,853 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1444.77, imported=7628249.02, exported=0))
2024-01-28 14:38:31,855 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.15, 0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628249.02, phases_in_use=1, plug_state=True, power=1444.77, 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.83, 238.81, 239.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=97.1699999999255, imported_since_plugged=97.1699999999255, range_charged=0.48584999999962747, time_charged='0:03', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70be3eb0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:38:31,858 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:38:31,860 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:38:31,863 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-340.0, 584.0, -302.0], currents=[-2.0, 2.8, -1.5], voltages=[239.52, 239.41, 238.37], power_factors=[-0.64, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-58.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25502.77, raw_currents_left=[37.03, 38.35, 36.52], surplus_power_left=0, state_str=''))
2024-01-28 14:38:31,865 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=859.1300000000001, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312355.040165364, disengageable_smarthome_power=0))
2024-01-28 14:38:31,868 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:38:31,871 - {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-28 14:38:31,873 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:38:31,875 - {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-28 14:38:31,886 - {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-28 14:38:31,888 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:31,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=77, soc_timestamp=1706449068.414291, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:31,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-28 14:38:31,892 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:38:31,895 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:31,900 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:31,901 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f5790>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:38:31,902 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:38:31,903 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:38:31,918 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7f6a78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:38:31,923 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301377.631, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:38:31,925 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005387.38, fault_state=0, fault_str='Kein Fehler.', power=-2927.9))
2024-01-28 14:38:31,929 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306765.011, power=-3033.9))
2024-01-28 14:38:31,930 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449101, 'time': '14:38:21', 'grid': -0.006, 'house-power': 0.857, 'charging-all': 1.439, 'pv-all': 2.898, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.597, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:38:31,932 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:38:31,934 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:38:31,936 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:31,938 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:31,939 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:38:31,941 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:38:31,943 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:38:31,945 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:38:31,946 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:38:31,948 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:31,949 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -58.0W
2024-01-28 14:38:31,951 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.15A, Überschuss: 58.0W, benötigte neue Leistung: 3220W
2024-01-28 14:38:31,953 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -58.0W
2024-01-28 14:38:31,955 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -58.0W
2024-01-28 14:38:31,956 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -58.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:38:31,958 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:38:31,960 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:38:31,962 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.35, 36.52]A verbleibende Ströme, 24122.77W verbleibende Leistung
2024-01-28 14:38:31,963 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:38:31,965 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:38:31,967 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:38:31,968 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 22.770000000000437W
2024-01-28 14:38:31,970 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 22.770000000000437W
2024-01-28 14:38:31,972 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:38:31,974 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:38:31,977 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:38:31,978 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 22.770000000000437W korrigieren: [0.0, 26.0, 0.0]
2024-01-28 14:38:31,981 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.251, 36.52]A verbleibende Ströme, -1.7763568394002505e-14W verbleibender Überschuss
2024-01-28 14:38:31,982 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6.099000000000002A
2024-01-28 14:38:31,984 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:38:31,988 - {control.process:111} - {INFO:MainThread} - LP1: set current 6.1 A, state CHARGING_ALLOWED
2024-01-28 14:38:31,998 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:32,062 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:38:32,498 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:38:32,501 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:38:35,511 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:35,512 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:40,530 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:40,533 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:40,535 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:38:40,542 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:38:40,608 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:38:40,611 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:40,634 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:40,638 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:40,640 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:38:40,676 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-14, 325, -622, 281], Scale 0
2024-01-28 14:38:40,698 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 27, 15], Scale -1
2024-01-28 14:38:40,705 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:38:40,709 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.5, "voltage":239.9, "current":0.448, "aenergy":{"total":9437.195,"by_minute":[1187.177,1790.970,1796.666],"minute_ts":1706449119},"temperature":{"tC":40.3, "tF":104.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:38","unixtime":1706449121,"uptime":5808515,"ram_size":249000,"ram_free":145104,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:38:40,715 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449111.1286378, power=-106, imported=0.0, exported=301377.6309217416)
2024-01-28 14:38:40,719 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266304, power1: -106, power2: -106
2024-01-28 14:38:40,720 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.282283
2024-01-28 14:38:40,724 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.282283 Wh, new state: SimCounterState(timestamp=1706449120.7155945, power=-106, imported=0.0, exported=301377.9132043567)
2024-01-28 14:38:40,726 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.9132043567, dc_power=None)
2024-01-28 14:38:40,835 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23965, 23949, 23843, 0, 0, 0, 0], Scale -2
2024-01-28 14:38:40,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:38:40,894 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6389, 8889, -7570], Scale -2
2024-01-28 14:38:40,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798635, 2184843, 1457573, 8628773, 3551345, 2508531, 3137030], Scale 0
2024-01-28 14:38:40,911 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.7, -1.5], powers=[-325.0, 622.0, -281.0], voltages=[239.65, 239.49, 238.43], power_factors=[-0.6389, 0.8889, -0.757], imported=8628773.0, exported=4872917.0, power=14.0, frequency=49.97)
2024-01-28 14:38:40,912 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:40,968 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21863], Scale -1
2024-01-28 14:38:41,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963363], Scale 0
2024-01-28 14:38:41,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [306, 308, 305], Scale -2
2024-01-28 14:38:41,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22196], Scale -1
2024-01-28 14:38:41,078 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.06, 3.08, 3.0500000000000003]
2024-01-28 14:38:41,079 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.06, 3.08, 3.0500000000000003], power=-2186.3, exported=7963363.0, dc_power=-2219.6)
2024-01-28 14:38:41,083 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:41,277 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449111.4882727, power=672.0, imported=174184.0808656307, exported=132153.6990891164)
2024-01-28 14:38:41,278 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00271935, power1: 672, power2: 695
2024-01-28 14:38:41,279 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.85867
2024-01-28 14:38:41,279 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.85867 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449121.2779212, power=695.0, imported=174185.93953917854, exported=132153.6990891164)
2024-01-28 14:38:41,281 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174185.93953917854, exported=132153.6990891164, power=695.0, soc=11.0)
2024-01-28 14:38:41,291 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:41,294 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174185.93953917854, exported=132153.6990891164, power=695.0, soc=11.0)
2024-01-28 14:38:41,332 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:41,334 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:41,335 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2881.3, exported=8005395.24, dc_power=None)
2024-01-28 14:38:41,336 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:41,336 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2881.3, exported=8005395.24, dc_power=None)
2024-01-28 14:38:41,337 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.9132043567, dc_power=None)
2024-01-28 14:38:41,343 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301377.9132043567, dc_power=None)
2024-01-28 14:38:41,379 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:41,380 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.7, -1.5], powers=[-325.0, 622.0, -281.0], voltages=[239.65, 239.49, 238.43], power_factors=[-0.6389, 0.8889, -0.757], imported=8628773.0, exported=4872917.0, power=14.0, frequency=49.97)
2024-01-28 14:38:41,443 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:41,444 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:38:41,444 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed9fb08>
2024-01-28 14:38:41,448 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:41,450 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed9fb08>
2024-01-28 14:38:41,468 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174185.94, vorherige Payload: 174184.08
2024-01-28 14:38:41,470 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 695.0, vorherige Payload: 672.0
2024-01-28 14:38:41,472 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:38:41,474 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:38:41,599 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:38:41,601 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.4, 36.5]A
2024-01-28 14:38:41,612 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25433.19W
2024-01-28 14:38:41,614 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:38:41,616 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:41,619 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:38:41,621 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:38:41.620828
2024-01-28 14:38:41,626 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136587.695942s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:38:41,628 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:38:41.627652
2024-01-28 14:38:41,628 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:38:41.627652
2024-01-28 14:38:41,629 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53429.925143s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:38:41,631 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:38:41.630779
2024-01-28 14:38:41,632 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128806.319532s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:38:41,633 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:38:41.632612
2024-01-28 14:38:41,633 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:38:41.632612
2024-01-28 14:38:41,635 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52133.025773s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:38:41,635 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:38:41,658 - {control.chargepoint.chargepoint:667} - {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: 6.1
2024-01-28 14:38:41,669 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:38:41,687 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449111.836938, power=859.1300000000001, imported=4312355.040165364, exported=0)
2024-01-28 14:38:41,690 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00273613, power1: 859.13, power2: 859.11
2024-01-28 14:38:41,691 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.35067
2024-01-28 14:38:41,693 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.35067 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449121.6870205, power=859.1100000000001, imported=4312357.390832862, exported=0)
2024-01-28 14:38:41,703 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174185.94, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=695.0))
2024-01-28 14:38:41,706 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174185.94, exported=132153.7, power=695.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:38:41,707 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1447.19, imported=7628252.93, exported=0))
2024-01-28 14:38:41,709 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.1, 0.0, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=610, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628252.93, phases_in_use=1, plug_state=True, power=1447.19, 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.98, 238.93, 240.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6.1, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=101.0699999993667, imported_since_plugged=101.0699999993667, range_charged=0.5053499999968335, time_charged='0:03', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e9d30>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:38:41,710 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:38:41,714 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:38:41,715 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-325.0, 622.0, -281.0], currents=[-2.0, 2.7, -1.5], voltages=[239.65, 239.49, 238.43], power_factors=[-0.64, 0.89, -0.76], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=14.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25433.19, raw_currents_left=[37.03, 38.4, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:38:41,717 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=859.1100000000001, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312357.390832862, disengageable_smarthome_power=0))
2024-01-28 14:38:41,719 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:38:41,725 - {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-28 14:38:41,727 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:38:41,729 - {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-28 14:38:41,729 - {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-28 14:38:41,732 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:41,735 - {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=77, soc_timestamp=1706449068.414291, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:41,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-28 14:38:41,739 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:38:41,740 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:41,741 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:41,743 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7fbef8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:38:41,744 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:38:41,749 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:38:41,751 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e9208>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:38:41,752 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301377.913, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:38: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=4698.0, monthly_exported=0, yearly_exported=0, exported=8005395.24, fault_state=0, fault_str='Kein Fehler.', power=-2881.3))
2024-01-28 14:38:41,757 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306773.153, power=-2987.3))
2024-01-28 14:38:41,759 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449112, 'time': '14:38:32', 'grid': -0.058, 'house-power': 0.859, 'charging-all': 1.445, 'pv-all': 3.034, 'cp1-power': 1.445, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.672, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:38:41,760 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:38:41,760 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:38:41,762 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:41,763 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:41,764 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:38:41,764 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:38:41,766 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:38:41,779 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:38:41,781 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:38:41,781 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:41,782 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 14.0W
2024-01-28 14:38:41,783 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.1A, Überschuss: -14.0W, benötigte neue Leistung: 3220W
2024-01-28 14:38:41,784 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 14.0W
2024-01-28 14:38:41,785 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 14.0W
2024-01-28 14:38:41,786 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 14.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:38:41,787 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:38:41,789 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:38:41,790 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.4, 36.5]A verbleibende Ströme, 24053.19W verbleibende Leistung
2024-01-28 14:38:41,791 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:38:41,793 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:38:41,795 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:38:41,796 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -46.81000000000131W
2024-01-28 14:38:41,796 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -46.81000000000131W
2024-01-28 14:38:41,797 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:38:41,798 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:38:41,805 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:38:41,812 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:41,876 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:38:42,137 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:38:42,138 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:38:45,149 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:50,162 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:50,163 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:38:50,164 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:38:50,164 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:38:50,206 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:38:50,208 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:50,212 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:50,223 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:38:50,226 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:50,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [14, 324, -601, 291], Scale 0
2024-01-28 14:38:50,269 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:38:50,272 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.6, "voltage":239.8, "current":0.448, "aenergy":{"total":9437.491,"by_minute":[1482.902,1790.970,1796.666],"minute_ts":1706449129},"temperature":{"tC":40.4, "tF":104.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:38","unixtime":1706449130,"uptime":5808524,"ram_size":249000,"ram_free":145104,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:38:50,276 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449120.7155945, power=-106, imported=0.0, exported=301377.9132043567)
2024-01-28 14:38:50,277 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265575, power1: -106, power2: -106
2024-01-28 14:38:50,277 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.28151
2024-01-28 14:38:50,278 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.28151 Wh, new state: SimCounterState(timestamp=1706449130.2763, power=-106, imported=0.0, exported=301378.19471401634)
2024-01-28 14:38:50,281 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.19471401634, dc_power=None)
2024-01-28 14:38:50,289 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:38:50,307 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23963, 23952, 23854, 0, 0, 0, 0], Scale -2
2024-01-28 14:38:50,338 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:38:50,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6110, 8970, -7500], Scale -2
2024-01-28 14:38:50,408 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798636, 2184843, 1457574, 8628773, 3551345, 2508532, 3137030], Scale 0
2024-01-28 14:38:50,410 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-324.0, 601.0, -291.0], voltages=[239.63, 239.52, 238.54], power_factors=[-0.611, 0.897, -0.75], imported=8628773.0, exported=4872917.0, power=-14.0, frequency=49.97)
2024-01-28 14:38:50,412 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:50,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21913], Scale -1
2024-01-28 14:38:50,459 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963369], Scale 0
2024-01-28 14:38:50,482 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 308, 306], Scale -2
2024-01-28 14:38:50,578 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22375], Scale -1
2024-01-28 14:38:50,579 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.08, 3.06]
2024-01-28 14:38:50,580 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.08, 3.06], power=-2191.3, exported=7963369.0, dc_power=-2237.5)
2024-01-28 14:38:50,581 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:50,618 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449121.2779212, power=695.0, imported=174185.93953917854, exported=132153.6990891164)
2024-01-28 14:38:50,618 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259446, power1: 695, power2: 674
2024-01-28 14:38:50,619 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.77591
2024-01-28 14:38:50,619 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.77591 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449130.6179821, power=674.0, imported=174187.71544798958, exported=132153.6990891164)
2024-01-28 14:38:50,621 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174187.71544798958, exported=132153.6990891164, power=674.0, soc=11.0)
2024-01-28 14:38:50,624 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:38:50,626 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174187.71544798958, exported=132153.6990891164, power=674.0, soc=11.0)
2024-01-28 14:38:50,679 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:50,683 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:38:50,684 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2865.3, exported=8005403.02, dc_power=None)
2024-01-28 14:38:50,684 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:38:50,685 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2865.3, exported=8005403.02, dc_power=None)
2024-01-28 14:38:50,685 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.19471401634, dc_power=None)
2024-01-28 14:38:50,691 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.19471401634, dc_power=None)
2024-01-28 14:38:50,730 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:38:50,731 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-324.0, 601.0, -291.0], voltages=[239.63, 239.52, 238.54], power_factors=[-0.611, 0.897, -0.75], imported=8628773.0, exported=4872917.0, power=-14.0, frequency=49.97)
2024-01-28 14:38:50,801 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:50,802 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:38:50,802 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5220>
2024-01-28 14:38:50,808 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:38:50,810 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5220>
2024-01-28 14:38:50,844 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174187.72, vorherige Payload: 174185.94
2024-01-28 14:38:50,846 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 674.0, vorherige Payload: 695.0
2024-01-28 14:38:50,848 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:38:50,850 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:38:51,159 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:38:51,168 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.37, 36.5]A
2024-01-28 14:38:51,169 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25478.22W
2024-01-28 14:38:51,173 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:38:51,176 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:51,178 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:38:51,179 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:38:51.179224
2024-01-28 14:38:51,181 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136578.137546s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:38:51,185 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:38:51.184685
2024-01-28 14:38:51,186 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:38:51.184685
2024-01-28 14:38:51,187 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53420.36811s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:38:51,188 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:38:51.187829
2024-01-28 14:38:51,188 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128796.762482s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:38:51,190 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:38:51.190151
2024-01-28 14:38:51,192 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:38:51.190151
2024-01-28 14:38:51,196 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52123.468234s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:38:51,197 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:38:51,204 - {control.chargepoint.chargepoint:667} - {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: 6.17
2024-01-28 14:38:51,204 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:38:51,232 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449121.6870205, power=859.1100000000001, imported=4312357.390832862, exported=0)
2024-01-28 14:38:51,232 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265138, power1: 859.11, power2: 819.08
2024-01-28 14:38:51,234 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.22476
2024-01-28 14:38:51,235 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.22476 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449131.2319915, power=819.0800000000002, imported=4312359.61559326, exported=0)
2024-01-28 14:38:51,237 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174187.72, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=674.0))
2024-01-28 14:38:51,238 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174187.72, exported=132153.7, power=674.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:38:51,239 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1464.22, imported=7628256.84, exported=0))
2024-01-28 14:38:51,240 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.17, 0.0, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628256.84, phases_in_use=1, plug_state=True, power=1464.22, 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.92, 238.97, 240.03]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=104.97999999951571, imported_since_plugged=104.97999999951571, range_charged=0.5248999999975785, time_charged='0:03', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b37130>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:38:51,241 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:38:51,242 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:38:51,244 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-324.0, 601.0, -291.0], currents=[-2.0, 2.8, -1.5], voltages=[239.63, 239.52, 238.54], power_factors=[-0.61, 0.9, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-14.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25478.22, raw_currents_left=[37.03, 38.37, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:38:51,245 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=819.0800000000002, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312359.61559326, disengageable_smarthome_power=0))
2024-01-28 14:38:51,245 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:38:51,247 - {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-28 14:38:51,249 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:38:51,250 - {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-28 14:38:51,251 - {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-28 14:38:51,251 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38:51,252 - {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=77, soc_timestamp=1706449128.752876, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:38: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-28 14:38:51,254 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:38:51,255 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:51,256 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:38:51,257 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cbcd0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:38:51,258 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:38:51,259 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:38:51,261 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7fad48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:38:51,262 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301378.195, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:38:51,263 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005403.02, fault_state=0, fault_str='Kein Fehler.', power=-2865.3))
2024-01-28 14:38:51,263 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306781.215, power=-2971.3))
2024-01-28 14:38:51,265 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449121, 'time': '14:38:41', 'grid': 0.014, 'house-power': 0.859, 'charging-all': 1.447, 'pv-all': 2.987, 'cp1-power': 1.447, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.695, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:38:51,266 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:38:51,267 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:38:51,268 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:51,269 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:38:51,270 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:38:51,272 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:38:51,272 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:38:51,273 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:38:51,274 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:38:51,280 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:38:51,283 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -14.0W
2024-01-28 14:38:51,292 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.17A, Überschuss: 14.0W, benötigte neue Leistung: 3220W
2024-01-28 14:38:51,294 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -14.0W
2024-01-28 14:38:51,299 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -14.0W
2024-01-28 14:38:51,300 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -14.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:38:51,301 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:38:51,303 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:38:51,305 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.37, 36.5]A verbleibende Ströme, 24098.22W verbleibende Leistung
2024-01-28 14:38:51,305 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:38:51,308 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:38:51,310 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:38:51,311 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -1.7799999999988358W
2024-01-28 14:38:51,311 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -1.7799999999988358W
2024-01-28 14:38:51,312 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:38:51,313 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:38:51,316 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:38:51,319 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:38:51,342 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:38:55,680 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:38:55,681 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:00,694 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:00,697 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:39:00,700 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:39:00,796 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:39:00,798 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:00,809 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:39:00,812 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:00,813 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:00,855 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:39:00,864 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 337, -608, 298], Scale 0
2024-01-28 14:39:00,868 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.3, "voltage":240.1, "current":0.446, "aenergy":{"total":9437.787,"by_minute":[1778.628,1790.970,1796.666],"minute_ts":1706449139},"temperature":{"tC":40.3, "tF":104.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:39","unixtime":1706449141,"uptime":5808535,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-28 14:39:00,880 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449130.2763, power=-106, imported=0.0, exported=301378.19471401634)
2024-01-28 14:39:00,881 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294546, power1: -106, power2: -106
2024-01-28 14:39:00,882 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.312219
2024-01-28 14:39:00,883 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.312219 Wh, new state: SimCounterState(timestamp=1706449140.8799713, power=-106, imported=0.0, exported=301378.5069332272)
2024-01-28 14:39:00,887 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.5069332272, dc_power=None)
2024-01-28 14:39:00,908 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 27, 15], Scale -1
2024-01-28 14:39:00,929 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23961, 23960, 23852, 0, 0, 0, 0], Scale -2
2024-01-28 14:39:00,960 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:39:01,000 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6549, 9060, -7659], Scale -2
2024-01-28 14:39:01,071 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798636, 2184843, 1457574, 8628773, 3551345, 2508534, 3137030], Scale 0
2024-01-28 14:39:01,073 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.7, -1.5], powers=[-337.0, 608.0, -298.0], voltages=[239.61, 239.6, 238.52], power_factors=[-0.6548999999999999, 0.9060000000000001, -0.7659], imported=8628773.0, exported=4872917.0, power=-27.0, frequency=49.97)
2024-01-28 14:39:01,075 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:01,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22591], Scale -1
2024-01-28 14:39:01,130 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963376], Scale 0
2024-01-28 14:39:01,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [316, 317, 315], Scale -2
2024-01-28 14:39:01,191 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22935], Scale -1
2024-01-28 14:39:01,191 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.16, 3.17, 3.15]
2024-01-28 14:39:01,193 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.16, 3.17, 3.15], power=-2259.1, exported=7963376.0, dc_power=-2293.5)
2024-01-28 14:39:01,196 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:01,238 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449130.6179821, power=674.0, imported=174187.71544798958, exported=132153.6990891164)
2024-01-28 14:39:01,239 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00295021, power1: 674, power2: 668
2024-01-28 14:39:01,239 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.97959
2024-01-28 14:39:01,240 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.97959 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449141.2387302, power=668.0, imported=174189.6950374165, exported=132153.6990891164)
2024-01-28 14:39:01,241 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174189.6950374165, exported=132153.6990891164, power=668.0, soc=11.0)
2024-01-28 14:39:01,244 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:01,245 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174189.6950374165, exported=132153.6990891164, power=668.0, soc=11.0)
2024-01-28 14:39:01,292 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:01,293 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:01,295 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:01,296 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2927.1, exported=8005412.0, dc_power=None)
2024-01-28 14:39:01,297 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.5069332272, dc_power=None)
2024-01-28 14:39:01,299 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2927.1, exported=8005412.0, dc_power=None)
2024-01-28 14:39:01,300 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.5069332272, dc_power=None)
2024-01-28 14:39:01,347 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:01,347 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.7, -1.5], powers=[-337.0, 608.0, -298.0], voltages=[239.61, 239.6, 238.52], power_factors=[-0.6548999999999999, 0.9060000000000001, -0.7659], imported=8628773.0, exported=4872917.0, power=-27.0, frequency=49.97)
2024-01-28 14:39:01,403 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:01,404 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:39:01,405 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6eda8748>
2024-01-28 14:39:01,411 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:01,413 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6eda8748>
2024-01-28 14:39:01,429 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174189.7, vorherige Payload: 174187.72
2024-01-28 14:39:01,430 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 668.0, vorherige Payload: 674.0
2024-01-28 14:39:01,545 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:39:01,554 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.47, 36.48]A
2024-01-28 14:39:01,557 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25491.04W
2024-01-28 14:39:01,562 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:39:01,570 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:01,572 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:39:01,574 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:39:01.574345
2024-01-28 14:39:01,576 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136567.742425s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:39:01,577 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:39:01.576757
2024-01-28 14:39:01,578 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:39:01.576757
2024-01-28 14:39:01,579 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53409.976038s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:39:01,583 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:39:01.582554
2024-01-28 14:39:01,584 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128786.367757s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:39:01,588 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:39:01.587717
2024-01-28 14:39:01,589 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:39:01.587717
2024-01-28 14:39:01,591 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52113.070668s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:39:01,593 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:39:01,611 - {control.chargepoint.chargepoint:667} - {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: 6.17
2024-01-28 14:39:01,615 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:39:01,619 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449131.2319915, power=819.0800000000002, imported=4312359.61559326, exported=0)
2024-01-28 14:39:01,620 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288534, power1: 819.08, power2: 874.06
2024-01-28 14:39:01,621 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.44264
2024-01-28 14:39:01,622 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.44264 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449141.6192217, power=874.06, imported=4312362.058236992, exported=0)
2024-01-28 14:39:01,624 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174189.7, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=668.0))
2024-01-28 14:39:01,626 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174189.7, exported=132153.7, power=668.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:39:01,627 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1464.04, imported=7628262.21, exported=0))
2024-01-28 14:39:01,630 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.17, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628262.21, phases_in_use=1, plug_state=True, power=1464.04, 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.02, 240.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=108.88999999966472, imported_since_plugged=108.88999999966472, range_charged=0.5444499999983237, time_charged='0:03', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d4790>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:39:01,632 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:39:01,633 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:39:01,636 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-337.0, 608.0, -298.0], currents=[-2.0, 2.7, -1.5], voltages=[239.61, 239.6, 238.52], power_factors=[-0.65, 0.91, -0.77], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-27.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25491.04, raw_currents_left=[37.03, 38.47, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:39:01,637 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=874.06, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312362.058236992, disengageable_smarthome_power=0))
2024-01-28 14:39:01,639 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:39:01,641 - {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-28 14:39:01,647 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:39:01,649 - {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-28 14:39:01,657 - {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-28 14:39:01,660 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:01,663 - {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=77, soc_timestamp=1706449128.752876, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:01,665 - {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-28 14:39:01,668 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:39:01,672 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:01,674 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:01,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb39d0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:39:01,683 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:39:01,684 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:39:01,690 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c6280>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:39:01,690 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301378.507, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:39:01,692 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005412.0, fault_state=0, fault_str='Kein Fehler.', power=-2927.1))
2024-01-28 14:39:01,705 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306790.507, power=-3033.1))
2024-01-28 14:39:01,707 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449131, 'time': '14:38:51', 'grid': -0.014, 'house-power': 0.819, 'charging-all': 1.464, 'pv-all': 2.971, 'cp1-power': 1.464, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.674, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:39:01,723 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:39:01,724 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:39:01,724 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:01,725 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:01,725 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:39:01,726 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:39:01,726 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:39:01,727 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:39:01,727 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:39:01,728 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:01,728 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.0W
2024-01-28 14:39:01,729 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.17A, Überschuss: 27.0W, benötigte neue Leistung: 3220W
2024-01-28 14:39:01,729 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.0W
2024-01-28 14:39:01,730 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.0W
2024-01-28 14:39:01,730 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -27.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:39:01,731 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:39:01,733 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:01,734 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.47, 36.48]A verbleibende Ströme, 24111.04W verbleibende Leistung
2024-01-28 14:39:01,735 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:39:01,736 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:39:01,738 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:39:01,739 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 11.040000000000873W
2024-01-28 14:39:01,739 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 11.040000000000873W
2024-01-28 14:39:01,740 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:39:01,741 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:39:01,742 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:01,743 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 11.040000000000873W korrigieren: [0.0, 26.0, 0.0]
2024-01-28 14:39:01,744 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.422, 36.48]A verbleibende Ströme, 4.618527782440651e-14W verbleibender Überschuss
2024-01-28 14:39:01,744 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6.048000000000004A
2024-01-28 14:39:01,746 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:39:01,775 - {control.process:111} - {INFO:MainThread} - LP1: set current 6.05 A, state CHARGING_ALLOWED
2024-01-28 14:39:01,792 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:01,837 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:39:02,133 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:39:02,136 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:39:05,145 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:05,147 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:10,160 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:10,161 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:10,162 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:39:10,163 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:39:10,210 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:39:10,211 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:10,212 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:10,218 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:39:10,220 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:10,267 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:39:10,269 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.0, "voltage":240.0, "current":0.445, "aenergy":{"total":9438.082,"by_minute":[295.251,1778.628,1790.970],"minute_ts":1706449149},"temperature":{"tC":40.5, "tF":104.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:39","unixtime":1706449150,"uptime":5808544,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:39:10,271 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449140.8799713, power=-106, imported=0.0, exported=301378.5069332272)
2024-01-28 14:39:10,272 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260876, power1: -106, power2: -106
2024-01-28 14:39:10,272 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.276529
2024-01-28 14:39:10,273 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.276529 Wh, new state: SimCounterState(timestamp=1706449150.271506, power=-106, imported=0.0, exported=301378.783461752)
2024-01-28 14:39:10,274 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 322, -614, 291], Scale 0
2024-01-28 14:39:10,277 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.783461752, dc_power=None)
2024-01-28 14:39:10,308 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 27, 16], Scale -1
2024-01-28 14:39:10,328 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23972, 23983, 23853, 0, 0, 0, 0], Scale -2
2024-01-28 14:39:10,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:39:10,367 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6439, 8909, -7680], Scale -2
2024-01-28 14:39:10,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798638, 2184843, 1457575, 8628773, 3551345, 2508536, 3137030], Scale 0
2024-01-28 14:39:10,391 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.7, -1.6], powers=[-322.0, 614.0, -291.0], voltages=[239.72, 239.83, 238.53], power_factors=[-0.6439, 0.8909, -0.768], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.97)
2024-01-28 14:39:10,393 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:10,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22185], Scale -1
2024-01-28 14:39:10,477 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963382], Scale 0
2024-01-28 14:39:10,497 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [311, 313, 309], Scale -2
2024-01-28 14:39:10,518 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22523], Scale -1
2024-01-28 14:39:10,518 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.11, 3.13, 3.09]
2024-01-28 14:39:10,519 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.11, 3.13, 3.09], power=-2218.5, exported=7963382.0, dc_power=-2252.3)
2024-01-28 14:39:10,521 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:10,659 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449141.2387302, power=668.0, imported=174189.6950374165, exported=132153.6990891164)
2024-01-28 14:39:10,660 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261692, power1: 668, power2: 692
2024-01-28 14:39:10,661 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.77951
2024-01-28 14:39:10,661 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.77951 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449150.6596398, power=692.0, imported=174191.47454257132, exported=132153.6990891164)
2024-01-28 14:39:10,663 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174191.47454257132, exported=132153.6990891164, power=692.0, soc=11.0)
2024-01-28 14:39:10,684 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:10,685 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174191.47454257132, exported=132153.6990891164, power=692.0, soc=11.0)
2024-01-28 14:39:10,724 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:10,726 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:10,730 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:10,730 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2910.5, exported=8005419.77, dc_power=None)
2024-01-28 14:39:10,731 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.783461752, dc_power=None)
2024-01-28 14:39:10,732 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2910.5, exported=8005419.77, dc_power=None)
2024-01-28 14:39:10,732 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301378.783461752, dc_power=None)
2024-01-28 14:39:10,790 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:10,791 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.7, -1.6], powers=[-322.0, 614.0, -291.0], voltages=[239.72, 239.83, 238.53], power_factors=[-0.6439, 0.8909, -0.768], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.97)
2024-01-28 14:39:10,852 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:10,852 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:39:10,853 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c69d0>
2024-01-28 14:39:10,861 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:10,863 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c69d0>
2024-01-28 14:39:10,882 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174191.47, vorherige Payload: 174189.7
2024-01-28 14:39:10,883 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 692.0, vorherige Payload: 668.0
2024-01-28 14:39:10,886 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:39:10,887 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:39:11,029 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:39:11,031 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.43, 36.58]A
2024-01-28 14:39:11,035 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25456.68W
2024-01-28 14:39:11,043 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:39:11,046 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:11,048 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:39:11,052 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:39:11.051597
2024-01-28 14:39:11,056 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136558.265173s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:39:11,058 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:39:11.058520
2024-01-28 14:39:11,060 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:39:11.058520
2024-01-28 14:39:11,063 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53400.494275s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:39:11,064 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:39:11.064366
2024-01-28 14:39:11,067 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128776.885945s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:39:11,068 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:39:11.067920
2024-01-28 14:39:11,071 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:39:11.067920
2024-01-28 14:39:11,078 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52103.590465s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:39:11,079 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:39:11,088 - {control.chargepoint.chargepoint:667} - {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: 6.13
2024-01-28 14:39:11,091 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:39:11,099 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449141.6192217, power=874.06, imported=4312362.058236992, exported=0)
2024-01-28 14:39:11,101 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263339, power1: 874.06, power2: 867.82
2024-01-28 14:39:11,102 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.29352
2024-01-28 14:39:11,103 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.29352 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449151.0994217, power=867.8199999999999, imported=4312364.351760724, exported=0)
2024-01-28 14:39:11,106 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174191.47, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=692.0))
2024-01-28 14:39:11,108 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174191.47, exported=132153.7, power=692.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:39:11,110 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1456.68, imported=7628265.14, exported=0))
2024-01-28 14:39:11,112 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.13, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=605, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628265.14, phases_in_use=1, plug_state=True, power=1456.68, 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, 238.89, 240.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6.05, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=114.25999999977648, imported_since_plugged=114.25999999977648, range_charged=0.5712999999988824, time_charged='0:03', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70141208>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:39:11,116 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:39:11,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-28 14:39:11,140 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-322.0, 614.0, -291.0], currents=[-2.0, 2.7, -1.6], voltages=[239.72, 239.83, 238.53], power_factors=[-0.64, 0.89, -0.77], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.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=25456.68, raw_currents_left=[37.03, 38.43, 36.58], surplus_power_left=0, state_str=''))
2024-01-28 14:39:11,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=867.8199999999999, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312364.351760724, disengageable_smarthome_power=0))
2024-01-28 14:39:11,143 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:39:11,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-28 14:39:11,147 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:39:11,149 - {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-28 14:39:11,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-28 14:39:11,154 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:11,156 - {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=77, soc_timestamp=1706449128.752876, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:11,158 - {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-28 14:39:11,159 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:39:11,162 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:11,163 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:11,165 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6f70>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:39:11,166 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:39:11,168 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:39:11,168 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x70b32730>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:39:11,169 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301378.783, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:39:11,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=4698.0, monthly_exported=0, yearly_exported=0, exported=8005419.77, fault_state=0, fault_str='Kein Fehler.', power=-2910.5))
2024-01-28 14:39:11,171 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306798.552999999, power=-3016.5))
2024-01-28 14:39:11,173 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449141, 'time': '14:39:01', 'grid': -0.027, 'house-power': 0.874, 'charging-all': 1.464, 'pv-all': 3.033, 'cp1-power': 1.464, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.668, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:39:11,175 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:39:11,177 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:39:11,177 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:11,184 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:11,186 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:39:11,188 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:39:11,191 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:39:11,193 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:39:11,194 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:39:11,195 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:11,196 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:39:11,197 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.13A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:39:11,199 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:39:11,200 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:39:11,201 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:39:11,202 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:39:11,205 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:11,207 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.43, 36.58]A verbleibende Ströme, 24076.68W verbleibende Leistung
2024-01-28 14:39:11,208 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:39:11,209 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:39:11,212 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:39:11,213 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -23.31999999999971W
2024-01-28 14:39:11,216 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -23.31999999999971W
2024-01-28 14:39:11,217 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:39:11,219 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:39:11,227 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:39:11,232 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:11,259 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:39:11,683 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:39:11,694 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:39:15,708 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:20,721 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:20,722 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:20,723 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:39:20,724 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:39:20,784 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:39:20,786 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:20,792 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:39:20,794 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:20,802 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:20,835 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:39:20,837 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":106.0, "voltage":239.9, "current":0.445, "aenergy":{"total":9438.375,"by_minute":[589.554,1778.628,1790.970],"minute_ts":1706449159},"temperature":{"tC":40.5, "tF":104.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:39","unixtime":1706449161,"uptime":5808555,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:39:20,839 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449150.271506, power=-106, imported=0.0, exported=301378.783461752)
2024-01-28 14:39:20,840 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293565, power1: -106, power2: -106
2024-01-28 14:39:20,841 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.311179
2024-01-28 14:39:20,841 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.311179 Wh, new state: SimCounterState(timestamp=1706449160.8398528, power=-106, imported=0.0, exported=301379.09464085044)
2024-01-28 14:39:20,843 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301379.09464085044, dc_power=None)
2024-01-28 14:39:20,878 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-20, 311, -620, 288], Scale 0
2024-01-28 14:39:20,909 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 16], Scale -1
2024-01-28 14:39:20,956 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23939, 23981, 23833, 0, 0, 0, 0], Scale -2
2024-01-28 14:39:20,988 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:39:21,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6399, 8920, -7659], Scale -2
2024-01-28 14:39:21,032 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798639, 2184843, 1457576, 8628773, 3551345, 2508538, 3137030], Scale 0
2024-01-28 14:39:21,033 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-311.0, 620.0, -288.0], voltages=[239.39000000000001, 239.81, 238.33], power_factors=[-0.6399, 0.892, -0.7659], imported=8628773.0, exported=4872917.0, power=20.0, frequency=49.97)
2024-01-28 14:39:21,035 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:21,057 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22066], Scale -1
2024-01-28 14:39:21,097 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963388], Scale 0
2024-01-28 14:39:21,138 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [309, 311, 307], Scale -2
2024-01-28 14:39:21,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22402], Scale -1
2024-01-28 14:39:21,158 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.09, 3.11, 3.0700000000000003]
2024-01-28 14:39:21,159 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.09, 3.11, 3.0700000000000003], power=-2206.6, exported=7963388.0, dc_power=-2240.2000000000003)
2024-01-28 14:39:21,160 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:21,198 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449150.6596398, power=692.0, imported=174191.47454257132, exported=132153.6990891164)
2024-01-28 14:39:21,198 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292734, power1: 692, power2: 711
2024-01-28 14:39:21,199 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.05353
2024-01-28 14:39:21,199 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.05353 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449161.1980493, power=711.0, imported=174193.52806875028, exported=132153.6990891164)
2024-01-28 14:39:21,200 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174193.52806875028, exported=132153.6990891164, power=711.0, soc=11.0)
2024-01-28 14:39:21,204 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:21,205 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174193.52806875028, exported=132153.6990891164, power=711.0, soc=11.0)
2024-01-28 14:39:21,247 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:21,249 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:21,249 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2917.6, exported=8005427.83, dc_power=None)
2024-01-28 14:39:21,250 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:21,251 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2917.6, exported=8005427.83, dc_power=None)
2024-01-28 14:39:21,254 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301379.09464085044, dc_power=None)
2024-01-28 14:39:21,256 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301379.09464085044, dc_power=None)
2024-01-28 14:39:21,298 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:21,299 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-311.0, 620.0, -288.0], voltages=[239.39000000000001, 239.81, 238.33], power_factors=[-0.6399, 0.892, -0.7659], imported=8628773.0, exported=4872917.0, power=20.0, frequency=49.97)
2024-01-28 14:39:21,364 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:21,365 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:39:21,366 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c2dd8>
2024-01-28 14:39:21,369 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:21,370 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c2dd8>
2024-01-28 14:39:21,391 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174193.53, vorherige Payload: 174191.47
2024-01-28 14:39:21,392 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 711.0, vorherige Payload: 692.0
2024-01-28 14:39:21,393 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:39:21,394 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:39:21,608 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:39:21,630 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.35, 36.57]A
2024-01-28 14:39:21,632 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25427.18W
2024-01-28 14:39:21,634 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:39:21,638 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:21,639 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:39:21,640 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:39:21.640327
2024-01-28 14:39:21,643 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136547.676443s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:39:21,646 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:39:21.646260
2024-01-28 14:39:21,647 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:39:21.646260
2024-01-28 14:39:21,648 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53389.906535s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:39:21,650 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:39:21.649940
2024-01-28 14:39:21,651 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128766.300371s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:39:21,653 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:39:21.653324
2024-01-28 14:39:21,655 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:39:21.653324
2024-01-28 14:39:21,656 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52093.005061s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:39:21,658 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:39:21,664 - {control.chargepoint.chargepoint:667} - {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: 6.15
2024-01-28 14:39:21,680 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:39:21,695 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449151.0994217, power=867.8199999999999, imported=4312364.351760724, exported=0)
2024-01-28 14:39:21,698 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294338, power1: 867.82, power2: 885.42
2024-01-28 14:39:21,699 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.58023
2024-01-28 14:39:21,700 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.58023 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449161.6955905, power=885.4199999999998, imported=4312366.931986683, exported=0)
2024-01-28 14:39:21,703 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174193.53, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=711.0))
2024-01-28 14:39:21,705 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174193.53, exported=132153.7, power=711.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:39:21,706 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1447.18, imported=7628269.04, exported=0))
2024-01-28 14:39:21,708 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.15, -0.03, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628269.04, phases_in_use=1, plug_state=True, power=1447.18, 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, 238.78, 239.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=117.18999999947846, imported_since_plugged=117.18999999947846, range_charged=0.5859499999973923, time_charged='0:03', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e9ca0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:39:21,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-28 14:39:21,710 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:39:21,711 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-311.0, 620.0, -288.0], currents=[-2.0, 2.8, -1.6], voltages=[239.39, 239.81, 238.33], power_factors=[-0.64, 0.89, -0.77], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=20.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25427.18, raw_currents_left=[37.03, 38.35, 36.57], surplus_power_left=0, state_str=''))
2024-01-28 14:39:21,713 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=885.4199999999998, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312366.931986683, disengageable_smarthome_power=0))
2024-01-28 14:39:21,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-28 14:39:21,717 - {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-28 14:39:21,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:39:21,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-28 14:39:21,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-28 14:39:21,724 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:21,725 - {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=77, soc_timestamp=1706449128.752876, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:21,726 - {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-28 14:39:21,728 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:39:21,729 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:21,730 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:21,732 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e9160>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:39:21,733 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:39:21,734 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:39:21,735 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e3748>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:39:21,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=429.0, monthly_exported=0, yearly_exported=0, exported=301379.095, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:39:21,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=4698.0, monthly_exported=0, yearly_exported=0, exported=8005427.83, fault_state=0, fault_str='Kein Fehler.', power=-2917.6))
2024-01-28 14:39:21,739 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306806.925, power=-3023.6))
2024-01-28 14:39:21,740 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449151, 'time': '14:39:11', 'grid': -0.0, 'house-power': 0.868, 'charging-all': 1.457, 'pv-all': 3.017, 'cp1-power': 1.457, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.692, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:39:21,741 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:39:21,743 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:39:21,744 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:21,745 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:21,747 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:39:21,748 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:39:21,749 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:39:21,751 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:39:21,752 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:39:21,754 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:21,755 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 20.0W
2024-01-28 14:39:21,757 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.15A, Überschuss: -20.0W, benötigte neue Leistung: 3220W
2024-01-28 14:39:21,758 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 20.0W
2024-01-28 14:39:21,759 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 20.0W
2024-01-28 14:39:21,760 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 20.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:39:21,762 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:39:21,766 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:21,767 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.35, 36.57]A verbleibende Ströme, 24047.18W verbleibende Leistung
2024-01-28 14:39:21,769 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:39:21,772 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:39:21,780 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:39:21,782 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -52.81999999999971W
2024-01-28 14:39:21,783 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -52.81999999999971W
2024-01-28 14:39:21,785 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:39:21,786 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:39:21,788 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:39:21,793 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:21,813 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:39:25,228 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:25,229 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:30,240 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:30,242 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:39:30,243 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:39:30,285 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:39:30,287 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:30,289 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:30,295 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:39:30,304 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:30,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 323, -619, 294], Scale 0
2024-01-28 14:39:30,352 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:39:30,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":true, "apower":106.0, "voltage":240.3, "current":0.445, "aenergy":{"total":9438.668,"by_minute":[883.856,1778.628,1790.970],"minute_ts":1706449169},"temperature":{"tC":40.6, "tF":105.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:39","unixtime":1706449170,"uptime":5808565,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:39:30,358 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449160.8398528, power=-106, imported=0.0, exported=301379.09464085044)
2024-01-28 14:39:30,358 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026439, power1: -106, power2: -106
2024-01-28 14:39:30,359 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.280254
2024-01-28 14:39:30,359 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.280254 Wh, new state: SimCounterState(timestamp=1706449170.3579013, power=-106, imported=0.0, exported=301379.37489450147)
2024-01-28 14:39:30,361 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301379.37489450147, dc_power=None)
2024-01-28 14:39:30,371 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:39:30,558 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23936, 23974, 23831, 0, 0, 0, 0], Scale -2
2024-01-28 14:39:30,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:39:30,601 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6230, 8859, -7599], Scale -2
2024-01-28 14:39:30,678 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798639, 2184843, 1457577, 8628773, 3551345, 2508539, 3137030], Scale 0
2024-01-28 14:39:30,679 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-323.0, 619.0, -294.0], voltages=[239.36, 239.74, 238.31], power_factors=[-0.623, 0.8859, -0.7598999999999999], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.95)
2024-01-28 14:39:30,684 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:30,760 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22231], Scale -1
2024-01-28 14:39:30,797 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963395], Scale 0
2024-01-28 14:39:30,816 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [311, 314, 309], Scale -2
2024-01-28 14:39:30,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22570], Scale -1
2024-01-28 14:39:30,837 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.11, 3.14, 3.09]
2024-01-28 14:39:30,837 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.11, 3.14, 3.09], power=-2223.1, exported=7963395.0, dc_power=-2257.0)
2024-01-28 14:39:30,847 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:30,989 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449161.1980493, power=711.0, imported=174193.52806875028, exported=132153.6990891164)
2024-01-28 14:39:30,990 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00271989, power1: 711, power2: 684
2024-01-28 14:39:30,990 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.89712
2024-01-28 14:39:30,991 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.89712 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449170.9896479, power=684.0, imported=174195.42519097097, exported=132153.6990891164)
2024-01-28 14:39:30,998 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174195.42519097097, exported=132153.6990891164, power=684.0, soc=11.0)
2024-01-28 14:39:31,011 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:31,012 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174195.42519097097, exported=132153.6990891164, power=684.0, soc=11.0)
2024-01-28 14:39:31,043 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:31,045 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:31,046 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:31,049 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2907.1, exported=8005436.73, dc_power=None)
2024-01-28 14:39:31,049 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301379.37489450147, dc_power=None)
2024-01-28 14:39:31,050 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2907.1, exported=8005436.73, dc_power=None)
2024-01-28 14:39:31,051 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-106, exported=301379.37489450147, dc_power=None)
2024-01-28 14:39:31,091 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:31,093 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-323.0, 619.0, -294.0], voltages=[239.36, 239.74, 238.31], power_factors=[-0.623, 0.8859, -0.7598999999999999], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.95)
2024-01-28 14:39:31,160 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:31,161 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:39:31,161 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e3fa0>
2024-01-28 14:39:31,165 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:31,165 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e3fa0>
2024-01-28 14:39:31,189 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174195.43, vorherige Payload: 174193.53
2024-01-28 14:39:31,192 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 684.0, vorherige Payload: 711.0
2024-01-28 14:39:31,322 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:39:31,324 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.36, 36.48]A
2024-01-28 14:39:31,324 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25462.86W
2024-01-28 14:39:31,325 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:39:31,327 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:31,328 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:39:31,330 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:39:31.329869
2024-01-28 14:39:31,331 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136537.986901s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:39:31,332 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:39:31.332172
2024-01-28 14:39:31,334 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:39:31.332172
2024-01-28 14:39:31,335 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53380.220623s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:39:31,337 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:39:31.336405
2024-01-28 14:39:31,339 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128756.613906s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:39:31,341 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:39:31.341035
2024-01-28 14:39:31,342 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:39:31.341035
2024-01-28 14:39:31,344 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52083.31735s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:39:31,345 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:39:31,355 - {control.chargepoint.chargepoint:667} - {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: 6.16
2024-01-28 14:39:31,385 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:39:31,388 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449161.6955905, power=885.4199999999998, imported=4312366.931986683, exported=0)
2024-01-28 14:39:31,389 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269237, power1: 885.42, power2: 866.24
2024-01-28 14:39:31,389 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.35806
2024-01-28 14:39:31,389 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.35806 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449171.3881264, power=866.24, imported=4312369.290046044, exported=0)
2024-01-28 14:39:31,391 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174195.43, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=684.0))
2024-01-28 14:39:31,391 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174195.43, exported=132153.7, power=684.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:39:31,392 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1462.86, imported=7628272.95, exported=0))
2024-01-28 14:39:31,393 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.16, -0.02, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628272.95, phases_in_use=1, plug_state=True, power=1462.86, 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, 238.99, 240.15]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=121.08999999985099, imported_since_plugged=121.08999999985099, range_charged=0.605449999999255, time_charged='0:04', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed8a1d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:39: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-28 14:39: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-28 14:39:31,396 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-323.0, 619.0, -294.0], currents=[-2.0, 2.8, -1.5], voltages=[239.36, 239.74, 238.31], power_factors=[-0.62, 0.89, -0.76], unbalanced_load=0, frequency=49.95, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.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=25462.86, raw_currents_left=[37.03, 38.36, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:39:31,397 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=866.24, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312369.290046044, disengageable_smarthome_power=0))
2024-01-28 14:39:31,398 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:39:31,399 - {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-28 14:39: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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:39: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-28 14:39:31,402 - {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-28 14:39:31,478 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:31,492 - {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=77, soc_timestamp=1706449128.752876, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:31,525 - {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-28 14:39:31,527 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:39:31,528 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:31,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=2, keep_charge_active_duration=40)
2024-01-28 14:39:31,585 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cf310>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:39:31,587 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:39:31,590 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:39:31,591 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed5b6d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:39:31,594 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301379.375, fault_state=0, fault_str='Kein Fehler.', power=-106))
2024-01-28 14:39:31,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=4698.0, monthly_exported=0, yearly_exported=0, exported=8005436.73, fault_state=0, fault_str='Kein Fehler.', power=-2907.1))
2024-01-28 14:39:31,599 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306816.105, power=-3013.1))
2024-01-28 14:39:31,600 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449161, 'time': '14:39:21', 'grid': 0.02, 'house-power': 0.885, 'charging-all': 1.447, 'pv-all': 3.024, 'cp1-power': 1.447, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.711, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:39:31,615 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:39:31,628 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:39:31,636 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:31,646 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:31,655 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:39:31,662 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:39:31,676 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:39:31,677 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:39:31,681 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:39:31,685 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:31,689 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:39:31,690 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.16A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:39:31,693 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:39:31,696 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:39:31,697 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:39:31,704 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:39:31,708 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:31,710 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.36, 36.48]A verbleibende Ströme, 24082.86W verbleibende Leistung
2024-01-28 14:39:31,716 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:39:31,731 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:39:31,733 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:39:31,735 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -17.139999999999418W
2024-01-28 14:39:31,741 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -17.139999999999418W
2024-01-28 14:39:31,741 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:39:31,743 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:39:31,754 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:39:31,762 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:31,839 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:39:35,230 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:35,231 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:40,243 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:40,244 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:40,245 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:39:40,245 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:39:40,296 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:39:40,297 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:40,305 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:39:40,305 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:40,336 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:40,352 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:39:40,354 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.9, "voltage":240.0, "current":0.445, "aenergy":{"total":9438.962,"by_minute":[1178.632,1778.628,1790.970],"minute_ts":1706449179},"temperature":{"tC":40.6, "tF":105.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:39","unixtime":1706449180,"uptime":5808575,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:39:40,356 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449170.3579013, power=-106, imported=0.0, exported=301379.37489450147)
2024-01-28 14:39:40,358 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00277748, power1: -106, power2: -105
2024-01-28 14:39:40,359 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 329, -595, 294], Scale 0
2024-01-28 14:39:40,359 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.293024
2024-01-28 14:39:40,361 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.293024 Wh, new state: SimCounterState(timestamp=1706449180.3568377, power=-105, imported=0.0, exported=301379.66791888804)
2024-01-28 14:39:40,362 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301379.66791888804, dc_power=None)
2024-01-28 14:39:40,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21, 28, 16], Scale -1
2024-01-28 14:39:40,467 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23982, 24015, 23854, 0, 0, 0, 0], Scale -2
2024-01-28 14:39:40,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:39:40,510 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6330, 8920, -7699], Scale -2
2024-01-28 14:39:40,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798640, 2184843, 1457578, 8628773, 3551345, 2508541, 3137030], Scale 0
2024-01-28 14:39:40,539 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.1, 2.8000000000000003, -1.6], powers=[-329.0, 595.0, -294.0], voltages=[239.82, 240.15, 238.54], power_factors=[-0.633, 0.892, -0.7698999999999999], imported=8628773.0, exported=4872917.0, power=-27.0, frequency=49.97)
2024-01-28 14:39:40,543 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:40,578 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22115], Scale -1
2024-01-28 14:39:40,599 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963401], Scale 0
2024-01-28 14:39:40,627 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [310, 313, 307], Scale -2
2024-01-28 14:39:40,646 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22463], Scale -1
2024-01-28 14:39:40,647 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.1, 3.13, 3.0700000000000003]
2024-01-28 14:39:40,647 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.1, 3.13, 3.0700000000000003], power=-2211.5, exported=7963401.0, dc_power=-2246.3)
2024-01-28 14:39:40,649 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:40,708 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449170.9896479, power=684.0, imported=174195.42519097097, exported=132153.6990891164)
2024-01-28 14:39:40,708 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00269953, power1: 684, power2: 689
2024-01-28 14:39:40,709 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.85323
2024-01-28 14:39:40,709 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.85323 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449180.7079675, power=689.0, imported=174197.2784205384, exported=132153.6990891164)
2024-01-28 14:39:40,710 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174197.2784205384, exported=132153.6990891164, power=689.0, soc=11.0)
2024-01-28 14:39:40,714 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:40,715 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174197.2784205384, exported=132153.6990891164, power=689.0, soc=11.0)
2024-01-28 14:39:40,755 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:40,756 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:40,757 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:40,761 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2900.5, exported=8005444.58, dc_power=None)
2024-01-28 14:39:40,761 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301379.66791888804, dc_power=None)
2024-01-28 14:39:40,762 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2900.5, exported=8005444.58, dc_power=None)
2024-01-28 14:39:40,763 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301379.66791888804, dc_power=None)
2024-01-28 14:39:40,816 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:40,816 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.1, 2.8000000000000003, -1.6], powers=[-329.0, 595.0, -294.0], voltages=[239.82, 240.15, 238.54], power_factors=[-0.633, 0.892, -0.7698999999999999], imported=8628773.0, exported=4872917.0, power=-27.0, frequency=49.97)
2024-01-28 14:39:40,875 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:40,876 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:39:40,877 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e9058>
2024-01-28 14:39:40,887 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:40,890 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e9058>
2024-01-28 14:39:40,904 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174197.28, vorherige Payload: 174195.43
2024-01-28 14:39:40,907 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 689.0, vorherige Payload: 684.0
2024-01-28 14:39:41,032 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:39:41,035 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.13, 38.35, 36.6]A
2024-01-28 14:39:41,036 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25487.26W
2024-01-28 14:39:41,038 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:39:41,040 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:41,041 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:39:41,044 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:39:41.043400
2024-01-28 14:39:41,045 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136528.27337s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:39:41,048 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:39:41.048090
2024-01-28 14:39:41,049 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:39:41.048090
2024-01-28 14:39:41,054 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53370.504705s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:39:41,058 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:39:41.058342
2024-01-28 14:39:41,062 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128746.891969s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:39:41,064 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:39:41.064181
2024-01-28 14:39:41,067 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:39:41.064181
2024-01-28 14:39:41,071 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52073.594204s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:39:41,073 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:39:41,082 - {control.chargepoint.chargepoint:667} - {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: 6.15
2024-01-28 14:39:41,109 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:39:41,119 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449171.3881264, power=866.24, imported=4312369.290046044, exported=0)
2024-01-28 14:39:41,122 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00270317, power1: 866.24, power2: 829.24
2024-01-28 14:39:41,123 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.29159
2024-01-28 14:39:41,124 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.29159 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449181.1195416, power=829.24, imported=4312371.58163215, exported=0)
2024-01-28 14:39:41,129 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174197.28, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=689.0))
2024-01-28 14:39:41,137 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174197.28, exported=132153.7, power=689.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:39:41,138 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1460.26, imported=7628276.86, exported=0))
2024-01-28 14:39:41,142 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.15, 0.0, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628276.86, phases_in_use=1, plug_state=True, power=1460.26, 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, 238.92, 240.06]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=125.0, imported_since_plugged=125.0, range_charged=0.625, time_charged='0:04', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed8db98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:39:41,148 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:39:41,149 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:39:41,150 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-329.0, 595.0, -294.0], currents=[-2.1, 2.8, -1.6], voltages=[239.82, 240.15, 238.54], power_factors=[-0.63, 0.89, -0.77], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-27.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25487.26, raw_currents_left=[37.13, 38.35, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:39:41,152 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=829.24, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312371.58163215, disengageable_smarthome_power=0))
2024-01-28 14:39:41,160 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:39:41,167 - {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-28 14:39:41,170 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:39:41,171 - {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-28 14:39:41,172 - {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-28 14:39:41,179 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:41,180 - {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=77, soc_timestamp=1706449128.752876, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:41,182 - {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-28 14:39:41,183 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:39:41,184 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:41,185 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:41,186 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e2418>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:39:41,187 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:39:41,188 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:39:41,189 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8eb38>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:39:41,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=429.0, monthly_exported=0, yearly_exported=0, exported=301379.668, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:39:41,190 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005444.58, fault_state=0, fault_str='Kein Fehler.', power=-2900.5))
2024-01-28 14:39:41,191 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306824.248, power=-3005.5))
2024-01-28 14:39:41,192 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449171, 'time': '14:39:31', 'grid': -0.0, 'house-power': 0.866, 'charging-all': 1.463, 'pv-all': 3.013, 'cp1-power': 1.463, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.684, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:39:41,193 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:39:41,193 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:39:41,193 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:41,194 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:41,194 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:39:41,195 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:39:41,195 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:39:41,196 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:39:41,196 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:39:41,197 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:41,197 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.0W
2024-01-28 14:39:41,198 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.15A, Überschuss: 27.0W, benötigte neue Leistung: 3220W
2024-01-28 14:39:41,198 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.0W
2024-01-28 14:39:41,199 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -27.0W
2024-01-28 14:39:41,199 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -27.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:39:41,200 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:39:41,202 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:41,203 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.13, 32.35, 36.6]A verbleibende Ströme, 24107.26W verbleibende Leistung
2024-01-28 14:39:41,203 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:39:41,204 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:39:41,207 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:39:41,207 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 7.259999999998399W
2024-01-28 14:39:41,208 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 7.259999999998399W
2024-01-28 14:39:41,208 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:39:41,210 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:39:41,210 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:41,211 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 7.259999999998399W korrigieren: [0.0, 26.0, 0.0]
2024-01-28 14:39:41,212 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [37.13, 32.318434782608705, 36.6]A verbleibende Ströme, -1.9539925233402755e-14W verbleibender Überschuss
2024-01-28 14:39:41,212 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6.0315652173912975A
2024-01-28 14:39:41,213 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:39:41,216 - {control.process:111} - {INFO:MainThread} - LP1: set current 6.03 A, state CHARGING_ALLOWED
2024-01-28 14:39:41,251 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:41,277 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:39:41,549 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:39:41,553 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:39:45,566 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:50,580 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:50,581 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:39:50,582 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:39:50,582 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:39:50,631 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:39:50,632 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:50,634 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:50,640 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:39:50,643 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:50,681 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7, 316, -596, 287], Scale 0
2024-01-28 14:39:50,685 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:39:50,687 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.7, "voltage":239.9, "current":0.444, "aenergy":{"total":9439.255,"by_minute":[1471.984,1778.628,1790.970],"minute_ts":1706449189},"temperature":{"tC":40.7, "tF":105.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:39","unixtime":1706449191,"uptime":5808585,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:39:50,689 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449180.3568377, power=-105, imported=0.0, exported=301379.66791888804)
2024-01-28 14:39:50,690 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287015, power1: -105, power2: -105
2024-01-28 14:39:50,690 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.301366
2024-01-28 14:39:50,691 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.301366 Wh, new state: SimCounterState(timestamp=1706449190.6893783, power=-105, imported=0.0, exported=301379.96928465297)
2024-01-28 14:39:50,694 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301379.96928465297, dc_power=None)
2024-01-28 14:39:50,718 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:39:50,765 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23979, 23989, 23845, 0, 0, 0, 0], Scale -2
2024-01-28 14:39:50,807 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:39:50,827 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6399, 8870, -7630], Scale -2
2024-01-28 14:39:50,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798642, 2184843, 1457579, 8628773, 3551345, 2508544, 3137030], Scale 0
2024-01-28 14:39:50,851 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-316.0, 596.0, -287.0], voltages=[239.79, 239.89000000000001, 238.45000000000002], power_factors=[-0.6399, 0.887, -0.763], imported=8628773.0, exported=4872917.0, power=-7.0, frequency=49.97)
2024-01-28 14:39:50,852 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:50,878 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22201], Scale -1
2024-01-28 14:39:50,968 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963408], Scale 0
2024-01-28 14:39:50,987 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [310, 312, 310], Scale -2
2024-01-28 14:39:51,007 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22539], Scale -1
2024-01-28 14:39:51,008 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.1, 3.12, 3.1]
2024-01-28 14:39:51,008 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.1, 3.12, 3.1], power=-2220.1, exported=7963408.0, dc_power=-2253.9)
2024-01-28 14:39:51,022 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:51,077 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449180.7079675, power=689.0, imported=174197.2784205384, exported=132153.6990891164)
2024-01-28 14:39:51,078 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288035, power1: 689, power2: 687
2024-01-28 14:39:51,078 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.98168
2024-01-28 14:39:51,078 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.98168 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449191.077241, power=687.0, imported=174199.26010390391, exported=132153.6990891164)
2024-01-28 14:39:51,086 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174199.26010390391, exported=132153.6990891164, power=687.0, soc=11.0)
2024-01-28 14:39:51,100 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:39:51,101 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174199.26010390391, exported=132153.6990891164, power=687.0, soc=11.0)
2024-01-28 14:39:51,133 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:51,136 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:39:51,137 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:39:51,137 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2907.1, exported=8005453.56, dc_power=None)
2024-01-28 14:39:51,138 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301379.96928465297, dc_power=None)
2024-01-28 14:39:51,138 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2907.1, exported=8005453.56, dc_power=None)
2024-01-28 14:39:51,139 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301379.96928465297, dc_power=None)
2024-01-28 14:39:51,182 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:39:51,182 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-316.0, 596.0, -287.0], voltages=[239.79, 239.89000000000001, 238.45000000000002], power_factors=[-0.6399, 0.887, -0.763], imported=8628773.0, exported=4872917.0, power=-7.0, frequency=49.97)
2024-01-28 14:39:51,291 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:51,292 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:39:51,292 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d5fb8>
2024-01-28 14:39:51,302 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:39:51,304 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d5fb8>
2024-01-28 14:39:51,322 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174199.26, vorherige Payload: 174197.28
2024-01-28 14:39:51,323 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 687.0, vorherige Payload: 689.0
2024-01-28 14:39:51,328 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:39:51,330 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:39:51,453 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:39:51,460 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.35, 36.5]A
2024-01-28 14:39:51,465 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25453.7W
2024-01-28 14:39:51,466 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:39:51,471 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:51,477 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:39:51,479 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:39:51.479144
2024-01-28 14:39:51,480 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136517.837626s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:39:51,481 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:39:51.481464
2024-01-28 14:39:51,483 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:39:51.481464
2024-01-28 14:39:51,484 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53360.071331s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:39:51,487 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:39:51.487461
2024-01-28 14:39:51,489 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128736.46285s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:39:51,490 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:39:51.490456
2024-01-28 14:39:51,492 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:39:51.490456
2024-01-28 14:39:51,495 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52063.167929s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:39:51,496 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:39:51,506 - {control.chargepoint.chargepoint:667} - {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: 6.15
2024-01-28 14:39:51,508 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:39:51,532 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449181.1195416, power=829.24, imported=4312371.58163215, exported=0)
2024-01-28 14:39:51,539 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289239, power1: 829.24, power2: 871.4
2024-01-28 14:39:51,540 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.45946
2024-01-28 14:39:51,541 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.45946 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449191.5321379, power=871.3999999999999, imported=4312374.041087379, exported=0)
2024-01-28 14:39:51,545 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, imported=174199.26, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=687.0))
2024-01-28 14:39:51,547 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=271.0, fault_str='Kein Fehler.', fault_state=0, imported=174199.26, exported=132153.7, power=687.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:39:51,549 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=82.0, daily_exported=0.0, power=1446.7, imported=7628282.23, exported=0))
2024-01-28 14:39:51,551 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.15, 0.0, 0.03], daily_imported=82.0, daily_exported=0.0, evse_current=603, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628282.23, phases_in_use=1, plug_state=True, power=1446.7, 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.04, 238.93, 240.11]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6.03, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=128.910000000149, imported_since_plugged=128.910000000149, range_charged=0.644550000000745, time_charged='0:04', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cf0d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:39:51,553 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:39:51,555 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:39:51,556 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-316.0, 596.0, -287.0], currents=[-2.0, 2.8, -1.5], voltages=[239.79, 239.89, 238.45], power_factors=[-0.64, 0.89, -0.76], unbalanced_load=0, frequency=49.97, daily_exported=39.0, daily_imported=22103.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-7.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25453.7, raw_currents_left=[37.03, 38.35, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:39:51,557 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=871.3999999999999, invalid_home_consumption=0, daily_yield_home_consumption=26584.0, imported_home_consumption=4312374.041087379, disengageable_smarthome_power=0))
2024-01-28 14:39:51,559 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:39:51,561 - {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-28 14:39:51,563 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:39:51,565 - {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-28 14:39:51,566 - {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-28 14:39:51,567 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:51,569 - {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=77, soc_timestamp=1706449189.312624, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:39:51,571 - {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-28 14:39:51,574 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:39:51,578 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:51,579 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:39:51,582 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f6058>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:39:51,584 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:39:51,585 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:39:51,586 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5658>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:39:51,587 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=429.0, monthly_exported=0, yearly_exported=0, exported=301379.969, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:39:51,589 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4698.0, monthly_exported=0, yearly_exported=0, exported=8005453.56, fault_state=0, fault_str='Kein Fehler.', power=-2907.1))
2024-01-28 14:39:51,590 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5128.0, monthly_exported=0, yearly_exported=0, exported=8306833.528999999, power=-3012.1))
2024-01-28 14:39:51,593 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449181, 'time': '14:39:41', 'grid': -0.027, 'house-power': 0.829, 'charging-all': 1.46, 'pv-all': 3.006, 'cp1-power': 1.46, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.689, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:39:51,596 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:39:51,600 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:39:51,601 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:51,602 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:39:51,603 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:39:51,604 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:39:51,605 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:39:51,606 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:39:51,607 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:39:51,607 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:39:51,609 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:39:51,609 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.15A, Überschuss: 7.0W, benötigte neue Leistung: 3220W
2024-01-28 14:39:51,611 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:39:51,611 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:39:51,612 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -7.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:39:51,612 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:39:51,614 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:39:51,615 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.35, 36.5]A verbleibende Ströme, 24073.7W verbleibende Leistung
2024-01-28 14:39:51,616 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:39:51,617 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:39:51,619 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:39:51,620 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -26.299999999999272W
2024-01-28 14:39:51,621 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -26.299999999999272W
2024-01-28 14:39:51,622 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:39:51,623 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:39:51,629 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:39:51,633 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:39:51,687 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:39:52,003 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:39:52,007 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:39:55,022 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:39:55,023 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:00,039 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:00,043 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:40:00,050 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-28 14:40:00,116 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-28 14:40:00,121 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:40:02,092 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/daily_imported, Payload 320.0, vorherige Payload: 271.0
2024-01-28 14:40:02,101 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:40:02,103 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:40:02,169 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:40:02,175 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:02,181 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:02,183 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:40:02,195 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:02,220 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24, 328, -592, 288], Scale 0
2024-01-28 14:40:02,239 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:40:02,249 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.7, "voltage":240.0, "current":0.444, "aenergy":{"total":9439.606,"by_minute":[58.386,1765.812,1778.628],"minute_ts":1706449201},"temperature":{"tC":40.7, "tF":105.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:40","unixtime":1706449202,"uptime":5808596,"ram_size":248948,"ram_free":144488,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:40:02,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 27, 16], Scale -1
2024-01-28 14:40:02,254 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449190.6893783, power=-105, imported=0.0, exported=301379.96928465297)
2024-01-28 14:40:02,257 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00321239, power1: -105, power2: -105
2024-01-28 14:40:02,259 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.3373
2024-01-28 14:40:02,261 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.3373 Wh, new state: SimCounterState(timestamp=1706449202.2539654, power=-105, imported=0.0, exported=301380.30658511055)
2024-01-28 14:40:02,264 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.30658511055, dc_power=None)
2024-01-28 14:40:02,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23966, 23973, 23844, 0, 0, 0, 0], Scale -2
2024-01-28 14:40:02,325 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:40:02,349 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6380, 8820, -7659], Scale -2
2024-01-28 14:40:02,401 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798643, 2184843, 1457580, 8628773, 3551345, 2508546, 3137030], Scale 0
2024-01-28 14:40:02,401 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.7, -1.6], powers=[-328.0, 592.0, -288.0], voltages=[239.66, 239.73000000000002, 238.44], power_factors=[-0.638, 0.882, -0.7659], imported=8628773.0, exported=4872917.0, power=-24.0, frequency=49.95)
2024-01-28 14:40:02,404 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:02,428 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22247], Scale -1
2024-01-28 14:40:02,448 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963415], Scale 0
2024-01-28 14:40:02,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [313, 313, 310], Scale -2
2024-01-28 14:40:02,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22586], Scale -1
2024-01-28 14:40:02,560 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.13, 3.13, 3.1]
2024-01-28 14:40:02,560 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.13, 3.13, 3.1], power=-2224.7000000000003, exported=7963415.0, dc_power=-2258.6)
2024-01-28 14:40:02,561 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:02,607 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449191.077241, power=687.0, imported=174199.26010390391, exported=132153.6990891164)
2024-01-28 14:40:02,608 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0032029, power1: 687, power2: 699
2024-01-28 14:40:02,609 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.21961
2024-01-28 14:40:02,611 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.21961 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449202.6076853, power=699.0, imported=174201.47971444775, exported=132153.6990891164)
2024-01-28 14:40:02,614 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174201.47971444775, exported=132153.6990891164, power=699.0, soc=11.0)
2024-01-28 14:40:02,634 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:02,636 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174201.47971444775, exported=132153.6990891164, power=699.0, soc=11.0)
2024-01-28 14:40:02,875 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:02,877 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:02,880 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:02,882 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2923.7000000000003, exported=8005462.78, dc_power=None)
2024-01-28 14:40:02,885 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.30658511055, dc_power=None)
2024-01-28 14:40:02,886 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2923.7000000000003, exported=8005462.78, dc_power=None)
2024-01-28 14:40:02,888 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.30658511055, dc_power=None)
2024-01-28 14:40:02,960 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:02,961 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.7, -1.6], powers=[-328.0, 592.0, -288.0], voltages=[239.66, 239.73000000000002, 238.44], power_factors=[-0.638, 0.882, -0.7659], imported=8628773.0, exported=4872917.0, power=-24.0, frequency=49.95)
2024-01-28 14:40:03,023 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:03,024 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:40:03,025 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6628>
2024-01-28 14:40:03,027 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:03,033 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6628>
2024-01-28 14:40:03,052 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/daily_imported, Payload 320.0, vorherige Payload: 271.0
2024-01-28 14:40:03,054 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174201.48, vorherige Payload: 174199.26
2024-01-28 14:40:03,055 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 699.0, vorherige Payload: 687.0
2024-01-28 14:40:03,177 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:40:03,179 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.41, 36.6]A
2024-01-28 14:40:03,180 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25489.56W
2024-01-28 14:40:03,181 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:40:03,183 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:03,184 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:40:03,187 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:40:03.186521
2024-01-28 14:40:03,189 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136506.130249s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:40:03,190 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:40:03.189876
2024-01-28 14:40:03,191 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:40:03.189876
2024-01-28 14:40:03,192 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53348.362919s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:40:03,195 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:40:03.194468
2024-01-28 14:40:03,197 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128724.755843s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:40:03,199 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:40:03.198731
2024-01-28 14:40:03,200 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:40:03.198731
2024-01-28 14:40:03,203 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52051.459654s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:40:03,204 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:40:03,208 - {control.chargepoint.chargepoint:667} - {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: 6.11
2024-01-28 14:40:03,217 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:40:03,248 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449191.5321379, power=871.3999999999999, imported=4312374.041087379, exported=0)
2024-01-28 14:40:03,250 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00325467, power1: 871.4, power2: 840.14
2024-01-28 14:40:03,251 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.78525
2024-01-28 14:40:03,253 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.78525 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449203.2489393, power=840.1399999999999, imported=4312376.826333806, exported=0)
2024-01-28 14:40:03,259 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174201.48, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=699.0))
2024-01-28 14:40:03,263 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174201.48, exported=132153.7, power=699.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:40:03,263 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1465.56, imported=7628287.11, exported=0))
2024-01-28 14:40:03,265 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.11, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628287.11, phases_in_use=1, plug_state=True, power=1465.56, 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.06, 238.67, 239.98]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=134.28000000026077, imported_since_plugged=134.28000000026077, range_charged=0.6714000000013038, time_charged='0:04', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70173e98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:40:03,268 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:40:03,271 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:40:03,272 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-328.0, 592.0, -288.0], currents=[-2.0, 2.7, -1.6], voltages=[239.66, 239.73, 238.44], power_factors=[-0.64, 0.88, -0.77], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-24.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25489.56, raw_currents_left=[37.03, 38.41, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:40:03,283 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=840.1399999999999, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312376.826333806, disengageable_smarthome_power=0))
2024-01-28 14:40:03,284 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:40:03,286 - {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-28 14:40:03,288 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:40:03,290 - {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-28 14:40:03,293 - {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-28 14:40:03,295 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:03,298 - {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=77, soc_timestamp=1706449189.312624, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:03,300 - {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-28 14:40:03,306 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:40:03,307 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:03,309 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:03,316 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb5be0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:40:03,317 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:40:03,318 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:40:03,320 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cb4a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:40:03,322 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301380.307, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:40:03,323 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005462.78, fault_state=0, fault_str='Kein Fehler.', power=-2923.7))
2024-01-28 14:40:03,324 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306843.087, power=-3028.7))
2024-01-28 14:40:03,333 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449191, 'time': '14:39:51', 'grid': -0.007, 'house-power': 0.871, 'charging-all': 1.447, 'pv-all': 3.012, 'cp1-power': 1.447, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.687, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:40:03,334 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:40:03,335 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:40:03,335 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:03,336 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:03,336 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:40:03,337 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:40:03,337 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:40:03,337 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:40:03,338 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:40:03,338 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:03,339 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -24.0W
2024-01-28 14:40:03,339 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.11A, Überschuss: 24.0W, benötigte neue Leistung: 3220W
2024-01-28 14:40:03,340 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -24.0W
2024-01-28 14:40:03,340 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -24.0W
2024-01-28 14:40:03,341 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -24.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:40:03,341 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:40:03,343 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:40:03,345 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.41, 36.6]A verbleibende Ströme, 24109.56W verbleibende Leistung
2024-01-28 14:40:03,346 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:40:03,348 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:40:03,350 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:40:03,351 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 9.56000000000131W
2024-01-28 14:40:03,352 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 9.56000000000131W
2024-01-28 14:40:03,353 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:40:03,355 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:40:03,356 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:40:03,356 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 9.56000000000131W korrigieren: [0.0, 26.0, 0.0]
2024-01-28 14:40:03,357 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.36843478260869, 36.6]A verbleibende Ströme, 7.993605777301127e-14W verbleibender Überschuss
2024-01-28 14:40:03,357 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6.04156521739131A
2024-01-28 14:40:03,359 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:40:03,361 - {control.process:111} - {INFO:MainThread} - LP1: set current 6.04 A, state CHARGING_ALLOWED
2024-01-28 14:40:03,363 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:03,410 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:40:03,679 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:40:03,681 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:40:05,695 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:05,696 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:10,708 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:10,709 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:10,709 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:40:10,710 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:40:10,758 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:40:10,785 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:10,806 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:10,812 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:10,829 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:40:10,860 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5, 319, -603, 278], Scale 0
2024-01-28 14:40:10,886 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:40:10,889 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.5, "voltage":239.8, "current":0.444, "aenergy":{"total":9439.841,"by_minute":[293.353,1765.812,1778.628],"minute_ts":1706449209},"temperature":{"tC":40.6, "tF":105.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:40","unixtime":1706449211,"uptime":5808605,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:40:10,893 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:40:10,907 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449202.2539654, power=-105, imported=0.0, exported=301380.30658511055)
2024-01-28 14:40:10,909 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00240368, power1: -105, power2: -105
2024-01-28 14:40:10,910 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.252386
2024-01-28 14:40:10,915 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.252386 Wh, new state: SimCounterState(timestamp=1706449210.907211, power=-105, imported=0.0, exported=301380.5589714431)
2024-01-28 14:40:10,917 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.5589714431, dc_power=None)
2024-01-28 14:40:10,931 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23952, 23963, 23830, 0, 0, 0, 0], Scale -2
2024-01-28 14:40:10,947 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4993], Scale -2
2024-01-28 14:40:10,992 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6719, 8840, -7500], Scale -2
2024-01-28 14:40:11,031 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798643, 2184843, 1457580, 8628773, 3551345, 2508547, 3137030], Scale 0
2024-01-28 14:40:11,033 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-319.0, 603.0, -278.0], voltages=[239.52, 239.63, 238.3], power_factors=[-0.6718999999999999, 0.884, -0.75], imported=8628773.0, exported=4872917.0, power=5.0, frequency=49.93)
2024-01-28 14:40:11,036 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:11,069 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21785], Scale -1
2024-01-28 14:40:11,121 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963420], Scale 0
2024-01-28 14:40:11,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [305, 308, 304], Scale -2
2024-01-28 14:40:11,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22117], Scale -1
2024-01-28 14:40:11,171 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0500000000000003, 3.08, 3.04]
2024-01-28 14:40:11,171 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0500000000000003, 3.08, 3.04], power=-2178.5, exported=7963420.0, dc_power=-2211.7000000000003)
2024-01-28 14:40:11,172 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:11,278 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449202.6076853, power=699.0, imported=174201.47971444775, exported=132153.6990891164)
2024-01-28 14:40:11,278 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00240842, power1: 699, power2: 704
2024-01-28 14:40:11,279 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.68951
2024-01-28 14:40:11,279 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.68951 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449211.2780113, power=704.0, imported=174203.16922380473, exported=132153.6990891164)
2024-01-28 14:40:11,281 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174203.16922380473, exported=132153.6990891164, power=704.0, soc=11.0)
2024-01-28 14:40:11,285 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:11,289 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174203.16922380473, exported=132153.6990891164, power=704.0, soc=11.0)
2024-01-28 14:40:11,340 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:11,341 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:11,342 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:11,342 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2882.5, exported=8005469.47, dc_power=None)
2024-01-28 14:40:11,343 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.5589714431, dc_power=None)
2024-01-28 14:40:11,344 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2882.5, exported=8005469.47, dc_power=None)
2024-01-28 14:40:11,345 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.5589714431, dc_power=None)
2024-01-28 14:40:11,393 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:11,394 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-319.0, 603.0, -278.0], voltages=[239.52, 239.63, 238.3], power_factors=[-0.6718999999999999, 0.884, -0.75], imported=8628773.0, exported=4872917.0, power=5.0, frequency=49.93)
2024-01-28 14:40:11,507 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:11,508 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:40:11,508 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c2400>
2024-01-28 14:40:11,515 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:11,517 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c2400>
2024-01-28 14:40:11,537 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174203.17, vorherige Payload: 174201.48
2024-01-28 14:40:11,538 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 704.0, vorherige Payload: 699.0
2024-01-28 14:40:11,540 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:40:11,541 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:40:11,674 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:40:11,676 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.29, 36.5]A
2024-01-28 14:40:11,677 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25438.94W
2024-01-28 14:40:11,678 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:40:11,687 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:11,689 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:40:11,692 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:40:11.691534
2024-01-28 14:40:11,693 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136497.625236s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:40:11,697 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:40:11.697250
2024-01-28 14:40:11,703 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:40:11.697250
2024-01-28 14:40:11,710 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53339.855545s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:40:11,715 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:40:11.715507
2024-01-28 14:40:11,718 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128716.234804s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:40:11,719 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:40:11.718810
2024-01-28 14:40:11,719 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:40:11.718810
2024-01-28 14:40:11,720 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52042.939575s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:40:11,720 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:40:11,740 - {control.chargepoint.chargepoint:667} - {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: 6.09
2024-01-28 14:40:11,741 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:40:11,762 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449203.2489393, power=840.1399999999999, imported=4312376.826333806, exported=0)
2024-01-28 14:40:11,763 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00236484, power1: 840.14, power2: 844.56
2024-01-28 14:40:11,769 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.99203
2024-01-28 14:40:11,770 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.99203 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449211.7623742, power=844.56, imported=4312378.8183593275, exported=0)
2024-01-28 14:40:11,784 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174203.17, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=704.0))
2024-01-28 14:40:11,785 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174203.17, exported=132153.7, power=704.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:40:11,787 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1443.94, imported=7628290.04, exported=0))
2024-01-28 14:40:11,788 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.09, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=604, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628290.04, phases_in_use=1, plug_state=True, power=1443.94, 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.88, 238.61, 239.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6.04, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=139.160000000149, imported_since_plugged=139.160000000149, range_charged=0.695800000000745, time_charged='0:04', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e3598>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:40:11,789 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:40:11,790 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:40:11,792 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-319.0, 603.0, -278.0], currents=[-2.0, 2.8, -1.5], voltages=[239.52, 239.63, 238.3], power_factors=[-0.67, 0.88, -0.75], unbalanced_load=0, frequency=49.93, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=5.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25438.94, raw_currents_left=[37.03, 38.29, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:40:11,793 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=844.56, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312378.8183593275, disengageable_smarthome_power=0))
2024-01-28 14:40:11,796 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:40:11,798 - {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-28 14:40:11,800 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:40:11,801 - {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-28 14:40:11,805 - {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-28 14:40:11,808 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:11,811 - {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=77, soc_timestamp=1706449189.312624, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:11,813 - {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-28 14:40:11,814 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:40:11,824 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:11,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=2, keep_charge_active_duration=40)
2024-01-28 14:40:11,826 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed99ee0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:40:11,828 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:40:11,834 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:40:11,834 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8b940>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:40:11,835 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301380.559, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:40:11,836 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005469.47, fault_state=0, fault_str='Kein Fehler.', power=-2882.5))
2024-01-28 14:40:11,836 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306850.029, power=-2987.5))
2024-01-28 14:40:11,837 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449203, 'time': '14:40:03', 'grid': -0.024, 'house-power': 0.84, 'charging-all': 1.466, 'pv-all': 3.029, 'cp1-power': 1.466, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.699, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:40:11,838 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:40:11,838 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:40:11,839 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:11,840 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:11,840 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:40:11,841 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:40:11,841 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:40:11,842 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:40:11,843 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:40:11,843 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:11,844 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5.0W
2024-01-28 14:40:11,845 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.09A, Überschuss: -5.0W, benötigte neue Leistung: 3220W
2024-01-28 14:40:11,846 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5.0W
2024-01-28 14:40:11,847 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5.0W
2024-01-28 14:40:11,848 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 5.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:40:11,853 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:40:11,856 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:40:11,857 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.29, 36.5]A verbleibende Ströme, 24058.94W verbleibende Leistung
2024-01-28 14:40:11,858 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:40:11,859 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:40:11,862 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:40:11,863 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -41.06000000000131W
2024-01-28 14:40:11,863 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -41.06000000000131W
2024-01-28 14:40:11,863 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:40:11,864 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:40:11,876 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:40:11,885 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:11,907 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:40:12,169 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:40:12,170 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:40:15,188 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:20,206 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:20,207 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:20,207 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:40:20,208 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:40:20,266 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:40:20,268 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:20,275 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:20,278 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:40:20,284 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:20,328 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:40:20,331 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.5, "voltage":239.7, "current":0.444, "aenergy":{"total":9440.134,"by_minute":[586.706,1765.812,1778.628],"minute_ts":1706449219},"temperature":{"tC":40.7, "tF":105.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:40","unixtime":1706449220,"uptime":5808615,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:40:20,333 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449210.907211, power=-105, imported=0.0, exported=301380.5589714431)
2024-01-28 14:40:20,334 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261834, power1: -105, power2: -105
2024-01-28 14:40:20,335 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.274925
2024-01-28 14:40:20,336 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.274925 Wh, new state: SimCounterState(timestamp=1706449220.3332238, power=-105, imported=0.0, exported=301380.8338968151)
2024-01-28 14:40:20,338 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [15, 319, -591, 288], Scale 0
2024-01-28 14:40:20,339 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.8338968151, dc_power=None)
2024-01-28 14:40:20,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:40:20,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23938, 23948, 23815, 0, 0, 0, 0], Scale -2
2024-01-28 14:40:20,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:40:20,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6489, 8849, -7649], Scale -2
2024-01-28 14:40:20,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798644, 2184843, 1457581, 8628773, 3551345, 2508548, 3137030], Scale 0
2024-01-28 14:40:20,479 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-319.0, 591.0, -288.0], voltages=[239.38, 239.48000000000002, 238.15], power_factors=[-0.6489, 0.8848999999999999, -0.7648999999999999], imported=8628773.0, exported=4872917.0, power=-15.0, frequency=49.95)
2024-01-28 14:40:20,485 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:20,528 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21975], Scale -1
2024-01-28 14:40:20,547 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963426], Scale 0
2024-01-28 14:40:20,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [309, 308, 306], Scale -2
2024-01-28 14:40:20,596 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22309], Scale -1
2024-01-28 14:40:20,597 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.09, 3.08, 3.06]
2024-01-28 14:40:20,597 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.09, 3.08, 3.06], power=-2197.5, exported=7963426.0, dc_power=-2230.9)
2024-01-28 14:40:20,608 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:20,717 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449211.2780113, power=704.0, imported=174203.16922380473, exported=132153.6990891164)
2024-01-28 14:40:20,718 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262211, power1: 704, power2: 682
2024-01-28 14:40:20,718 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.81712
2024-01-28 14:40:20,719 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.81712 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449220.717595, power=682.0, imported=174204.98634368207, exported=132153.6990891164)
2024-01-28 14:40:20,719 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174204.98634368207, exported=132153.6990891164, power=682.0, soc=11.0)
2024-01-28 14:40:20,735 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:20,738 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174204.98634368207, exported=132153.6990891164, power=682.0, soc=11.0)
2024-01-28 14:40:20,774 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:20,781 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:20,781 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:20,782 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2879.5, exported=8005477.29, dc_power=None)
2024-01-28 14:40:20,783 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.8338968151, dc_power=None)
2024-01-28 14:40:20,783 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2879.5, exported=8005477.29, dc_power=None)
2024-01-28 14:40:20,784 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301380.8338968151, dc_power=None)
2024-01-28 14:40:20,827 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:20,828 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-319.0, 591.0, -288.0], voltages=[239.38, 239.48000000000002, 238.15], power_factors=[-0.6489, 0.8848999999999999, -0.7648999999999999], imported=8628773.0, exported=4872917.0, power=-15.0, frequency=49.95)
2024-01-28 14:40:20,886 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:20,887 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:40:20,887 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c2580>
2024-01-28 14:40:20,892 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:20,897 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c2580>
2024-01-28 14:40:20,914 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174204.99, vorherige Payload: 174203.17
2024-01-28 14:40:20,916 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 682.0, vorherige Payload: 704.0
2024-01-28 14:40:20,918 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:40:20,919 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:40:21,042 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:40:21,050 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.32, 36.5]A
2024-01-28 14:40:21,051 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25471.57W
2024-01-28 14:40:21,058 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:40:21,079 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:21,086 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:40:21,090 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:40:21.089765
2024-01-28 14:40:21,096 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136488.227005s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:40:21,099 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:40:21.099279
2024-01-28 14:40:21,101 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:40:21.099279
2024-01-28 14:40:21,102 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53330.453516s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:40:21,103 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:40:21.103291
2024-01-28 14:40:21,104 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128706.84702s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:40:21,106 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:40:21.105683
2024-01-28 14:40:21,107 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:40:21.105683
2024-01-28 14:40:21,111 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52033.552702s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:40:21,112 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:40:21,119 - {control.chargepoint.chargepoint:667} - {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: 6.12
2024-01-28 14:40:21,128 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:40:21,154 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449211.7623742, power=844.56, imported=4312378.8183593275, exported=0)
2024-01-28 14:40:21,155 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260879, power1: 844.56, power2: 830.93
2024-01-28 14:40:21,156 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.1855
2024-01-28 14:40:21,157 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.1855 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449221.154035, power=830.9300000000001, imported=4312381.003864045, exported=0)
2024-01-28 14:40:21,162 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174204.99, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=682.0))
2024-01-28 14:40:21,165 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174204.99, exported=132153.7, power=682.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:40:21,167 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1456.57, imported=7628292.97, exported=0))
2024-01-28 14:40:21,170 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.12, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628292.97, phases_in_use=1, plug_state=True, power=1456.57, 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.84, 238.7, 239.88]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=142.089999999851, imported_since_plugged=142.089999999851, range_charged=0.710449999999255, time_charged='0:04', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fdce8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:40:21,173 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:40:21,179 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:40:21,180 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-319.0, 591.0, -288.0], currents=[-2.0, 2.8, -1.5], voltages=[239.38, 239.48, 238.15], power_factors=[-0.65, 0.88, -0.76], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-15.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25471.57, raw_currents_left=[37.03, 38.32, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:40:21,182 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=830.9300000000001, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312381.003864045, disengageable_smarthome_power=0))
2024-01-28 14:40:21,183 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:40:21,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-28 14:40:21,190 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:40:21,191 - {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-28 14:40:21,192 - {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-28 14:40:21,193 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:21,198 - {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=77, soc_timestamp=1706449189.312624, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:21,199 - {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-28 14:40:21,199 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:40:21,200 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:21,200 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:21,201 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed8ae50>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:40:21,202 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:40:21,202 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:40:21,202 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cb6a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:40:21,203 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301380.834, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:40:21,203 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005477.29, fault_state=0, fault_str='Kein Fehler.', power=-2879.5))
2024-01-28 14:40:21,204 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306858.124, power=-2984.5))
2024-01-28 14:40:21,204 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449211, 'time': '14:40:11', 'grid': 0.005, 'house-power': 0.845, 'charging-all': 1.444, 'pv-all': 2.987, 'cp1-power': 1.444, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.704, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:40:21,206 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:40:21,208 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:40:21,209 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:21,214 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:21,216 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:40:21,217 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:40:21,223 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:40:21,228 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:40:21,246 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:40:21,253 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:21,255 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -15.0W
2024-01-28 14:40:21,256 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.12A, Überschuss: 15.0W, benötigte neue Leistung: 3220W
2024-01-28 14:40:21,257 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -15.0W
2024-01-28 14:40:21,265 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -15.0W
2024-01-28 14:40:21,267 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -15.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:40:21,267 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:40:21,270 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:40:21,273 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.32, 36.5]A verbleibende Ströme, 24091.57W verbleibende Leistung
2024-01-28 14:40:21,275 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:40:21,278 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:40:21,280 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:40:21,284 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.430000000000291W
2024-01-28 14:40:21,288 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -8.430000000000291W
2024-01-28 14:40:21,290 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:40:21,292 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:40:21,296 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:40:21,305 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:21,323 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:40:25,711 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:25,712 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:30,725 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:30,728 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:40:30,729 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:40:30,829 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:40:30,830 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:30,838 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:40:30,840 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:30,841 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:30,884 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:40:30,887 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.4, "voltage":239.7, "current":0.444, "aenergy":{"total":9440.427,"by_minute":[879.584,1765.812,1778.628],"minute_ts":1706449229},"temperature":{"tC":40.6, "tF":105.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:40","unixtime":1706449231,"uptime":5808625,"ram_size":248992,"ram_free":144944,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:40:30,889 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449220.3332238, power=-105, imported=0.0, exported=301380.8338968151)
2024-01-28 14:40:30,890 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293227, power1: -105, power2: -105
2024-01-28 14:40:30,890 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.307888
2024-01-28 14:40:30,891 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.307888 Wh, new state: SimCounterState(timestamp=1706449230.889396, power=-105, imported=0.0, exported=301381.14178516896)
2024-01-28 14:40:30,892 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.14178516896, dc_power=None)
2024-01-28 14:40:30,902 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8, 326, -599, 281], Scale 0
2024-01-28 14:40:30,918 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 27, 15], Scale -1
2024-01-28 14:40:30,957 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23940, 23929, 23833, 0, 0, 0, 0], Scale -2
2024-01-28 14:40:31,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:40:31,026 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6470, 8920, -7500], Scale -2
2024-01-28 14:40:31,048 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798645, 2184843, 1457582, 8628773, 3551345, 2508551, 3137030], Scale 0
2024-01-28 14:40:31,048 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.7, -1.5], powers=[-326.0, 599.0, -281.0], voltages=[239.4, 239.29, 238.33], power_factors=[-0.647, 0.892, -0.75], imported=8628773.0, exported=4872917.0, power=-8.0, frequency=49.95)
2024-01-28 14:40:31,050 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:31,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21804], Scale -1
2024-01-28 14:40:31,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963433], Scale 0
2024-01-28 14:40:31,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [305, 308, 303], Scale -2
2024-01-28 14:40:31,281 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22136], Scale -1
2024-01-28 14:40:31,283 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0500000000000003, 3.08, 3.0300000000000002]
2024-01-28 14:40:31,283 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0500000000000003, 3.08, 3.0300000000000002], power=-2180.4, exported=7963433.0, dc_power=-2213.6)
2024-01-28 14:40:31,287 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:31,361 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449220.717595, power=682.0, imported=174204.98634368207, exported=132153.6990891164)
2024-01-28 14:40:31,363 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00295662, power1: 682, power2: 702
2024-01-28 14:40:31,363 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.04598
2024-01-28 14:40:31,366 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.04598 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449231.3614383, power=702.0, imported=174207.03232686996, exported=132153.6990891164)
2024-01-28 14:40:31,367 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174207.03232686996, exported=132153.6990891164, power=702.0, soc=11.0)
2024-01-28 14:40:31,371 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:31,373 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174207.03232686996, exported=132153.6990891164, power=702.0, soc=11.0)
2024-01-28 14:40:31,473 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:31,474 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:31,475 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2882.4, exported=8005486.33, dc_power=None)
2024-01-28 14:40:31,476 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2882.4, exported=8005486.33, dc_power=None)
2024-01-28 14:40:31,478 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:31,479 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.14178516896, dc_power=None)
2024-01-28 14:40:31,480 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.14178516896, dc_power=None)
2024-01-28 14:40:31,519 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:31,520 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.7, -1.5], powers=[-326.0, 599.0, -281.0], voltages=[239.4, 239.29, 238.33], power_factors=[-0.647, 0.892, -0.75], imported=8628773.0, exported=4872917.0, power=-8.0, frequency=49.95)
2024-01-28 14:40:31,578 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:31,579 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:40:31,579 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edbe598>
2024-01-28 14:40:31,583 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:31,586 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edbe598>
2024-01-28 14:40:31,605 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174207.03, vorherige Payload: 174204.99
2024-01-28 14:40:31,607 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 702.0, vorherige Payload: 682.0
2024-01-28 14:40:31,724 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:40:31,727 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.37, 36.47]A
2024-01-28 14:40:31,728 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25445.98W
2024-01-28 14:40:31,729 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:40:31,730 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:31,731 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:40:31,733 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:40:31.732851
2024-01-28 14:40:31,735 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136477.583919s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:40:31,737 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:40:31.737585
2024-01-28 14:40:31,739 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:40:31.737585
2024-01-28 14:40:31,741 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53319.81521s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:40:31,744 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:40:31.743440
2024-01-28 14:40:31,745 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128696.206871s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:40:31,747 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:40:31.746979
2024-01-28 14:40:31,750 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:40:31.746979
2024-01-28 14:40:31,751 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52022.911406s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:40:31,752 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:40:31,759 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:40:31,763 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:40:31,769 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449221.154035, power=830.9300000000001, imported=4312381.003864045, exported=0)
2024-01-28 14:40:31,770 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294862, power1: 830.93, power2: 839.42
2024-01-28 14:40:31,770 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.46261
2024-01-28 14:40:31,771 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.46261 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449231.7690537, power=839.4200000000001, imported=4312383.466474647, exported=0)
2024-01-28 14:40:31,773 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174207.03, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=702.0))
2024-01-28 14:40:31,774 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174207.03, exported=132153.7, power=702.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:40:31,775 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1437.98, imported=7628297.85, exported=0))
2024-01-28 14:40:31,776 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.03, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628297.85, phases_in_use=1, plug_state=True, power=1437.98, 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, 238.73, 239.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=145.01999999955297, imported_since_plugged=145.01999999955297, range_charged=0.7250999999977649, time_charged='0:05', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edac6b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:40:31,778 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:40:31,779 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:40:31,780 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-326.0, 599.0, -281.0], currents=[-2.0, 2.7, -1.5], voltages=[239.4, 239.29, 238.33], power_factors=[-0.65, 0.89, -0.75], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-8.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25445.98, raw_currents_left=[37.03, 38.37, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:40:31,781 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=839.4200000000001, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312383.466474647, disengageable_smarthome_power=0))
2024-01-28 14:40:31,782 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:40:31,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-28 14:40:31,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:40:31,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-28 14:40:31,788 - {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-28 14:40:31,789 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:31,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=77, soc_timestamp=1706449189.312624, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:31,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-28 14:40:31,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-28 14:40:31,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-28 14:40:31,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=2, keep_charge_active_duration=40)
2024-01-28 14:40:31,806 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cb538>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:40:31,807 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:40:31,809 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:40:31,810 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cbf70>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:40:31,813 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301381.142, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:40:31,814 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005486.33, fault_state=0, fault_str='Kein Fehler.', power=-2882.4))
2024-01-28 14:40:31,816 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306867.472, power=-2987.4))
2024-01-28 14:40:31,818 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449221, 'time': '14:40:21', 'grid': -0.015, 'house-power': 0.831, 'charging-all': 1.457, 'pv-all': 2.985, 'cp1-power': 1.457, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.682, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:40:31,819 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:40:31,821 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:40:31,823 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:31,824 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:31,829 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:40:31,830 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:40:31,831 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:40:31,833 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:40:31,835 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:40:31,842 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:31,843 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:40:31,844 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 8.0W, benötigte neue Leistung: 3220W
2024-01-28 14:40:31,844 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:40:31,848 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:40:31,849 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -8.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:40:31,852 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:40:31,856 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:40:31,858 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.37, 36.47]A verbleibende Ströme, 24065.98W verbleibende Leistung
2024-01-28 14:40:31,865 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:40:31,869 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:40:31,874 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:40:31,875 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -34.02000000000044W
2024-01-28 14:40:31,877 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -34.02000000000044W
2024-01-28 14:40:31,878 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:40:31,880 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:40:31,901 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:40:31,908 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:31,942 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:40:35,248 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:35,250 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:40,268 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:40,269 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:40,269 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:40:40,270 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:40:40,315 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:40:40,320 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:40,327 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:40:40,334 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:40,339 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:40,367 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6, 348, -622, 267], Scale 0
2024-01-28 14:40:40,385 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:40:40,387 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.4, "voltage":239.8, "current":0.444, "aenergy":{"total":9440.720,"by_minute":[1172.462,1765.812,1778.628],"minute_ts":1706449239},"temperature":{"tC":40.7, "tF":105.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:40","unixtime":1706449240,"uptime":5808635,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:40:40,389 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:40:40,391 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449230.889396, power=-105, imported=0.0, exported=301381.14178516896)
2024-01-28 14:40:40,392 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263946, power1: -105, power2: -105
2024-01-28 14:40:40,393 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.277143
2024-01-28 14:40:40,393 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.277143 Wh, new state: SimCounterState(timestamp=1706449240.3914506, power=-105, imported=0.0, exported=301381.41892843076)
2024-01-28 14:40:40,395 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.41892843076, dc_power=None)
2024-01-28 14:40:40,409 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23946, 23947, 23834, 0, 0, 0, 0], Scale -2
2024-01-28 14:40:40,426 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:40:40,467 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7379, 8920, -7519], Scale -2
2024-01-28 14:40:40,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798646, 2184843, 1457583, 8628773, 3551345, 2508552, 3137030], Scale 0
2024-01-28 14:40:40,501 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-348.0, 622.0, -267.0], voltages=[239.46, 239.47, 238.34], power_factors=[-0.7379000000000001, 0.892, -0.7519], imported=8628773.0, exported=4872917.0, power=6.0, frequency=49.95)
2024-01-28 14:40:40,505 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:40,537 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21586], Scale -1
2024-01-28 14:40:40,628 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963439], Scale 0
2024-01-28 14:40:40,657 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [302, 304, 301], Scale -2
2024-01-28 14:40:40,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21884], Scale -1
2024-01-28 14:40:40,678 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.02, 3.04, 3.0100000000000002]
2024-01-28 14:40:40,678 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.02, 3.04, 3.0100000000000002], power=-2158.6, exported=7963439.0, dc_power=-2188.4)
2024-01-28 14:40:40,683 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:40,750 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449231.3614383, power=702.0, imported=174207.03232686996, exported=132153.6990891164)
2024-01-28 14:40:40,751 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260791, power1: 702, power2: 740
2024-01-28 14:40:40,751 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.8803
2024-01-28 14:40:40,752 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.8803 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449240.7499025, power=740.0, imported=174208.91262761917, exported=132153.6990891164)
2024-01-28 14:40:40,773 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174208.91262761917, exported=132153.6990891164, power=740.0, soc=11.0)
2024-01-28 14:40:40,805 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:40,807 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174208.91262761917, exported=132153.6990891164, power=740.0, soc=11.0)
2024-01-28 14:40:40,871 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:40,873 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:40,878 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:40,879 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2898.6, exported=8005494.21, dc_power=None)
2024-01-28 14:40:40,880 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.41892843076, dc_power=None)
2024-01-28 14:40:40,882 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2898.6, exported=8005494.21, dc_power=None)
2024-01-28 14:40:40,883 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.41892843076, dc_power=None)
2024-01-28 14:40:40,954 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:40,955 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-348.0, 622.0, -267.0], voltages=[239.46, 239.47, 238.34], power_factors=[-0.7379000000000001, 0.892, -0.7519], imported=8628773.0, exported=4872917.0, power=6.0, frequency=49.95)
2024-01-28 14:40:41,051 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:41,052 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:40:41,052 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d51d8>
2024-01-28 14:40:41,057 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:41,058 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d51d8>
2024-01-28 14:40:41,082 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174208.91, vorherige Payload: 174207.03
2024-01-28 14:40:41,083 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 740.0, vorherige Payload: 702.0
2024-01-28 14:40:41,203 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:40:41,207 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.3, 36.5]A
2024-01-28 14:40:41,212 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25438.82W
2024-01-28 14:40:41,216 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:40:41,224 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:41,224 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:40:41,226 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:40:41.225814
2024-01-28 14:40:41,228 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136468.090956s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:40:41,229 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:40:41.229244
2024-01-28 14:40:41,230 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:40:41.229244
2024-01-28 14:40:41,231 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53310.323551s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:40:41,233 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:40:41.232546
2024-01-28 14:40:41,233 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128686.717765s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:40:41,235 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:40:41.234695
2024-01-28 14:40:41,235 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:40:41.234695
2024-01-28 14:40:41,237 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52013.42369s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:40:41,238 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:40:41,257 - {control.chargepoint.chargepoint:667} - {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: 6.1
2024-01-28 14:40:41,262 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:40:41,275 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449231.7690537, power=839.4200000000001, imported=4312383.466474647, exported=0)
2024-01-28 14:40:41,275 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264054, power1: 839.42, power2: 824.78
2024-01-28 14:40:41,277 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.19719
2024-01-28 14:40:41,278 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.19719 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449241.274994, power=824.78, imported=4312385.663667102, exported=0)
2024-01-28 14:40:41,280 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174208.91, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=740.0))
2024-01-28 14:40:41,282 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174208.91, exported=132153.7, power=740.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:40:41,283 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1444.82, imported=7628300.78, exported=0))
2024-01-28 14:40:41,285 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.1, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628300.78, phases_in_use=1, plug_state=True, power=1444.82, 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.9, 238.84, 239.98]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=149.8999999994412, imported_since_plugged=149.8999999994412, range_charged=0.7494999999972061, time_charged='0:05', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701643b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:40:41,286 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:40:41,296 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:40:41,298 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-348.0, 622.0, -267.0], currents=[-2.0, 2.8, -1.5], voltages=[239.46, 239.47, 238.34], power_factors=[-0.74, 0.89, -0.75], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=6.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25438.82, raw_currents_left=[37.03, 38.3, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:40:41,305 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=824.78, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312385.663667102, disengageable_smarthome_power=0))
2024-01-28 14:40:41,306 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:40:41,308 - {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-28 14:40:41,310 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:40:41,311 - {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-28 14:40:41,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-28 14:40:41,316 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:41,317 - {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=77, soc_timestamp=1706449189.312624, force_soc_update=False, range=211, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:41,318 - {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-28 14:40:41,319 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:40:41,322 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:41,324 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:41,327 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c0628>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:40:41,332 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:40:41,334 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:40:41,335 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7e2e50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:40:41,339 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301381.419, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:40:41,345 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005494.21, fault_state=0, fault_str='Kein Fehler.', power=-2898.6))
2024-01-28 14:40:41,361 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306875.629, power=-3003.6))
2024-01-28 14:40:41,363 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449231, 'time': '14:40:31', 'grid': -0.008, 'house-power': 0.839, 'charging-all': 1.438, 'pv-all': 2.987, 'cp1-power': 1.438, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.702, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:40:41,364 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:40:41,365 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:40:41,366 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:41,367 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:41,369 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:40:41,370 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:40:41,371 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:40:41,372 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:40:41,382 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:40:41,383 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:41,384 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6.0W
2024-01-28 14:40:41,385 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.1A, Überschuss: -6.0W, benötigte neue Leistung: 3220W
2024-01-28 14:40:41,386 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6.0W
2024-01-28 14:40:41,387 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6.0W
2024-01-28 14:40:41,388 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 6.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:40:41,389 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:40:41,392 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:40:41,395 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.3, 36.5]A verbleibende Ströme, 24058.82W verbleibende Leistung
2024-01-28 14:40:41,406 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:40:41,412 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:40:41,415 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:40:41,419 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -41.18000000000029W
2024-01-28 14:40:41,428 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -41.18000000000029W
2024-01-28 14:40:41,435 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:40:41,439 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:40:41,442 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:40:41,445 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:41,470 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:40:45,906 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:50,919 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:50,921 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:40:50,921 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:40:50,922 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:40:50,976 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:40:50,977 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:50,984 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:40:50,986 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:50,987 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:51,028 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:40:51,030 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.4, "voltage":239.7, "current":0.443, "aenergy":{"total":9441.042,"by_minute":[1494.770,1765.812,1778.628],"minute_ts":1706449250},"temperature":{"tC":40.8, "tF":105.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:40","unixtime":1706449251,"uptime":5808645,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:40:51,032 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7, 350, -615, 272], Scale 0
2024-01-28 14:40:51,034 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449240.3914506, power=-105, imported=0.0, exported=301381.41892843076)
2024-01-28 14:40:51,036 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00295648, power1: -105, power2: -105
2024-01-28 14:40:51,036 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.310431
2024-01-28 14:40:51,038 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.310431 Wh, new state: SimCounterState(timestamp=1706449251.0347927, power=-105, imported=0.0, exported=301381.72935923963)
2024-01-28 14:40:51,040 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.72935923963, dc_power=None)
2024-01-28 14:40:51,063 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:40:51,088 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23955, 23952, 23833, 0, 0, 0, 0], Scale -2
2024-01-28 14:40:51,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:40:51,189 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7139, 8930, -7360], Scale -2
2024-01-28 14:40:51,218 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798647, 2184843, 1457584, 8628773, 3551345, 2508554, 3137030], Scale 0
2024-01-28 14:40:51,219 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-350.0, 615.0, -272.0], voltages=[239.55, 239.52, 238.33], power_factors=[-0.7139, 0.893, -0.7360000000000001], imported=8628773.0, exported=4872917.0, power=-7.0, frequency=49.95)
2024-01-28 14:40:51,220 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:51,236 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21656], Scale -1
2024-01-28 14:40:51,260 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963445], Scale 0
2024-01-28 14:40:51,364 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 305, 302], Scale -2
2024-01-28 14:40:51,388 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21986], Scale -1
2024-01-28 14:40:51,390 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.0500000000000003, 3.02]
2024-01-28 14:40:51,392 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.0500000000000003, 3.02], power=-2165.6, exported=7963445.0, dc_power=-2198.6)
2024-01-28 14:40:51,395 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:51,440 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449240.7499025, power=740.0, imported=174208.91262761917, exported=132153.6990891164)
2024-01-28 14:40:51,441 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00296954, power1: 740, power2: 741
2024-01-28 14:40:51,443 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.19894
2024-01-28 14:40:51,444 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.19894 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449251.4402409, power=741.0, imported=174211.11157083177, exported=132153.6990891164)
2024-01-28 14:40:51,446 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174211.11157083177, exported=132153.6990891164, power=741.0, soc=11.0)
2024-01-28 14:40:51,451 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:40:51,456 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174211.11157083177, exported=132153.6990891164, power=741.0, soc=11.0)
2024-01-28 14:40:51,566 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:51,568 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:40:51,569 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2906.6, exported=8005502.41, dc_power=None)
2024-01-28 14:40:51,570 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:40:51,570 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2906.6, exported=8005502.41, dc_power=None)
2024-01-28 14:40:51,572 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.72935923963, dc_power=None)
2024-01-28 14:40:51,577 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301381.72935923963, dc_power=None)
2024-01-28 14:40:51,620 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:40:51,621 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-350.0, 615.0, -272.0], voltages=[239.55, 239.52, 238.33], power_factors=[-0.7139, 0.893, -0.7360000000000001], imported=8628773.0, exported=4872917.0, power=-7.0, frequency=49.95)
2024-01-28 14:40:51,692 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:51,693 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:40:51,694 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e9040>
2024-01-28 14:40:51,697 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:40:51,699 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e9040>
2024-01-28 14:40:51,721 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174211.11, vorherige Payload: 174208.91
2024-01-28 14:40:51,723 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 741.0, vorherige Payload: 740.0
2024-01-28 14:40:51,865 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:40:51,867 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:40:51,869 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25451.21W
2024-01-28 14:40:51,873 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:40:51,882 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:51,883 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:40:51,886 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:40:51.886159
2024-01-28 14:40:51,888 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136457.430611s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:40:51,889 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:40:51.888934
2024-01-28 14:40:51,894 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:40:51.888934
2024-01-28 14:40:51,895 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53299.663861s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:40:51,899 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:40:51.899179
2024-01-28 14:40:51,901 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128676.051132s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:40:51,905 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:40:51.904834
2024-01-28 14:40:51,906 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:40:51.904834
2024-01-28 14:40:51,907 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52002.753551s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:40:51,910 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:40:51,917 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:40:51,928 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:40:51,960 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449241.274994, power=824.78, imported=4312385.663667102, exported=0)
2024-01-28 14:40:51,961 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00296815, power1: 824.78, power2: 819.39
2024-01-28 14:40:51,965 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.44007
2024-01-28 14:40:51,966 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.44007 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449251.9603405, power=819.3899999999999, imported=4312388.103740203, exported=0)
2024-01-28 14:40:51,974 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174211.11, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=741.0))
2024-01-28 14:40:51,982 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174211.11, exported=132153.7, power=741.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:40:51,983 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1444.21, imported=7628306.15, exported=0))
2024-01-28 14:40:51,985 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628306.15, phases_in_use=1, plug_state=True, power=1444.21, 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.82, 238.8, 239.96]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=152.8300000000745, imported_since_plugged=152.8300000000745, range_charged=0.7641500000003725, time_charged='0:05', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c6d48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:40:51,989 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:40:51,991 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:40:51,992 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-350.0, 615.0, -272.0], currents=[-2.0, 2.8, -1.5], voltages=[239.55, 239.52, 238.33], power_factors=[-0.71, 0.89, -0.74], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-7.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25451.21, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:40:51,993 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=819.3899999999999, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312388.103740203, disengageable_smarthome_power=0))
2024-01-28 14:40:51,995 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:40:51,996 - {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-28 14:40:51,998 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:40:51,999 - {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-28 14:40:52,001 - {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-28 14:40:52,002 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:52,003 - {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=77, soc_timestamp=1706449250.363028, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:40:52,005 - {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-28 14:40:52,008 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:40:52,010 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:52,011 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:40:52,013 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c25f8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:40:52,017 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:40:52,018 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:40:52,019 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7fbeb0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:40:52,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=438.0, monthly_exported=0, yearly_exported=0, exported=301381.729, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:40:52,021 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005502.41, fault_state=0, fault_str='Kein Fehler.', power=-2906.6))
2024-01-28 14:40:52,022 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306884.139, power=-3011.6))
2024-01-28 14:40:52,023 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449241, 'time': '14:40:41', 'grid': 0.006, 'house-power': 0.825, 'charging-all': 1.445, 'pv-all': 3.004, 'cp1-power': 1.445, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.74, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:40:52,023 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:40:52,023 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:40:52,024 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:52,024 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:40:52,025 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:40:52,025 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:40:52,025 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:40:52,026 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:40:52,026 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:40:52,027 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:40:52,027 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:40:52,028 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 7.0W, benötigte neue Leistung: 3220W
2024-01-28 14:40:52,028 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:40:52,029 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -7.0W
2024-01-28 14:40:52,029 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -7.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:40:52,029 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:40:52,031 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:40:52,032 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.5]A verbleibende Ströme, 24071.21W verbleibende Leistung
2024-01-28 14:40:52,033 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:40:52,034 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:40:52,036 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:40:52,037 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -28.790000000000873W
2024-01-28 14:40:52,037 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -28.790000000000873W
2024-01-28 14:40:52,037 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:40:52,038 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:40:52,043 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:40:52,083 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:40:52,099 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:40:55,373 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:40:55,374 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:00,388 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:00,391 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:41:00,393 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:41:00,467 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:41:00,469 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:00,470 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:00,479 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:41:00,482 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:00,537 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-14, 341, -626, 271], Scale 0
2024-01-28 14:41:00,539 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:41:00,542 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.4, "voltage":240.0, "current":0.443, "aenergy":{"total":9441.306,"by_minute":[1757.744,1765.812,1778.628],"minute_ts":1706449259},"temperature":{"tC":40.7, "tF":105.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:41","unixtime":1706449261,"uptime":5808655,"ram_size":248916,"ram_free":144040,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:41:00,544 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449251.0347927, power=-105, imported=0.0, exported=301381.72935923963)
2024-01-28 14:41:00,546 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264154, power1: -105, power2: -105
2024-01-28 14:41:00,547 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.277361
2024-01-28 14:41:00,548 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.277361 Wh, new state: SimCounterState(timestamp=1706449260.544321, power=-105, imported=0.0, exported=301382.0067204846)
2024-01-28 14:41:00,550 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.0067204846, dc_power=None)
2024-01-28 14:41:00,560 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:41:00,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23952, 23946, 23831, 0, 0, 0, 0], Scale -2
2024-01-28 14:41:00,626 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:41:00,646 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7160, 8920, -7239], Scale -2
2024-01-28 14:41:00,719 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798648, 2184843, 1457584, 8628773, 3551345, 2508555, 3137030], Scale 0
2024-01-28 14:41:00,720 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-341.0, 626.0, -271.0], voltages=[239.52, 239.46, 238.31], power_factors=[-0.7160000000000001, 0.892, -0.7239], imported=8628773.0, exported=4872917.0, power=14.0, frequency=49.97)
2024-01-28 14:41:00,723 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:00,762 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21347], Scale -1
2024-01-28 14:41:00,808 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963451], Scale 0
2024-01-28 14:41:00,837 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [301, 303, 301], Scale -2
2024-01-28 14:41:00,858 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21874], Scale -1
2024-01-28 14:41:00,859 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0100000000000002, 3.0300000000000002, 3.0100000000000002]
2024-01-28 14:41:00,859 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0100000000000002, 3.0300000000000002, 3.0100000000000002], power=-2134.7000000000003, exported=7963451.0, dc_power=-2187.4)
2024-01-28 14:41:00,861 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:00,917 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449251.4402409, power=741.0, imported=174211.11157083177, exported=132153.6990891164)
2024-01-28 14:41:00,917 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263247, power1: 741, power2: 747
2024-01-28 14:41:00,918 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.95856
2024-01-28 14:41:00,918 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.95856 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449260.9171333, power=747.0, imported=174213.07012860916, exported=132153.6990891164)
2024-01-28 14:41:00,919 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174213.07012860916, exported=132153.6990891164, power=747.0, soc=11.0)
2024-01-28 14:41:00,927 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:00,930 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174213.07012860916, exported=132153.6990891164, power=747.0, soc=11.0)
2024-01-28 14:41:00,972 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:00,974 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:00,975 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:00,975 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2881.7000000000003, exported=8005510.37, dc_power=None)
2024-01-28 14:41:00,976 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.0067204846, dc_power=None)
2024-01-28 14:41:00,976 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2881.7000000000003, exported=8005510.37, dc_power=None)
2024-01-28 14:41:00,977 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.0067204846, dc_power=None)
2024-01-28 14:41:01,021 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:01,023 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-341.0, 626.0, -271.0], voltages=[239.52, 239.46, 238.31], power_factors=[-0.7160000000000001, 0.892, -0.7239], imported=8628773.0, exported=4872917.0, power=14.0, frequency=49.97)
2024-01-28 14:41:01,091 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:01,092 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:41:01,093 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7481f0>
2024-01-28 14:41:01,095 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:01,097 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7481f0>
2024-01-28 14:41:01,119 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174213.07, vorherige Payload: 174211.11
2024-01-28 14:41:01,121 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 747.0, vorherige Payload: 741.0
2024-01-28 14:41:01,236 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:41:01,238 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.35, 36.5]A
2024-01-28 14:41:01,238 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25445.56W
2024-01-28 14:41:01,244 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:41:01,246 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:01,249 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:41:01,251 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:41:01.251300
2024-01-28 14:41:01,253 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136448.06547s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:41:01,254 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:41:01.254320
2024-01-28 14:41:01,257 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:41:01.254320
2024-01-28 14:41:01,258 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53290.298475s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:41:01,260 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:41:01.260338
2024-01-28 14:41:01,262 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128666.689973s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:41:01,264 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:41:01.264062
2024-01-28 14:41:01,266 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:41:01.264062
2024-01-28 14:41:01,266 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51993.394323s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:41:01,268 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:41:01,271 - {control.chargepoint.chargepoint:667} - {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: 6.15
2024-01-28 14:41:01,272 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:41:01,307 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449251.9603405, power=819.3899999999999, imported=4312388.103740203, exported=0)
2024-01-28 14:41:01,309 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259638, power1: 819.39, power2: 794.14
2024-01-28 14:41:01,310 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.09467
2024-01-28 14:41:01,312 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.09467 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449261.3073065, power=794.1399999999999, imported=4312390.198408272, exported=0)
2024-01-28 14:41:01,317 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174213.07, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=747.0))
2024-01-28 14:41:01,319 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174213.07, exported=132153.7, power=747.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:41:01,320 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1459.56, imported=7628309.08, exported=0))
2024-01-28 14:41:01,322 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.15, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628309.08, phases_in_use=1, plug_state=True, power=1459.56, 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.97, 238.87, 239.9]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=158.20000000018626, imported_since_plugged=158.20000000018626, range_charged=0.7910000000009312, time_charged='0:05', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cbd90>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:41:01,324 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:41:01,325 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:41:01,330 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-341.0, 626.0, -271.0], currents=[-2.0, 2.8, -1.5], voltages=[239.52, 239.46, 238.31], power_factors=[-0.72, 0.89, -0.72], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=14.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25445.56, raw_currents_left=[37.03, 38.35, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:41:01,333 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=794.1399999999999, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312390.198408272, disengageable_smarthome_power=0))
2024-01-28 14:41:01,334 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:41:01,336 - {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-28 14:41:01,338 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:41:01,340 - {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-28 14:41:01,341 - {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-28 14:41:01,343 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:01,345 - {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=77, soc_timestamp=1706449250.363028, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:01,347 - {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-28 14:41:01,348 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:41:01,349 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:01,351 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:01,352 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb5580>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:41:01,353 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:41:01,356 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:41:01,357 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cb0e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:41:01,359 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301382.007, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:41:01,361 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005510.37, fault_state=0, fault_str='Kein Fehler.', power=-2881.7))
2024-01-28 14:41:01,362 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306892.377, power=-2986.7))
2024-01-28 14:41:01,365 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449252, 'time': '14:40:52', 'grid': -0.007, 'house-power': 0.819, 'charging-all': 1.444, 'pv-all': 3.012, 'cp1-power': 1.444, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.741, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:41:01,366 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:41:01,368 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:41:01,369 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:01,371 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:01,373 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:41:01,375 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:41:01,376 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:41:01,378 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:41:01,380 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:41:01,382 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:01,384 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 14.0W
2024-01-28 14:41:01,385 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.15A, Überschuss: -14.0W, benötigte neue Leistung: 3220W
2024-01-28 14:41:01,386 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 14.0W
2024-01-28 14:41:01,387 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 14.0W
2024-01-28 14:41:01,388 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 14.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:41:01,394 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:41:01,396 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:41:01,399 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.35, 36.5]A verbleibende Ströme, 24065.56W verbleibende Leistung
2024-01-28 14:41:01,401 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:41:01,404 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:41:01,407 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:41:01,408 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -34.43999999999869W
2024-01-28 14:41:01,409 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -34.43999999999869W
2024-01-28 14:41:01,411 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:41:01,412 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:41:01,416 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:41:01,438 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:01,508 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:41:05,962 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:05,963 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:10,975 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:10,975 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:10,976 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:41:10,976 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:41:11,024 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:41:11,027 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:11,034 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:41:11,035 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:11,038 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:11,080 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:41:11,082 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.2, "voltage":239.4, "current":0.442, "aenergy":{"total":9441.628,"by_minute":[321.359,1757.744,1765.812],"minute_ts":1706449270},"temperature":{"tC":40.8, "tF":105.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:41","unixtime":1706449271,"uptime":5808665,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:41:11,084 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449260.544321, power=-105, imported=0.0, exported=301382.0067204846)
2024-01-28 14:41:11,085 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029279, power1: -105, power2: -105
2024-01-28 14:41:11,086 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.307429
2024-01-28 14:41:11,086 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.307429 Wh, new state: SimCounterState(timestamp=1706449271.0847516, power=-105, imported=0.0, exported=301382.31414970884)
2024-01-28 14:41:11,088 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.31414970884, dc_power=None)
2024-01-28 14:41:11,140 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-13, 324, -613, 275], Scale 0
2024-01-28 14:41:11,169 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:41:11,212 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23943, 23932, 23842, 0, 0, 0, 0], Scale -2
2024-01-28 14:41:11,237 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:41:11,257 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6679, 8930, -7440], Scale -2
2024-01-28 14:41:11,278 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798649, 2184843, 1457585, 8628773, 3551345, 2508558, 3137030], Scale 0
2024-01-28 14:41:11,279 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-324.0, 613.0, -275.0], voltages=[239.43, 239.32, 238.42000000000002], power_factors=[-0.6679, 0.893, -0.7440000000000001], imported=8628773.0, exported=4872917.0, power=13.0, frequency=49.95)
2024-01-28 14:41:11,289 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:11,308 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21635], Scale -1
2024-01-28 14:41:11,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963458], Scale 0
2024-01-28 14:41:11,388 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 305, 302], Scale -2
2024-01-28 14:41:11,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21964], Scale -1
2024-01-28 14:41:11,408 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.0500000000000003, 3.02]
2024-01-28 14:41:11,409 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.0500000000000003, 3.02], power=-2163.5, exported=7963458.0, dc_power=-2196.4)
2024-01-28 14:41:11,417 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:11,579 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449260.9171333, power=747.0, imported=174213.07012860916, exported=132153.6990891164)
2024-01-28 14:41:11,580 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00296171, power1: 747, power2: 726
2024-01-28 14:41:11,580 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.1813
2024-01-28 14:41:11,581 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.1813 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449271.579272, power=726.0, imported=174215.25142448497, exported=132153.6990891164)
2024-01-28 14:41:11,582 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174215.25142448497, exported=132153.6990891164, power=726.0, soc=11.0)
2024-01-28 14:41:11,595 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:11,596 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174215.25142448497, exported=132153.6990891164, power=726.0, soc=11.0)
2024-01-28 14:41:11,670 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:11,671 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:11,672 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2889.5, exported=8005519.55, dc_power=None)
2024-01-28 14:41:11,673 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:11,674 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2889.5, exported=8005519.55, dc_power=None)
2024-01-28 14:41:11,674 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.31414970884, dc_power=None)
2024-01-28 14:41:11,683 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.31414970884, dc_power=None)
2024-01-28 14:41:11,720 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:11,721 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-324.0, 613.0, -275.0], voltages=[239.43, 239.32, 238.42000000000002], power_factors=[-0.6679, 0.893, -0.7440000000000001], imported=8628773.0, exported=4872917.0, power=13.0, frequency=49.95)
2024-01-28 14:41:11,795 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:11,796 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:41:11,797 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x7015b268>
2024-01-28 14:41:11,806 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:11,812 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x7015b268>
2024-01-28 14:41:11,962 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174215.25, vorherige Payload: 174213.07
2024-01-28 14:41:11,966 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 726.0, vorherige Payload: 747.0
2024-01-28 14:41:12,183 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:41:12,188 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.5]A
2024-01-28 14:41:12,190 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25427.97W
2024-01-28 14:41:12,191 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:41:12,193 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:12,194 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:41:12,196 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:41:12.196162
2024-01-28 14:41:12,198 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136437.120608s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:41:12,199 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:41:12.199379
2024-01-28 14:41:12,201 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:41:12.199379
2024-01-28 14:41:12,202 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53279.353416s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:41:12,204 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:41:12.203988
2024-01-28 14:41:12,206 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128655.746323s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:41:12,207 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:41:12.207097
2024-01-28 14:41:12,208 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:41:12.207097
2024-01-28 14:41:12,209 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51982.451288s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:41:12,210 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:41:12,223 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:41:12,227 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:41:12,235 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449261.3073065, power=794.1399999999999, imported=4312390.198408272, exported=0)
2024-01-28 14:41:12,236 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00303551, power1: 794.14, power2: 840.53
2024-01-28 14:41:12,238 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.48103
2024-01-28 14:41:12,243 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.48103 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449272.2351592, power=840.53, imported=4312392.679440614, exported=0)
2024-01-28 14:41:12,246 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174215.25, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=726.0))
2024-01-28 14:41:12,247 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174215.25, exported=132153.7, power=726.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:41:12,248 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1440.97, imported=7628313.96, exported=0))
2024-01-28 14:41:12,250 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628313.96, phases_in_use=1, plug_state=True, power=1440.97, 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.52, 238.66, 239.54]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=161.12999999988824, imported_since_plugged=161.12999999988824, range_charged=0.8056499999994412, time_charged='0:05', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c64a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:41:12,251 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:41:12,252 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:41:12,254 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-324.0, 613.0, -275.0], currents=[-2.0, 2.8, -1.5], voltages=[239.43, 239.32, 238.42], power_factors=[-0.67, 0.89, -0.74], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=13.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25427.97, raw_currents_left=[37.03, 38.28, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:41:12,255 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=840.53, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312392.679440614, disengageable_smarthome_power=0))
2024-01-28 14:41:12,257 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:41:12,258 - {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-28 14:41:12,261 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:41:12,267 - {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-28 14:41:12,268 - {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-28 14:41:12,269 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:12,270 - {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=77, soc_timestamp=1706449250.363028, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:12,274 - {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-28 14:41:12,275 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:41:12,275 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:12,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=2, keep_charge_active_duration=40)
2024-01-28 14:41:12,279 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6f70>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:41:12,282 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:41:12,283 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:41:12,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 0x6f7c3100>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:41:12,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=438.0, monthly_exported=0, yearly_exported=0, exported=301382.314, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:41:12,287 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005519.55, fault_state=0, fault_str='Kein Fehler.', power=-2889.5))
2024-01-28 14:41:12,288 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306901.864, power=-2994.5))
2024-01-28 14:41:12,291 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449261, 'time': '14:41:01', 'grid': 0.014, 'house-power': 0.794, 'charging-all': 1.46, 'pv-all': 2.987, 'cp1-power': 1.46, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.747, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:41:12,292 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:41:12,294 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:41:12,295 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:12,296 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:12,301 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:41:12,303 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:41:12,304 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:41:12,306 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:41:12,309 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:41:12,310 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:12,311 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 13.0W
2024-01-28 14:41:12,312 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -13.0W, benötigte neue Leistung: 3220W
2024-01-28 14:41:12,314 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 13.0W
2024-01-28 14:41:12,317 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 13.0W
2024-01-28 14:41:12,318 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 13.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:41:12,320 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:41:12,323 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:41:12,324 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.5]A verbleibende Ströme, 24047.97W verbleibende Leistung
2024-01-28 14:41:12,328 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:41:12,330 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:41:12,333 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:41:12,334 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -52.029999999998836W
2024-01-28 14:41:12,338 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -52.029999999998836W
2024-01-28 14:41:12,339 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:41:12,340 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:41:12,345 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:41:12,348 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:12,374 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:41:15,663 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:20,678 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:20,679 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:20,679 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:41:20,680 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:41:20,728 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:41:20,729 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:20,737 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:41:20,739 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:20,743 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:20,802 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:41:20,805 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":105.0, "voltage":239.4, "current":0.442, "aenergy":{"total":9441.892,"by_minute":[584.332,1757.744,1765.812],"minute_ts":1706449279},"temperature":{"tC":40.7, "tF":105.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:41","unixtime":1706449281,"uptime":5808675,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:41:20,810 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449271.0847516, power=-105, imported=0.0, exported=301382.31414970884)
2024-01-28 14:41:20,812 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0027017, power1: -105, power2: -105
2024-01-28 14:41:20,813 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.283678
2024-01-28 14:41:20,814 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.283678 Wh, new state: SimCounterState(timestamp=1706449280.8108673, power=-105, imported=0.0, exported=301382.5978280835)
2024-01-28 14:41:20,817 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.5978280835, dc_power=None)
2024-01-28 14:41:20,843 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8, 344, -611, 274], Scale 0
2024-01-28 14:41:20,866 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:41:20,917 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23929, 23927, 23838, 0, 0, 0, 0], Scale -2
2024-01-28 14:41:20,937 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:41:20,957 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7170, 8909, -7459], Scale -2
2024-01-28 14:41:21,070 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798650, 2184843, 1457586, 8628773, 3551345, 2508559, 3137030], Scale 0
2024-01-28 14:41:21,071 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-344.0, 611.0, -274.0], voltages=[239.29, 239.27, 238.38], power_factors=[-0.7170000000000001, 0.8909, -0.7459], imported=8628773.0, exported=4872917.0, power=-8.0, frequency=49.95)
2024-01-28 14:41:21,072 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:21,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21394], Scale -1
2024-01-28 14:41:21,146 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963464], Scale 0
2024-01-28 14:41:21,167 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [301, 301, 299], Scale -2
2024-01-28 14:41:21,186 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21719], Scale -1
2024-01-28 14:41:21,187 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0100000000000002, 3.0100000000000002, 2.99]
2024-01-28 14:41:21,188 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0100000000000002, 3.0100000000000002, 2.99], power=-2139.4, exported=7963464.0, dc_power=-2171.9)
2024-01-28 14:41:21,189 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:21,226 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449271.579272, power=726.0, imported=174215.25142448497, exported=132153.6990891164)
2024-01-28 14:41:21,227 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00267979, power1: 726, power2: 731
2024-01-28 14:41:21,227 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.95223
2024-01-28 14:41:21,228 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.95223 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449281.2265153, power=731.0, imported=174217.2036513505, exported=132153.6990891164)
2024-01-28 14:41:21,229 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174217.2036513505, exported=132153.6990891164, power=731.0, soc=11.0)
2024-01-28 14:41:21,236 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:21,238 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174217.2036513505, exported=132153.6990891164, power=731.0, soc=11.0)
2024-01-28 14:41:21,277 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:21,278 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:21,279 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:21,280 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2870.4, exported=8005527.5, dc_power=None)
2024-01-28 14:41:21,280 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.5978280835, dc_power=None)
2024-01-28 14:41:21,281 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2870.4, exported=8005527.5, dc_power=None)
2024-01-28 14:41:21,281 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-105, exported=301382.5978280835, dc_power=None)
2024-01-28 14:41:21,321 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:21,321 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-344.0, 611.0, -274.0], voltages=[239.29, 239.27, 238.38], power_factors=[-0.7170000000000001, 0.8909, -0.7459], imported=8628773.0, exported=4872917.0, power=-8.0, frequency=49.95)
2024-01-28 14:41:21,383 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:21,384 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:41:21,385 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edb5be0>
2024-01-28 14:41:21,389 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:21,390 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edb5be0>
2024-01-28 14:41:21,416 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174217.2, vorherige Payload: 174215.25
2024-01-28 14:41:21,417 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 731.0, vorherige Payload: 726.0
2024-01-28 14:41:21,538 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:41:21,547 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.5]A
2024-01-28 14:41:21,553 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25448.91W
2024-01-28 14:41:21,556 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:41:21,560 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:21,562 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:41:21,565 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:41:21.564536
2024-01-28 14:41:21,570 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136427.752234s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:41:21,572 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:41:21.571861
2024-01-28 14:41:21,573 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:41:21.571861
2024-01-28 14:41:21,575 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53269.980934s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:41:21,578 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:41:21.578516
2024-01-28 14:41:21,580 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128646.371795s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:41:21,581 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:41:21.580800
2024-01-28 14:41:21,582 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:41:21.580800
2024-01-28 14:41:21,583 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51973.077585s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:41:21,584 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:41:21,604 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:41:21,605 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:41:21,620 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449272.2351592, power=840.53, imported=4312392.679440614, exported=0)
2024-01-28 14:41:21,628 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260705, power1: 840.53, power2: 795.49
2024-01-28 14:41:21,629 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.13259
2024-01-28 14:41:21,631 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.13259 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449281.6205351, power=795.49, imported=4312394.81203267, exported=0)
2024-01-28 14:41:21,634 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174217.2, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=731.0))
2024-01-28 14:41:21,637 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174217.2, exported=132153.7, power=731.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:41:21,638 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1440.91, imported=7628317.87, exported=0))
2024-01-28 14:41:21,640 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628317.87, phases_in_use=1, plug_state=True, power=1440.91, 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.61, 238.91, 239.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=166.00999999977648, imported_since_plugged=166.00999999977648, range_charged=0.8300499999988824, time_charged='0:05', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c3c70>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:41:21,641 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:41:21,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-28 14:41:21,646 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-344.0, 611.0, -274.0], currents=[-2.0, 2.8, -1.5], voltages=[239.29, 239.27, 238.38], power_factors=[-0.72, 0.89, -0.75], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-8.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25448.91, raw_currents_left=[37.03, 38.28, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:41:21,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=795.49, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312394.81203267, disengageable_smarthome_power=0))
2024-01-28 14:41:21,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-28 14:41:21,650 - {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-28 14:41:21,651 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:41:21,652 - {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-28 14:41:21,654 - {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-28 14:41:21,655 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:21,657 - {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=77, soc_timestamp=1706449250.363028, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:21,660 - {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-28 14:41:21,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-28 14:41:21,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-28 14:41:21,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=2, keep_charge_active_duration=40)
2024-01-28 14:41:21,669 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f6b50>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:41:21,670 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:41:21,671 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:41:21,672 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c03e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:41:21,674 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301382.598, fault_state=0, fault_str='Kein Fehler.', power=-105))
2024-01-28 14:41:21,676 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005527.5, fault_state=0, fault_str='Kein Fehler.', power=-2870.4))
2024-01-28 14:41:21,678 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306910.098, power=-2975.4))
2024-01-28 14:41:21,679 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449272, 'time': '14:41:12', 'grid': 0.013, 'house-power': 0.841, 'charging-all': 1.441, 'pv-all': 2.994, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.726, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:41:21,680 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:41:21,684 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:41:21,685 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:21,686 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:21,688 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:41:21,691 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:41:21,693 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:41:21,694 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:41:21,696 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:41:21,698 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:21,699 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:41:21,700 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: 8.0W, benötigte neue Leistung: 3220W
2024-01-28 14:41:21,701 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:41:21,702 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -8.0W
2024-01-28 14:41:21,704 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -8.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:41:21,707 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:41:21,709 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:41:21,711 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.5]A verbleibende Ströme, 24068.91W verbleibende Leistung
2024-01-28 14:41:21,713 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:41:21,715 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:41:21,717 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:41:21,718 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -31.090000000000146W
2024-01-28 14:41:21,719 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -31.090000000000146W
2024-01-28 14:41:21,720 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:41:21,721 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:41:21,725 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:41:21,729 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:21,765 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:41:25,157 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:25,158 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:30,175 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:30,184 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:41:30,185 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:41:30,245 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:41:30,261 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:30,272 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:30,283 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:30,286 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:41:30,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5, 343, -611, 272], Scale 0
2024-01-28 14:41:30,365 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:41:30,367 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.9, "voltage":239.4, "current":0.442, "aenergy":{"total":9442.185,"by_minute":[875.786,1757.744,1765.812],"minute_ts":1706449289},"temperature":{"tC":40.8, "tF":105.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:41","unixtime":1706449290,"uptime":5808685,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:41:30,372 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449280.8108673, power=-105, imported=0.0, exported=301382.5978280835)
2024-01-28 14:41:30,373 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265603, power1: -105, power2: -104
2024-01-28 14:41:30,374 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.277555
2024-01-28 14:41:30,376 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.277555 Wh, new state: SimCounterState(timestamp=1706449290.3725605, power=-104, imported=0.0, exported=301382.87538278865)
2024-01-28 14:41:30,380 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301382.87538278865, dc_power=None)
2024-01-28 14:41:30,387 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:41:30,412 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23958, 23937, 23853, 0, 0, 0, 0], Scale -2
2024-01-28 14:41:30,429 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:41:30,448 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6959, 8909, -7310], Scale -2
2024-01-28 14:41:30,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798651, 2184843, 1457587, 8628773, 3551345, 2508560, 3137030], Scale 0
2024-01-28 14:41:30,547 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-343.0, 611.0, -272.0], voltages=[239.58, 239.37, 238.53], power_factors=[-0.6959000000000001, 0.8909, -0.7310000000000001], imported=8628773.0, exported=4872917.0, power=-5.0, frequency=49.97)
2024-01-28 14:41:30,549 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:30,568 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21421], Scale -1
2024-01-28 14:41:30,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963470], Scale 0
2024-01-28 14:41:30,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [299, 305, 297], Scale -2
2024-01-28 14:41:30,637 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21747], Scale -1
2024-01-28 14:41:30,638 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [2.99, 3.0500000000000003, 2.97]
2024-01-28 14:41:30,638 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[2.99, 3.0500000000000003, 2.97], power=-2142.1, exported=7963470.0, dc_power=-2174.7000000000003)
2024-01-28 14:41:30,640 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:30,686 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449281.2265153, power=731.0, imported=174217.2036513505, exported=132153.6990891164)
2024-01-28 14:41:30,687 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262787, power1: 731, power2: 720
2024-01-28 14:41:30,688 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.90652
2024-01-28 14:41:30,688 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.90652 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449290.6868496, power=720.0, imported=174219.1101714992, exported=132153.6990891164)
2024-01-28 14:41:30,689 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174219.1101714992, exported=132153.6990891164, power=720.0, soc=11.0)
2024-01-28 14:41:30,693 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:30,695 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174219.1101714992, exported=132153.6990891164, power=720.0, soc=11.0)
2024-01-28 14:41:30,732 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:30,733 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:30,733 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2862.1, exported=8005535.41, dc_power=None)
2024-01-28 14:41:30,734 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2862.1, exported=8005535.41, dc_power=None)
2024-01-28 14:41:30,737 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:30,742 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301382.87538278865, dc_power=None)
2024-01-28 14:41:30,747 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301382.87538278865, dc_power=None)
2024-01-28 14:41:30,786 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:30,787 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-343.0, 611.0, -272.0], voltages=[239.58, 239.37, 238.53], power_factors=[-0.6959000000000001, 0.8909, -0.7310000000000001], imported=8628773.0, exported=4872917.0, power=-5.0, frequency=49.97)
2024-01-28 14:41:30,868 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:30,868 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:41:30,869 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d65c8>
2024-01-28 14:41:30,877 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:30,878 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d65c8>
2024-01-28 14:41:30,893 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174219.11, vorherige Payload: 174217.2
2024-01-28 14:41:30,894 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 720.0, vorherige Payload: 731.0
2024-01-28 14:41:31,005 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:41:31,008 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.48]A
2024-01-28 14:41:31,008 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25440.91W
2024-01-28 14:41:31,009 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:41:31,011 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:31,013 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:41:31,016 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:41:31.015798
2024-01-28 14:41:31,017 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136418.300972s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:41:31,020 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:41:31.019804
2024-01-28 14:41:31,021 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:41:31.019804
2024-01-28 14:41:31,024 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53260.532991s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:41:31,026 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:41:31.025762
2024-01-28 14:41:31,027 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128636.924549s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:41:31,029 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:41:31.029511
2024-01-28 14:41:31,032 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:41:31.029511
2024-01-28 14:41:31,033 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51963.628874s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:41:31,034 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:41:31,053 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:41:31,055 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:41:31,069 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449281.6205351, power=795.49, imported=4312394.81203267, exported=0)
2024-01-28 14:41:31,070 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262457, power1: 795.49, power2: 805.19
2024-01-28 14:41:31,071 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.10055
2024-01-28 14:41:31,072 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.10055 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449291.0689938, power=805.1899999999998, imported=4312396.912582506, exported=0)
2024-01-28 14:41:31,076 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174219.11, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=720.0))
2024-01-28 14:41:31,078 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174219.11, exported=132153.7, power=720.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:41:31,079 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1435.91, imported=7628321.78, exported=0))
2024-01-28 14:41:31,081 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.02, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628321.78, phases_in_use=1, plug_state=True, power=1435.91, 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.51, 238.84, 239.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=169.9199999999255, imported_since_plugged=169.9199999999255, range_charged=0.8495999999996274, time_charged='0:06', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d40e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:41:31,083 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:41:31,085 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:41:31,087 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-343.0, 611.0, -272.0], currents=[-2.0, 2.8, -1.5], voltages=[239.58, 239.37, 238.53], power_factors=[-0.7, 0.89, -0.73], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-5.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25440.91, raw_currents_left=[37.03, 38.27, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:41:31,089 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=805.1899999999998, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312396.912582506, disengageable_smarthome_power=0))
2024-01-28 14:41:31,090 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:41:31,094 - {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-28 14:41:31,096 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:41:31,098 - {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-28 14:41:31,099 - {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-28 14:41:31,101 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:31,103 - {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=77, soc_timestamp=1706449250.363028, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:31,105 - {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-28 14:41:31,107 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:41:31,109 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:31,111 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:31,113 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e2b50>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:41:31,114 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:41:31,115 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:41:31,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 0x6f7cfe08>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:41:31,120 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301382.875, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:41:31,121 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005535.41, fault_state=0, fault_str='Kein Fehler.', power=-2862.1))
2024-01-28 14:41:31,123 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306918.285, power=-2966.1))
2024-01-28 14:41:31,125 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449281, 'time': '14:41:21', 'grid': -0.008, 'house-power': 0.795, 'charging-all': 1.441, 'pv-all': 2.975, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.731, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:41:31,126 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:41:31,129 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:41:31,131 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:31,137 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:31,138 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:41:31,140 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:41:31,142 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:41:31,143 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:41:31,145 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:41:31,147 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:31,149 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:41:31,151 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 5.0W, benötigte neue Leistung: 3220W
2024-01-28 14:41:31,152 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:41:31,154 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:41:31,156 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -5.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:41:31,157 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:41:31,161 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:41:31,162 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.48]A verbleibende Ströme, 24060.91W verbleibende Leistung
2024-01-28 14:41:31,164 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:41:31,167 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:41:31,170 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:41:31,171 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -39.090000000000146W
2024-01-28 14:41:31,173 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -39.090000000000146W
2024-01-28 14:41:31,174 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:41:31,176 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:41:31,179 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:41:31,187 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:31,227 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:41:35,491 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:35,492 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:40,503 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:40,504 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:40,505 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:41:40,506 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:41:40,551 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:41:40,553 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:40,560 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:41:40,562 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:40,565 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:40,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2, 337, -615, 275], Scale 0
2024-01-28 14:41:40,609 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:41:40,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":true, "apower":104.8, "voltage":239.7, "current":0.441, "aenergy":{"total":9442.478,"by_minute":[1167.240,1757.744,1765.812],"minute_ts":1706449299},"temperature":{"tC":40.8, "tF":105.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:41","unixtime":1706449301,"uptime":5808695,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:41:40,613 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449290.3725605, power=-104, imported=0.0, exported=301382.87538278865)
2024-01-28 14:41:40,614 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00284469, power1: -104, power2: -104
2024-01-28 14:41:40,614 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.295848
2024-01-28 14:41:40,615 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.295848 Wh, new state: SimCounterState(timestamp=1706449300.6134593, power=-104, imported=0.0, exported=301383.1712309776)
2024-01-28 14:41:40,616 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.1712309776, dc_power=None)
2024-01-28 14:41:40,674 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:41:40,697 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23944, 23931, 23830, 0, 0, 0, 0], Scale -2
2024-01-28 14:41:40,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:41:40,798 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7279, 8949, -7369], Scale -2
2024-01-28 14:41:40,839 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798651, 2184843, 1457587, 8628773, 3551345, 2508562, 3137030], Scale 0
2024-01-28 14:41:40,840 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-337.0, 615.0, -275.0], voltages=[239.44, 239.31, 238.3], power_factors=[-0.7279000000000001, 0.8948999999999999, -0.7369], imported=8628773.0, exported=4872917.0, power=2.0, frequency=49.95)
2024-01-28 14:41:40,842 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:40,865 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21489], Scale -1
2024-01-28 14:41:40,898 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963476], Scale 0
2024-01-28 14:41:40,918 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [302, 303, 300], Scale -2
2024-01-28 14:41:40,965 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21817], Scale -1
2024-01-28 14:41:40,966 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.02, 3.0300000000000002, 3.0]
2024-01-28 14:41:40,966 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.02, 3.0300000000000002, 3.0], power=-2148.9, exported=7963476.0, dc_power=-2181.7000000000003)
2024-01-28 14:41:40,968 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:41,048 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449290.6868496, power=720.0, imported=174219.1101714992, exported=132153.6990891164)
2024-01-28 14:41:41,049 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287811, power1: 720, power2: 718
2024-01-28 14:41:41,049 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.06936
2024-01-28 14:41:41,050 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.06936 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449301.0480464, power=718.0, imported=174221.17953274027, exported=132153.6990891164)
2024-01-28 14:41:41,051 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174221.17953274027, exported=132153.6990891164, power=718.0, soc=11.0)
2024-01-28 14:41:41,056 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:41,057 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174221.17953274027, exported=132153.6990891164, power=718.0, soc=11.0)
2024-01-28 14:41:41,104 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:41,108 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:41,109 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:41,109 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2866.9, exported=8005543.48, dc_power=None)
2024-01-28 14:41:41,110 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.1712309776, dc_power=None)
2024-01-28 14:41:41,111 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2866.9, exported=8005543.48, dc_power=None)
2024-01-28 14:41:41,112 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.1712309776, dc_power=None)
2024-01-28 14:41:41,154 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:41,155 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-337.0, 615.0, -275.0], voltages=[239.44, 239.31, 238.3], power_factors=[-0.7279000000000001, 0.8948999999999999, -0.7369], imported=8628773.0, exported=4872917.0, power=2.0, frequency=49.95)
2024-01-28 14:41:41,217 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:41,218 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:41:41,219 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed8a4c0>
2024-01-28 14:41:41,227 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:41,230 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed8a4c0>
2024-01-28 14:41:41,246 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174221.18, vorherige Payload: 174219.11
2024-01-28 14:41:41,247 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 718.0, vorherige Payload: 720.0
2024-01-28 14:41:41,364 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:41:41,367 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.5]A
2024-01-28 14:41:41,368 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25438.66W
2024-01-28 14:41:41,369 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:41:41,370 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:41,377 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:41:41,379 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:41:41.378538
2024-01-28 14:41:41,379 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136407.938232s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:41:41,380 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:41:41.380370
2024-01-28 14:41:41,382 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:41:41.380370
2024-01-28 14:41:41,383 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53250.172425s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:41:41,384 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:41:41.384165
2024-01-28 14:41:41,387 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128626.566146s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:41:41,388 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:41:41.388308
2024-01-28 14:41:41,389 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:41:41.388308
2024-01-28 14:41:41,390 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51953.270077s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:41:41,391 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:41:41,404 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:41:41,407 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:41:41,413 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449291.0689938, power=805.1899999999998, imported=4312396.912582506, exported=0)
2024-01-28 14:41:41,415 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287341, power1: 805.19, power2: 814.24
2024-01-28 14:41:41,419 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.32664
2024-01-28 14:41:41,422 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.32664 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449301.4132578, power=814.24, imported=4312399.239222992, exported=0)
2024-01-28 14:41:41,425 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174221.18, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=718.0))
2024-01-28 14:41:41,427 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174221.18, exported=132153.7, power=718.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:41:41,428 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1440.66, imported=7628326.17, exported=0))
2024-01-28 14:41:41,431 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628326.17, phases_in_use=1, plug_state=True, power=1440.66, 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.83, 238.82, 239.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=173.8300000000745, imported_since_plugged=173.8300000000745, range_charged=0.8691500000003726, time_charged='0:06', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb5a90>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:41:41,432 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:41:41,433 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:41:41,435 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-337.0, 615.0, -275.0], currents=[-2.0, 2.8, -1.5], voltages=[239.44, 239.31, 238.3], power_factors=[-0.73, 0.89, -0.74], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=2.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25438.66, raw_currents_left=[37.03, 38.28, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:41:41,436 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=814.24, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312399.239222992, disengageable_smarthome_power=0))
2024-01-28 14:41:41,438 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:41:41,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-28 14:41:41,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:41:41,442 - {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-28 14:41:41,443 - {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-28 14:41:41,445 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:41,447 - {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=77, soc_timestamp=1706449250.363028, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:41,448 - {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-28 14:41:41,450 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:41:41,451 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:41,452 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:41,455 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e9c88>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:41:41,457 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:41:41,459 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:41:41,459 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cb118>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:41:41,460 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301383.171, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:41:41,461 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005543.48, fault_state=0, fault_str='Kein Fehler.', power=-2866.9))
2024-01-28 14:41:41,462 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306926.651000001, power=-2970.9))
2024-01-28 14:41:41,463 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449291, 'time': '14:41:31', 'grid': -0.005, 'house-power': 0.805, 'charging-all': 1.436, 'pv-all': 2.966, 'cp1-power': 1.436, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.72, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:41:41,465 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:41:41,466 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:41:41,467 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:41,468 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:41,469 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:41:41,470 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:41:41,471 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:41:41,473 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:41:41,474 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:41:41,475 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:41,476 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2.0W
2024-01-28 14:41:41,479 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -2.0W, benötigte neue Leistung: 3220W
2024-01-28 14:41:41,480 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2.0W
2024-01-28 14:41:41,481 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2.0W
2024-01-28 14:41:41,482 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 2.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:41:41,483 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:41:41,487 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:41:41,489 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.5]A verbleibende Ströme, 24058.66W verbleibende Leistung
2024-01-28 14:41:41,490 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:41:41,491 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:41:41,494 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:41:41,496 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -41.340000000000146W
2024-01-28 14:41:41,498 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -41.340000000000146W
2024-01-28 14:41:41,499 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:41:41,500 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:41:41,504 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:41:41,506 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:41,524 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:41:45,833 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:50,852 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:50,853 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:41:50,854 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:41:50,854 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:41:50,925 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:41:50,928 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:50,931 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:50,954 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:41:50,968 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:50,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5, 339, -619, 273], Scale 0
2024-01-28 14:41:51,014 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:41:51,017 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.7, "voltage":239.7, "current":0.441, "aenergy":{"total":9442.771,"by_minute":[1458.220,1757.744,1765.812],"minute_ts":1706449309},"temperature":{"tC":40.8, "tF":105.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:41","unixtime":1706449311,"uptime":5808705,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:41:51,020 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:41:51,022 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449300.6134593, power=-104, imported=0.0, exported=301383.1712309776)
2024-01-28 14:41:51,023 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289134, power1: -104, power2: -104
2024-01-28 14:41:51,024 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.300699
2024-01-28 14:41:51,025 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.300699 Wh, new state: SimCounterState(timestamp=1706449311.0222783, power=-104, imported=0.0, exported=301383.47193019197)
2024-01-28 14:41:51,026 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.47193019197, dc_power=None)
2024-01-28 14:41:51,050 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23946, 23937, 23839, 0, 0, 0, 0], Scale -2
2024-01-28 14:41:51,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2024-01-28 14:41:51,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7170, 8899, -7429], Scale -2
2024-01-28 14:41:51,138 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798653, 2184843, 1457588, 8628773, 3551345, 2508565, 3137030], Scale 0
2024-01-28 14:41:51,139 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-339.0, 619.0, -273.0], voltages=[239.46, 239.37, 238.39000000000001], power_factors=[-0.7170000000000001, 0.8898999999999999, -0.7429000000000001], imported=8628773.0, exported=4872917.0, power=5.0, frequency=49.95)
2024-01-28 14:41:51,141 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:51,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21551], Scale -1
2024-01-28 14:41:51,210 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963482], Scale 0
2024-01-28 14:41:51,248 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [302, 304, 301], Scale -2
2024-01-28 14:41:51,359 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21901], Scale -1
2024-01-28 14:41:51,360 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.02, 3.04, 3.0100000000000002]
2024-01-28 14:41:51,360 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.02, 3.04, 3.0100000000000002], power=-2155.1, exported=7963482.0, dc_power=-2190.1)
2024-01-28 14:41:51,362 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:51,398 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449301.0480464, power=718.0, imported=174221.17953274027, exported=132153.6990891164)
2024-01-28 14:41:51,399 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287503, power1: 718, power2: 717
2024-01-28 14:41:51,399 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.06283
2024-01-28 14:41:51,399 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.06283 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449311.3981586, power=717.0, imported=174223.2423676023, exported=132153.6990891164)
2024-01-28 14:41:51,400 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174223.2423676023, exported=132153.6990891164, power=717.0, soc=11.0)
2024-01-28 14:41:51,403 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:41:51,404 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174223.2423676023, exported=132153.6990891164, power=717.0, soc=11.0)
2024-01-28 14:41:51,457 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:51,458 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:41:51,461 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2872.1, exported=8005551.54, dc_power=None)
2024-01-28 14:41:51,462 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2872.1, exported=8005551.54, dc_power=None)
2024-01-28 14:41:51,461 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:41:51,471 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.47193019197, dc_power=None)
2024-01-28 14:41:51,473 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.47193019197, dc_power=None)
2024-01-28 14:41:51,507 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:41:51,508 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-339.0, 619.0, -273.0], voltages=[239.46, 239.37, 238.39000000000001], power_factors=[-0.7170000000000001, 0.8898999999999999, -0.7429000000000001], imported=8628773.0, exported=4872917.0, power=5.0, frequency=49.95)
2024-01-28 14:41:51,569 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:51,569 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:41:51,570 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x70141538>
2024-01-28 14:41:51,574 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:41:51,575 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x70141538>
2024-01-28 14:41:51,596 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174223.24, vorherige Payload: 174221.18
2024-01-28 14:41:51,598 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 717.0, vorherige Payload: 718.0
2024-01-28 14:41:51,714 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:41:51,717 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.5]A
2024-01-28 14:41:51,718 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25438.48W
2024-01-28 14:41:51,719 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:41:51,722 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:51,723 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:41:51,725 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:41:51.725315
2024-01-28 14:41:51,727 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136397.591455s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:41:51,728 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:41:51.728122
2024-01-28 14:41:51,730 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:41:51.728122
2024-01-28 14:41:51,732 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53239.824673s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:41:51,733 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:41:51.732750
2024-01-28 14:41:51,734 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128616.217561s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:41:51,738 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:41:51.737680
2024-01-28 14:41:51,739 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:41:51.737680
2024-01-28 14:41:51,741 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51942.920705s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:41:51,742 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:41:51,747 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:41:51,748 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:41:51,775 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449301.4132578, power=814.24, imported=4312399.239222992, exported=0)
2024-01-28 14:41:51,777 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287846, power1: 814.24, power2: 820.62
2024-01-28 14:41:51,778 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.35294
2024-01-28 14:41:51,790 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.35294 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449311.7757137, power=820.6199999999999, imported=4312401.592162515, exported=0)
2024-01-28 14:41:51,794 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174223.24, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=717.0))
2024-01-28 14:41:51,795 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174223.24, exported=132153.7, power=717.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:41:51,796 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1443.48, imported=7628330.08, exported=0))
2024-01-28 14:41:51,803 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628330.08, phases_in_use=1, plug_state=True, power=1443.48, 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.84, 238.96, 239.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=178.21999999973923, imported_since_plugged=178.21999999973923, range_charged=0.8910999999986963, time_charged='0:06', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e2568>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:41:51,804 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:41:51,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-28 14:41:51,811 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-339.0, 619.0, -273.0], currents=[-2.0, 2.8, -1.5], voltages=[239.46, 239.37, 238.39], power_factors=[-0.72, 0.89, -0.74], unbalanced_load=0, frequency=49.95, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=5.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25438.48, raw_currents_left=[37.03, 38.28, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:41:51,814 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=820.6199999999999, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312401.592162515, disengageable_smarthome_power=0))
2024-01-28 14:41:51,818 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:41:51,830 - {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-28 14:41:51,832 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:41:51,833 - {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-28 14:41:51,836 - {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-28 14:41:51,837 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:51,838 - {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=77, soc_timestamp=1706449310.913454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:41:51,839 - {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-28 14:41:51,839 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:41:51,840 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:41:51,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=2, keep_charge_active_duration=40)
2024-01-28 14:41:51,853 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c32b0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:41:51,855 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:41:51,856 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:41:51,867 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c6c88>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:41:51,871 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301383.472, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:41:51,876 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005551.54, fault_state=0, fault_str='Kein Fehler.', power=-2872.1))
2024-01-28 14:41:51,877 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306935.012, power=-2976.1))
2024-01-28 14:41:51,879 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449301, 'time': '14:41:41', 'grid': 0.002, 'house-power': 0.814, 'charging-all': 1.441, 'pv-all': 2.971, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.718, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:41:51,880 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:41:51,881 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:41:51,884 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:51,886 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:41:51,889 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:41:51,891 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:41:51,893 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:41:51,893 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:41:51,895 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:41:51,896 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:41:51,897 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5.0W
2024-01-28 14:41:51,899 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -5.0W, benötigte neue Leistung: 3220W
2024-01-28 14:41:51,900 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5.0W
2024-01-28 14:41:51,902 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5.0W
2024-01-28 14:41:51,902 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 5.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:41:51,904 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:41:51,907 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:41:51,909 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.5]A verbleibende Ströme, 24058.48W verbleibende Leistung
2024-01-28 14:41:51,911 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:41:51,912 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:41:51,916 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:41:51,917 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -41.52000000000044W
2024-01-28 14:41:51,918 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -41.52000000000044W
2024-01-28 14:41:51,918 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:41:51,919 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:41:51,925 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:41:51,932 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:41:51,981 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:41:55,402 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:41:55,403 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:00,415 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:00,417 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:42:00,418 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:42:00,487 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:42:00,489 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:00,511 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:00,521 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:00,525 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:42:00,568 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-16, 346, -633, 270], Scale 0
2024-01-28 14:42:00,581 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:42:00,583 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.7, "voltage":239.8, "current":0.440, "aenergy":{"total":9443.062,"by_minute":[1749.199,1757.744,1765.812],"minute_ts":1706449319},"temperature":{"tC":41.0, "tF":105.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:42","unixtime":1706449321,"uptime":5808715,"ram_size":248948,"ram_free":144488,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:42:00,586 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449311.0222783, power=-104, imported=0.0, exported=301383.47193019197)
2024-01-28 14:42:00,587 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265664, power1: -104, power2: -104
2024-01-28 14:42:00,587 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.27629
2024-01-28 14:42:00,588 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.27629 Wh, new state: SimCounterState(timestamp=1706449320.5861664, power=-104, imported=0.0, exported=301383.74822029186)
2024-01-28 14:42:00,590 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:42:00,591 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.74822029186, dc_power=None)
2024-01-28 14:42:00,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23920, 23967, 23833, 0, 0, 0, 0], Scale -2
2024-01-28 14:42:00,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:42:00,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7189, 8920, -7500], Scale -2
2024-01-28 14:42:00,748 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798654, 2184843, 1457589, 8628773, 3551345, 2508566, 3137030], Scale 0
2024-01-28 14:42:00,749 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-346.0, 633.0, -270.0], voltages=[239.20000000000002, 239.67000000000002, 238.33], power_factors=[-0.7189, 0.892, -0.75], imported=8628773.0, exported=4872917.0, power=16.0, frequency=49.97)
2024-01-28 14:42:00,757 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:00,777 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21485], Scale -1
2024-01-28 14:42:00,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963488], Scale 0
2024-01-28 14:42:00,848 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [301, 302, 301], Scale -2
2024-01-28 14:42:00,888 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21877], Scale -1
2024-01-28 14:42:00,888 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0100000000000002, 3.02, 3.0100000000000002]
2024-01-28 14:42:00,889 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0100000000000002, 3.02, 3.0100000000000002], power=-2148.5, exported=7963488.0, dc_power=-2187.7000000000003)
2024-01-28 14:42:00,892 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:00,956 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449311.3981586, power=717.0, imported=174223.2423676023, exported=132153.6990891164)
2024-01-28 14:42:00,957 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265514, power1: 717, power2: 733
2024-01-28 14:42:00,957 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.92497
2024-01-28 14:42:00,958 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.92497 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449320.9566474, power=733.0, imported=174225.16734105043, exported=132153.6990891164)
2024-01-28 14:42:00,963 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174225.16734105043, exported=132153.6990891164, power=733.0, soc=11.0)
2024-01-28 14:42:00,976 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:00,978 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174225.16734105043, exported=132153.6990891164, power=733.0, soc=11.0)
2024-01-28 14:42:01,010 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:01,011 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:01,012 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:01,015 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2881.5, exported=8005559.47, dc_power=None)
2024-01-28 14:42:01,015 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.74822029186, dc_power=None)
2024-01-28 14:42:01,016 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2881.5, exported=8005559.47, dc_power=None)
2024-01-28 14:42:01,016 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301383.74822029186, dc_power=None)
2024-01-28 14:42:01,059 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:01,060 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-346.0, 633.0, -270.0], voltages=[239.20000000000002, 239.67000000000002, 238.33], power_factors=[-0.7189, 0.892, -0.75], imported=8628773.0, exported=4872917.0, power=16.0, frequency=49.97)
2024-01-28 14:42:01,121 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:01,122 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:42:01,123 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c2f40>
2024-01-28 14:42:01,134 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:01,137 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c2f40>
2024-01-28 14:42:01,151 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174225.17, vorherige Payload: 174223.24
2024-01-28 14:42:01,152 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 733.0, vorherige Payload: 717.0
2024-01-28 14:42:01,282 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:42:01,286 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.5]A
2024-01-28 14:42:01,287 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25425.27W
2024-01-28 14:42:01,287 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:42:01,288 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:01,289 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:42:01,290 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:42:01.290134
2024-01-28 14:42:01,291 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136388.026636s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:42:01,292 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:42:01.291844
2024-01-28 14:42:01,292 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:42:01.291844
2024-01-28 14:42:01,293 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53230.260951s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:42:01,294 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:42:01.293915
2024-01-28 14:42:01,301 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128606.656396s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:42:01,306 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:42:01.306143
2024-01-28 14:42:01,313 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:42:01.306143
2024-01-28 14:42:01,316 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51933.352242s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:42:01,318 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:42:01,353 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:42:01,354 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:42:01,371 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449311.7757137, power=820.6199999999999, imported=4312401.592162515, exported=0)
2024-01-28 14:42:01,375 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266557, power1: 820.62, power2: 827.23
2024-01-28 14:42:01,376 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.19623
2024-01-28 14:42:01,378 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.19623 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449321.3717773, power=827.23, imported=4312403.788394935, exported=0)
2024-01-28 14:42:01,382 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174225.17, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=733.0))
2024-01-28 14:42:01,391 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174225.17, exported=132153.7, power=733.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:42:01,395 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1441.27, imported=7628333.98, exported=0))
2024-01-28 14:42:01,398 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628333.98, phases_in_use=1, plug_state=True, power=1441.27, 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, 238.82, 239.73]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=182.12999999988824, imported_since_plugged=182.12999999988824, range_charged=0.9106499999994413, time_charged='0:06', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edba070>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:42:01,399 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:42:01,408 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:42:01,413 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-346.0, 633.0, -270.0], currents=[-2.0, 2.8, -1.5], voltages=[239.2, 239.67, 238.33], power_factors=[-0.72, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=16.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25425.27, raw_currents_left=[37.03, 38.28, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:42:01,414 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=827.23, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312403.788394935, disengageable_smarthome_power=0))
2024-01-28 14:42:01,416 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:42:01,417 - {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-28 14:42:01,420 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:42:01,423 - {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-28 14:42:01,424 - {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-28 14:42:01,429 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:01,430 - {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=77, soc_timestamp=1706449310.913454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:01,437 - {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-28 14:42:01,440 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:42:01,441 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:01,445 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:01,446 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6eda6d00>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:42:01,449 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:42:01,451 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:42:01,452 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8b358>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:42:01,456 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301383.748, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:42:01,457 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005559.47, fault_state=0, fault_str='Kein Fehler.', power=-2881.5))
2024-01-28 14:42:01,458 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306943.217999999, power=-2985.5))
2024-01-28 14:42:01,459 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449311, 'time': '14:41:51', 'grid': 0.005, 'house-power': 0.821, 'charging-all': 1.443, 'pv-all': 2.976, 'cp1-power': 1.443, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.717, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:42:01,460 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:42:01,462 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:42:01,463 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:01,464 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:01,464 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:42:01,466 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:42:01,467 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:42:01,467 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:42:01,469 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:42:01,470 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:01,471 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 16.0W
2024-01-28 14:42:01,472 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -16.0W, benötigte neue Leistung: 3220W
2024-01-28 14:42:01,473 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 16.0W
2024-01-28 14:42:01,474 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 16.0W
2024-01-28 14:42:01,475 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 16.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:42:01,475 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:42:01,477 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:42:01,478 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.5]A verbleibende Ströme, 24045.27W verbleibende Leistung
2024-01-28 14:42:01,479 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:42:01,480 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:42:01,482 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:42:01,482 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -54.72999999999956W
2024-01-28 14:42:01,482 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -54.72999999999956W
2024-01-28 14:42:01,483 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:42:01,483 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:42:01,489 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:42:01,517 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:01,547 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:42:05,875 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:05,876 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:10,887 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:10,888 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:10,889 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:42:10,889 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:42:10,931 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:42:10,938 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:10,944 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:42:10,946 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:10,947 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:10,989 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:42:10,991 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.7, "voltage":239.9, "current":0.440, "aenergy":{"total":9443.355,"by_minute":[290.979,1749.199,1757.744],"minute_ts":1706449329},"temperature":{"tC":41.1, "tF":106.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:42","unixtime":1706449331,"uptime":5808725,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:42:10,993 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449320.5861664, power=-104, imported=0.0, exported=301383.74822029186)
2024-01-28 14:42:10,994 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289085, power1: -104, power2: -104
2024-01-28 14:42:10,994 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.300649
2024-01-28 14:42:10,995 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.300649 Wh, new state: SimCounterState(timestamp=1706449330.9932342, power=-104, imported=0.0, exported=301384.0488689165)
2024-01-28 14:42:10,996 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.0488689165, dc_power=None)
2024-01-28 14:42:11,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 342, -616, 273], Scale 0
2024-01-28 14:42:11,027 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:42:11,047 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23968, 23964, 23865, 0, 0, 0, 0], Scale -2
2024-01-28 14:42:11,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:42:11,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7360, 8899, -7500], Scale -2
2024-01-28 14:42:11,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798654, 2184843, 1457590, 8628773, 3551345, 2508567, 3137030], Scale 0
2024-01-28 14:42:11,171 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-342.0, 616.0, -273.0], voltages=[239.68, 239.64000000000001, 238.65], power_factors=[-0.7360000000000001, 0.8898999999999999, -0.75], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.97)
2024-01-28 14:42:11,173 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:11,197 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21513], Scale -1
2024-01-28 14:42:11,217 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963494], Scale 0
2024-01-28 14:42:11,298 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [300, 304, 300], Scale -2
2024-01-28 14:42:11,329 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21841], Scale -1
2024-01-28 14:42:11,330 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0, 3.04, 3.0]
2024-01-28 14:42:11,331 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0, 3.04, 3.0], power=-2151.3, exported=7963494.0, dc_power=-2184.1)
2024-01-28 14:42:11,334 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:11,387 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449320.9566474, power=733.0, imported=174225.16734105043, exported=132153.6990891164)
2024-01-28 14:42:11,388 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289751, power1: 733, power2: 727
2024-01-28 14:42:11,389 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.11518
2024-01-28 14:42:11,389 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.11518 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449331.3876677, power=727.0, imported=174227.28252015868, exported=132153.6990891164)
2024-01-28 14:42:11,390 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174227.28252015868, exported=132153.6990891164, power=727.0, soc=11.0)
2024-01-28 14:42:11,396 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:11,397 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174227.28252015868, exported=132153.6990891164, power=727.0, soc=11.0)
2024-01-28 14:42:11,441 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:11,445 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:11,446 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:11,447 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2878.3, exported=8005567.58, dc_power=None)
2024-01-28 14:42:11,447 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.0488689165, dc_power=None)
2024-01-28 14:42:11,448 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2878.3, exported=8005567.58, dc_power=None)
2024-01-28 14:42:11,449 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.0488689165, dc_power=None)
2024-01-28 14:42:11,495 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:11,496 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-342.0, 616.0, -273.0], voltages=[239.68, 239.64000000000001, 238.65], power_factors=[-0.7360000000000001, 0.8898999999999999, -0.75], imported=8628773.0, exported=4872917.0, power=-0.0, frequency=49.97)
2024-01-28 14:42:11,562 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:11,563 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:42:11,563 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6eda8190>
2024-01-28 14:42:11,566 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:11,568 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6eda8190>
2024-01-28 14:42:11,590 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174227.28, vorherige Payload: 174225.17
2024-01-28 14:42:11,592 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 727.0, vorherige Payload: 733.0
2024-01-28 14:42:11,782 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:42:11,786 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.36, 36.5]A
2024-01-28 14:42:11,788 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25456.84W
2024-01-28 14:42:11,790 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:42:11,792 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:11,793 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:42:11,796 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:42:11.795748
2024-01-28 14:42:11,798 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136377.521022s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:42:11,800 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:42:11.800191
2024-01-28 14:42:11,801 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:42:11.800191
2024-01-28 14:42:11,803 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53219.752604s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:42:11,805 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:42:11.804724
2024-01-28 14:42:11,810 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128596.145587s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:42:11,813 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:42:11.813465
2024-01-28 14:42:11,816 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:42:11.813465
2024-01-28 14:42:11,819 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51922.84492s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:42:11,820 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:42:11,824 - {control.chargepoint.chargepoint:667} - {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: 6.16
2024-01-28 14:42:11,825 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:42:11,830 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449321.3717773, power=827.23, imported=4312403.788394935, exported=0)
2024-01-28 14:42:11,837 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290509, power1: 827.23, power2: 798.46
2024-01-28 14:42:11,841 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.36139
2024-01-28 14:42:11,842 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.36139 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449331.8301098, power=798.4600000000003, imported=4312406.149784745, exported=0)
2024-01-28 14:42:11,850 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174227.28, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=727.0))
2024-01-28 14:42:11,864 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174227.28, exported=132153.7, power=727.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:42:11,865 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1456.84, imported=7628337.89, exported=0))
2024-01-28 14:42:11,866 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.16, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628337.89, phases_in_use=1, plug_state=True, power=1456.84, 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.11, 240.07]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=186.03000000026077, imported_since_plugged=186.03000000026077, range_charged=0.9301500000013039, time_charged='0:06', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d9370>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:42:11,866 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:42:11,867 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:42:11,867 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-342.0, 616.0, -273.0], currents=[-2.0, 2.8, -1.5], voltages=[239.68, 239.64, 238.65], power_factors=[-0.74, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.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=25456.84, raw_currents_left=[37.03, 38.36, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:42:11,868 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=798.4600000000003, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312406.149784745, disengageable_smarthome_power=0))
2024-01-28 14:42:11,869 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:42:11,869 - {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-28 14:42:11,870 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:42:11,871 - {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-28 14:42:11,871 - {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-28 14:42:11,872 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:11,872 - {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=77, soc_timestamp=1706449310.913454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:11,873 - {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-28 14:42:11,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-28 14:42:11,876 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:11,890 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:11,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cb2b0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:42:11,895 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:42:11,897 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:42:11,898 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed92778>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:42:11,901 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301384.049, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:42:11,908 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005567.58, fault_state=0, fault_str='Kein Fehler.', power=-2878.3))
2024-01-28 14:42:11,909 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306951.629, power=-2982.3))
2024-01-28 14:42:11,910 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449321, 'time': '14:42:01', 'grid': 0.016, 'house-power': 0.827, 'charging-all': 1.441, 'pv-all': 2.986, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.733, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:42:11,910 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:42:11,911 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:42:11,911 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:11,912 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:11,914 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:42:11,915 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:42:11,922 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:42:11,925 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:42:11,928 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:42:11,930 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:11,932 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:42:11,933 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.16A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:42:11,934 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:42:11,937 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:42:11,939 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:42:11,941 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:42:11,943 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:42:11,946 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.36, 36.5]A verbleibende Ströme, 24076.84W verbleibende Leistung
2024-01-28 14:42:11,947 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:42:11,949 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:42:11,952 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:42:11,953 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -23.159999999999854W
2024-01-28 14:42:11,954 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -23.159999999999854W
2024-01-28 14:42:11,955 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:42:11,956 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:42:11,962 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:42:11,967 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:12,012 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:42:15,278 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:20,293 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:20,296 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:20,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:42:20,297 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:42:20,349 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:42:20,350 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:20,358 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:42:20,358 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:20,360 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:20,403 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:42:20,405 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.5, "voltage":239.9, "current":0.439, "aenergy":{"total":9443.648,"by_minute":[581.009,1749.199,1757.744],"minute_ts":1706449339},"temperature":{"tC":41.0, "tF":105.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:42","unixtime":1706449340,"uptime":5808735,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:42:20,408 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449330.9932342, power=-104, imported=0.0, exported=301384.0488689165)
2024-01-28 14:42:20,409 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261537, power1: -104, power2: -104
2024-01-28 14:42:20,410 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.271998
2024-01-28 14:42:20,412 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.271998 Wh, new state: SimCounterState(timestamp=1706449340.4085517, power=-104, imported=0.0, exported=301384.32086697867)
2024-01-28 14:42:20,414 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.32086697867, dc_power=None)
2024-01-28 14:42:20,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [3, 343, -618, 278], Scale 0
2024-01-28 14:42:20,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:42:20,528 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23968, 23968, 23854, 0, 0, 0, 0], Scale -2
2024-01-28 14:42:20,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:42:20,579 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6909, 8909, -7329], Scale -2
2024-01-28 14:42:20,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798655, 2184843, 1457590, 8628773, 3551345, 2508569, 3137030], Scale 0
2024-01-28 14:42:20,641 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-343.0, 618.0, -278.0], voltages=[239.68, 239.68, 238.54], power_factors=[-0.6909000000000001, 0.8909, -0.7329000000000001], imported=8628773.0, exported=4872917.0, power=-3.0, frequency=49.97)
2024-01-28 14:42:20,643 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:20,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21948], Scale -1
2024-01-28 14:42:20,700 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963501], Scale 0
2024-01-28 14:42:20,818 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [308, 309, 305], Scale -2
2024-01-28 14:42:20,847 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22282], Scale -1
2024-01-28 14:42:20,848 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.08, 3.09, 3.0500000000000003]
2024-01-28 14:42:20,848 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.08, 3.09, 3.0500000000000003], power=-2194.8, exported=7963501.0, dc_power=-2228.2000000000003)
2024-01-28 14:42:20,850 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:20,917 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449331.3876677, power=727.0, imported=174227.28252015868, exported=132153.6990891164)
2024-01-28 14:42:20,918 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264714, power1: 727, power2: 704
2024-01-28 14:42:20,918 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.89403
2024-01-28 14:42:20,918 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.89403 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449340.9173663, power=704.0, imported=174229.17654775747, exported=132153.6990891164)
2024-01-28 14:42:20,919 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174229.17654775747, exported=132153.6990891164, power=704.0, soc=11.0)
2024-01-28 14:42:20,923 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:20,925 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174229.17654775747, exported=132153.6990891164, power=704.0, soc=11.0)
2024-01-28 14:42:20,968 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:20,971 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:20,972 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2898.8, exported=8005576.48, dc_power=None)
2024-01-28 14:42:20,973 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:20,973 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2898.8, exported=8005576.48, dc_power=None)
2024-01-28 14:42:20,974 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.32086697867, dc_power=None)
2024-01-28 14:42:20,978 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.32086697867, dc_power=None)
2024-01-28 14:42:21,018 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:21,019 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-343.0, 618.0, -278.0], voltages=[239.68, 239.68, 238.54], power_factors=[-0.6909000000000001, 0.8909, -0.7329000000000001], imported=8628773.0, exported=4872917.0, power=-3.0, frequency=49.97)
2024-01-28 14:42:21,084 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:21,085 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:42:21,085 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cb658>
2024-01-28 14:42:21,095 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:21,098 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cb658>
2024-01-28 14:42:21,111 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174229.18, vorherige Payload: 174227.28
2024-01-28 14:42:21,113 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 704.0, vorherige Payload: 727.0
2024-01-28 14:42:21,245 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:42:21,247 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:42:21,248 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25444.21W
2024-01-28 14:42:21,249 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:42:21,251 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:21,252 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:42:21,253 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:42:21.253273
2024-01-28 14:42:21,255 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136368.063497s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:42:21,257 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:42:21.257392
2024-01-28 14:42:21,262 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:42:21.257392
2024-01-28 14:42:21,263 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53210.295403s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:42:21,264 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:42:21.264047
2024-01-28 14:42:21,265 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128586.686264s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:42:21,267 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:42:21.267007
2024-01-28 14:42:21,268 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:42:21.267007
2024-01-28 14:42:21,269 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51913.391378s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:42:21,271 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:42:21,274 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:42:21,278 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:42:21,292 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449331.8301098, power=798.4600000000003, imported=4312406.149784745, exported=0)
2024-01-28 14:42:21,294 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262838, power1: 798.46, power2: 854.59
2024-01-28 14:42:21,295 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.17243
2024-01-28 14:42:21,302 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.17243 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449341.292292, power=854.5900000000001, imported=4312408.322209803, exported=0)
2024-01-28 14:42:21,308 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174229.18, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=704.0))
2024-01-28 14:42:21,310 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174229.18, exported=132153.7, power=704.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:42:21,312 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1441.21, imported=7628341.8, exported=0))
2024-01-28 14:42:21,314 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628341.8, phases_in_use=1, plug_state=True, power=1441.21, 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, 238.97, 239.97]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=189.93999999947846, imported_since_plugged=189.93999999947846, range_charged=0.9496999999973922, time_charged='0:06', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d5040>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:42:21,316 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:42:21,317 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:42:21,319 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-343.0, 618.0, -278.0], currents=[-2.0, 2.8, -1.5], voltages=[239.68, 239.68, 238.54], power_factors=[-0.69, 0.89, -0.73], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-3.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25444.21, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:42:21,321 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=854.5900000000001, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312408.322209803, disengageable_smarthome_power=0))
2024-01-28 14:42:21,324 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:42:21,325 - {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-28 14:42:21,327 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:42:21,328 - {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-28 14:42:21,329 - {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-28 14:42:21,331 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:21,333 - {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=77, soc_timestamp=1706449310.913454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:21,337 - {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-28 14:42:21,338 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:42:21,339 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:21,340 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:21,342 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d5070>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:42:21,343 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:42:21,344 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:42:21,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 0x6f7e3dc0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:42:21,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=438.0, monthly_exported=0, yearly_exported=0, exported=301384.321, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:42:21,349 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005576.48, fault_state=0, fault_str='Kein Fehler.', power=-2898.8))
2024-01-28 14:42:21,350 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306960.801000001, power=-3002.8))
2024-01-28 14:42:21,353 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449332, 'time': '14:42:12', 'grid': -0.0, 'house-power': 0.798, 'charging-all': 1.457, 'pv-all': 2.982, 'cp1-power': 1.457, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.727, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:42:21,354 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:42:21,356 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:42:21,364 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:21,369 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:21,370 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:42:21,371 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:42:21,372 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:42:21,373 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:42:21,374 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:42:21,375 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:21,376 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3.0W
2024-01-28 14:42:21,378 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 3.0W, benötigte neue Leistung: 3220W
2024-01-28 14:42:21,379 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3.0W
2024-01-28 14:42:21,381 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3.0W
2024-01-28 14:42:21,382 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -3.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:42:21,383 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:42:21,386 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:42:21,388 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.5]A verbleibende Ströme, 24064.21W verbleibende Leistung
2024-01-28 14:42:21,389 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:42:21,391 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:42:21,394 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:42:21,396 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -35.79000000000087W
2024-01-28 14:42:21,397 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -35.79000000000087W
2024-01-28 14:42:21,398 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:42:21,399 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:42:21,403 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:42:21,406 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:21,431 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:42:25,724 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:25,726 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:30,738 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:30,740 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:42:30,741 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:42:30,788 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:42:30,789 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:30,791 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:30,797 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:42:30,798 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:30,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 346, -611, 284], Scale 0
2024-01-28 14:42:30,856 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:42:30,858 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.4, "voltage":239.9, "current":0.439, "aenergy":{"total":9443.941,"by_minute":[871.514,1749.199,1757.744],"minute_ts":1706449349},"temperature":{"tC":41.0, "tF":105.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:42","unixtime":1706449351,"uptime":5808745,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:42:30,860 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449340.4085517, power=-104, imported=0.0, exported=301384.32086697867)
2024-01-28 14:42:30,861 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290339, power1: -104, power2: -104
2024-01-28 14:42:30,864 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.301953
2024-01-28 14:42:30,865 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.301953 Wh, new state: SimCounterState(timestamp=1706449350.86076, power=-104, imported=0.0, exported=301384.6228196623)
2024-01-28 14:42:30,867 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:42:30,868 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.6228196623, dc_power=None)
2024-01-28 14:42:30,901 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23957, 23972, 23855, 0, 0, 0, 0], Scale -2
2024-01-28 14:42:30,930 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:42:30,956 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7049, 8840, -7469], Scale -2
2024-01-28 14:42:30,977 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798657, 2184843, 1457591, 8628773, 3551345, 2508571, 3137030], Scale 0
2024-01-28 14:42:30,977 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-346.0, 611.0, -284.0], voltages=[239.57, 239.72, 238.55], power_factors=[-0.7049, 0.884, -0.7469], imported=8628773.0, exported=4872917.0, power=-19.0, frequency=49.97)
2024-01-28 14:42:30,979 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:30,996 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21633], Scale -1
2024-01-28 14:42:31,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963507], Scale 0
2024-01-28 14:42:31,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 306, 303], Scale -2
2024-01-28 14:42:31,150 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22085], Scale -1
2024-01-28 14:42:31,151 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.06, 3.0300000000000002]
2024-01-28 14:42:31,152 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.06, 3.0300000000000002], power=-2163.3, exported=7963507.0, dc_power=-2208.5)
2024-01-28 14:42:31,153 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:31,218 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449340.9173663, power=704.0, imported=174229.17654775747, exported=132153.6990891164)
2024-01-28 14:42:31,218 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286127, power1: 704, power2: 719
2024-01-28 14:42:31,219 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.03579
2024-01-28 14:42:31,219 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.03579 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449351.217943, power=719.0, imported=174231.21234228878, exported=132153.6990891164)
2024-01-28 14:42:31,220 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174231.21234228878, exported=132153.6990891164, power=719.0, soc=11.0)
2024-01-28 14:42:31,237 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:31,239 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174231.21234228878, exported=132153.6990891164, power=719.0, soc=11.0)
2024-01-28 14:42:31,280 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:31,281 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:31,282 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2882.3, exported=8005584.51, dc_power=None)
2024-01-28 14:42:31,284 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2882.3, exported=8005584.51, dc_power=None)
2024-01-28 14:42:31,285 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:31,287 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.6228196623, dc_power=None)
2024-01-28 14:42:31,289 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.6228196623, dc_power=None)
2024-01-28 14:42:31,331 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:31,331 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-346.0, 611.0, -284.0], voltages=[239.57, 239.72, 238.55], power_factors=[-0.7049, 0.884, -0.7469], imported=8628773.0, exported=4872917.0, power=-19.0, frequency=49.97)
2024-01-28 14:42:31,393 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:31,394 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:42:31,395 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e3ac0>
2024-01-28 14:42:31,402 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:31,403 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e3ac0>
2024-01-28 14:42:31,424 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174231.21, vorherige Payload: 174229.18
2024-01-28 14:42:31,426 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 719.0, vorherige Payload: 704.0
2024-01-28 14:42:31,563 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:42:31,567 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.36, 36.47]A
2024-01-28 14:42:31,569 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25479.2W
2024-01-28 14:42:31,571 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:42:31,579 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:31,580 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:42:31,582 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:42:31.582064
2024-01-28 14:42:31,583 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136357.734706s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:42:31,587 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:42:31.586962
2024-01-28 14:42:31,592 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:42:31.586962
2024-01-28 14:42:31,595 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53199.965833s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:42:31,601 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:42:31.601546
2024-01-28 14:42:31,606 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128576.348765s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:42:31,609 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:42:31.609452
2024-01-28 14:42:31,615 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:42:31.609452
2024-01-28 14:42:31,616 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51903.048933s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:42:31,618 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:42:31,624 - {control.chargepoint.chargepoint:667} - {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: 6.16
2024-01-28 14:42:31,626 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:42:31,648 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449341.292292, power=854.5900000000001, imported=4312408.322209803, exported=0)
2024-01-28 14:42:31,655 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287662, power1: 854.59, power2: 788.1
2024-01-28 14:42:31,656 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.3627
2024-01-28 14:42:31,658 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.3627 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449351.6481187, power=788.1000000000001, imported=4312410.684906029, exported=0)
2024-01-28 14:42:31,661 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174231.21, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=719.0))
2024-01-28 14:42:31,662 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174231.21, exported=132153.7, power=719.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:42:31,663 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1460.2, imported=7628346.19, exported=0))
2024-01-28 14:42:31,666 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.16, -0.03, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628346.19, phases_in_use=1, plug_state=True, power=1460.2, 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.98, 238.9, 239.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=193.84999999962747, imported_since_plugged=193.84999999962747, range_charged=0.9692499999981374, time_charged='0:07', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7014de98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:42:31,667 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:42:31,668 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:42:31,675 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-346.0, 611.0, -284.0], currents=[-2.0, 2.8, -1.5], voltages=[239.57, 239.72, 238.55], power_factors=[-0.7, 0.88, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=-19.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25479.2, raw_currents_left=[37.03, 38.36, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:42:31,678 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=788.1000000000001, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312410.684906029, disengageable_smarthome_power=0))
2024-01-28 14:42:31,685 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:42:31,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-28 14:42:31,693 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:42:31,696 - {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-28 14:42:31,704 - {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-28 14:42:31,705 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:31,706 - {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=77, soc_timestamp=1706449310.913454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:31,707 - {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-28 14:42:31,709 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:42:31,714 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:31,719 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:31,721 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e3be0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:42:31,725 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:42:31,726 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:42:31,731 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6ce8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:42:31,733 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301384.623, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:42:31,733 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005584.51, fault_state=0, fault_str='Kein Fehler.', power=-2882.3))
2024-01-28 14:42:31,735 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306969.132999999, power=-2986.3))
2024-01-28 14:42:31,736 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449341, 'time': '14:42:21', 'grid': -0.003, 'house-power': 0.855, 'charging-all': 1.441, 'pv-all': 3.003, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.704, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:42:31,737 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:42:31,738 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:42:31,739 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:31,740 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:31,741 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:42:31,742 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:42:31,743 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:42:31,744 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:42:31,745 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:42:31,746 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:31,747 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:42:31,747 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.16A, Überschuss: 19.0W, benötigte neue Leistung: 3220W
2024-01-28 14:42:31,749 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:42:31,749 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:42:31,750 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -19.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:42:31,751 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:42:31,753 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:42:31,754 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.36, 36.47]A verbleibende Ströme, 24099.2W verbleibende Leistung
2024-01-28 14:42:31,754 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:42:31,756 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:42:31,758 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:42:31,759 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.7999999999992724W
2024-01-28 14:42:31,761 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -0.7999999999992724W
2024-01-28 14:42:31,761 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:42:31,762 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:42:31,764 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:42:31,768 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:31,824 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:42:35,117 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:35,118 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:40,129 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:40,130 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:40,131 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:42:40,131 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:42:40,179 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:42:40,180 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:40,188 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:42:40,190 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:40,191 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:40,230 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:42:40,232 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.3, "voltage":239.9, "current":0.439, "aenergy":{"total":9444.234,"by_minute":[1161.069,1749.199,1757.744],"minute_ts":1706449359},"temperature":{"tC":41.2, "tF":106.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:42","unixtime":1706449360,"uptime":5808754,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:42:40,235 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449350.86076, power=-104, imported=0.0, exported=301384.6228196623)
2024-01-28 14:42:40,235 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260396, power1: -104, power2: -104
2024-01-28 14:42:40,236 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.270811
2024-01-28 14:42:40,236 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.270811 Wh, new state: SimCounterState(timestamp=1706449360.2350035, power=-104, imported=0.0, exported=301384.89363114117)
2024-01-28 14:42:40,238 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.89363114117, dc_power=None)
2024-01-28 14:42:40,282 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3, 344, -621, 274], Scale 0
2024-01-28 14:42:40,317 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:42:40,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23964, 23976, 23858, 0, 0, 0, 0], Scale -2
2024-01-28 14:42:40,356 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:42:40,379 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7179, 8939, -7459], Scale -2
2024-01-28 14:42:40,428 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872917, 1798658, 2184843, 1457592, 8628773, 3551345, 2508573, 3137030], Scale 0
2024-01-28 14:42:40,430 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-344.0, 621.0, -274.0], voltages=[239.64000000000001, 239.76, 238.58], power_factors=[-0.7179000000000001, 0.8939, -0.7459], imported=8628773.0, exported=4872917.0, power=3.0, frequency=49.97)
2024-01-28 14:42:40,433 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:40,470 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21422], Scale -1
2024-01-28 14:42:40,536 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963513], Scale 0
2024-01-28 14:42:40,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [300, 303, 300], Scale -2
2024-01-28 14:42:40,576 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21789], Scale -1
2024-01-28 14:42:40,576 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0, 3.0300000000000002, 3.0]
2024-01-28 14:42:40,577 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0, 3.0300000000000002, 3.0], power=-2142.2000000000003, exported=7963513.0, dc_power=-2178.9)
2024-01-28 14:42:40,578 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:40,747 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449351.217943, power=719.0, imported=174231.21234228878, exported=132153.6990891164)
2024-01-28 14:42:40,748 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264714, power1: 719, power2: 746
2024-01-28 14:42:40,749 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.93903
2024-01-28 14:42:40,749 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.93903 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449360.7476401, power=746.0, imported=174233.15137095106, exported=132153.6990891164)
2024-01-28 14:42:40,751 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174233.15137095106, exported=132153.6990891164, power=746.0, soc=11.0)
2024-01-28 14:42:40,755 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:40,756 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174233.15137095106, exported=132153.6990891164, power=746.0, soc=11.0)
2024-01-28 14:42:40,811 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:40,812 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:40,813 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2888.2000000000003, exported=8005592.45, dc_power=None)
2024-01-28 14:42:40,814 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:40,814 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2888.2000000000003, exported=8005592.45, dc_power=None)
2024-01-28 14:42:40,816 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.89363114117, dc_power=None)
2024-01-28 14:42:40,819 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301384.89363114117, dc_power=None)
2024-01-28 14:42:40,861 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:40,862 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-344.0, 621.0, -274.0], voltages=[239.64000000000001, 239.76, 238.58], power_factors=[-0.7179000000000001, 0.8939, -0.7459], imported=8628773.0, exported=4872917.0, power=3.0, frequency=49.97)
2024-01-28 14:42:40,928 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:40,929 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:42:40,930 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed92280>
2024-01-28 14:42:40,932 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:40,933 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed92280>
2024-01-28 14:42:40,956 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174233.15, vorherige Payload: 174231.21
2024-01-28 14:42:40,957 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 746.0, vorherige Payload: 719.0
2024-01-28 14:42:41,073 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:42:41,075 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.47]A
2024-01-28 14:42:41,076 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25436.43W
2024-01-28 14:42:41,086 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:42:41,088 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:41,093 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:42:41,095 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:42:41.095305
2024-01-28 14:42:41,099 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136348.221465s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:42:41,100 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:42:41.100222
2024-01-28 14:42:41,101 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:42:41.100222
2024-01-28 14:42:41,102 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53190.452573s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:42:41,103 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:42:41.103274
2024-01-28 14:42:41,105 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128566.847037s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:42:41,106 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:42:41.106449
2024-01-28 14:42:41,109 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:42:41.106449
2024-01-28 14:42:41,111 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51893.551936s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:42:41,113 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:42:41,125 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:42:41,129 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:42:41,150 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449351.6481187, power=788.1000000000001, imported=4312410.684906029, exported=0)
2024-01-28 14:42:41,152 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263949, power1: 788.1, power2: 809.77
2024-01-28 14:42:41,155 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.10878
2024-01-28 14:42:41,157 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.10878 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449361.1502728, power=809.7699999999998, imported=4312412.793684778, exported=0)
2024-01-28 14:42:41,161 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174233.15, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=746.0))
2024-01-28 14:42:41,167 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174233.15, exported=132153.7, power=746.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:42:41,169 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1439.43, imported=7628350.1, exported=0))
2024-01-28 14:42:41,172 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.03, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628350.1, phases_in_use=1, plug_state=True, power=1439.43, 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.06, 238.93, 240.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=198.24000000022352, imported_since_plugged=198.24000000022352, range_charged=0.9912000000011176, time_charged='0:07', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d5a48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:42:41,174 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:42:41,174 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:42:41,176 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-344.0, 621.0, -274.0], currents=[-2.0, 2.8, -1.5], voltages=[239.64, 239.76, 238.58], power_factors=[-0.72, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872917.0, fault_state=0, fault_str='Kein Fehler.', power=3.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25436.43, raw_currents_left=[37.03, 38.27, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:42:41,177 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=809.7699999999998, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312412.793684778, disengageable_smarthome_power=0))
2024-01-28 14:42:41,178 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:42:41,181 - {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-28 14:42:41,183 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:42:41,184 - {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-28 14:42:41,185 - {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-28 14:42:41,186 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:41,189 - {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=77, soc_timestamp=1706449310.913454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:41,191 - {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-28 14:42:41,192 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:42:41,196 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:41,197 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:41,199 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c2ef8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:42:41,201 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:42:41,202 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:42:41,203 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cb7a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:42:41,205 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301384.894, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:42:41,208 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005592.45, fault_state=0, fault_str='Kein Fehler.', power=-2888.2))
2024-01-28 14:42:41,209 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306977.3440000005, power=-2992.2))
2024-01-28 14:42:41,210 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449351, 'time': '14:42:31', 'grid': -0.019, 'house-power': 0.788, 'charging-all': 1.46, 'pv-all': 2.986, 'cp1-power': 1.46, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.719, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:42:41,211 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:42:41,213 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:42:41,215 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:41,217 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:41,218 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:42:41,219 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:42:41,220 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:42:41,221 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:42:41,222 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:42:41,222 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:41,224 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 3.0W
2024-01-28 14:42:41,224 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: -3.0W, benötigte neue Leistung: 3220W
2024-01-28 14:42:41,225 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 3.0W
2024-01-28 14:42:41,227 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 3.0W
2024-01-28 14:42:41,228 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 3.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:42:41,229 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:42:41,231 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:42:41,232 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.47]A verbleibende Ströme, 24056.43W verbleibende Leistung
2024-01-28 14:42:41,233 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:42:41,234 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:42:41,236 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:42:41,237 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -43.56999999999971W
2024-01-28 14:42:41,237 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -43.56999999999971W
2024-01-28 14:42:41,238 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:42:41,238 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:42:41,246 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:42:41,271 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:41,288 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:42:45,566 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:50,580 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:50,581 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:42:50,582 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:42:50,582 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:42:50,629 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:42:50,632 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:50,646 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:50,656 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:42:50,662 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:50,723 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:42:50,726 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.1, "voltage":239.8, "current":0.438, "aenergy":{"total":9444.526,"by_minute":[1450.151,1749.199,1757.744],"minute_ts":1706449369},"temperature":{"tC":41.2, "tF":106.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:42","unixtime":1706449371,"uptime":5808765,"ram_size":248996,"ram_free":143388,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:42:50,736 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449360.2350035, power=-104, imported=0.0, exported=301384.89363114117)
2024-01-28 14:42:50,741 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291702, power1: -104, power2: -104
2024-01-28 14:42:50,745 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.30337
2024-01-28 14:42:50,746 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.30337 Wh, new state: SimCounterState(timestamp=1706449370.7362757, power=-104, imported=0.0, exported=301385.197001227)
2024-01-28 14:42:50,752 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301385.197001227, dc_power=None)
2024-01-28 14:42:50,759 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [18, 354, -612, 276], Scale 0
2024-01-28 14:42:50,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 29, 15], Scale -1
2024-01-28 14:42:50,819 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23967, 23986, 23849, 0, 0, 0, 0], Scale -2
2024-01-28 14:42:50,858 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:42:50,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7080, 8849, -7379], Scale -2
2024-01-28 14:42:50,907 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798658, 2184843, 1457593, 8628773, 3551345, 2508574, 3137030], Scale 0
2024-01-28 14:42:50,909 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.9000000000000004, -1.5], powers=[-354.0, 612.0, -276.0], voltages=[239.67000000000002, 239.86, 238.49], power_factors=[-0.708, 0.8848999999999999, -0.7379000000000001], imported=8628773.0, exported=4872918.0, power=-18.0, frequency=49.97)
2024-01-28 14:42:50,914 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:50,951 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21516], Scale -1
2024-01-28 14:42:50,990 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963520], Scale 0
2024-01-28 14:42:51,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 304, 303], Scale -2
2024-01-28 14:42:51,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22007], Scale -1
2024-01-28 14:42:51,030 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.04, 3.0300000000000002]
2024-01-28 14:42:51,030 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.04, 3.0300000000000002], power=-2151.6, exported=7963520.0, dc_power=-2200.7000000000003)
2024-01-28 14:42:51,032 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:51,187 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449360.7476401, power=746.0, imported=174233.15137095106, exported=132153.6990891164)
2024-01-28 14:42:51,188 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289997, power1: 746, power2: 734
2024-01-28 14:42:51,188 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.14598
2024-01-28 14:42:51,189 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.14598 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449371.1875384, power=734.0, imported=174235.2973500363, exported=132153.6990891164)
2024-01-28 14:42:51,190 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174235.2973500363, exported=132153.6990891164, power=734.0, soc=11.0)
2024-01-28 14:42:51,195 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:42:51,197 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174235.2973500363, exported=132153.6990891164, power=734.0, soc=11.0)
2024-01-28 14:42:51,245 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:51,246 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:42:51,247 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:42:51,247 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2885.6, exported=8005601.6, dc_power=None)
2024-01-28 14:42:51,248 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301385.197001227, dc_power=None)
2024-01-28 14:42:51,249 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2885.6, exported=8005601.6, dc_power=None)
2024-01-28 14:42:51,249 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301385.197001227, dc_power=None)
2024-01-28 14:42:51,296 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:42:51,297 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.9000000000000004, -1.5], powers=[-354.0, 612.0, -276.0], voltages=[239.67000000000002, 239.86, 238.49], power_factors=[-0.708, 0.8848999999999999, -0.7379000000000001], imported=8628773.0, exported=4872918.0, power=-18.0, frequency=49.97)
2024-01-28 14:42:51,362 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:51,363 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:42:51,363 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e99e8>
2024-01-28 14:42:51,370 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:42:51,372 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e99e8>
2024-01-28 14:42:51,428 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174235.3, vorherige Payload: 174233.15
2024-01-28 14:42:51,429 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 734.0, vorherige Payload: 746.0
2024-01-28 14:42:51,544 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:42:51,552 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.18, 36.48]A
2024-01-28 14:42:51,554 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25463.13W
2024-01-28 14:42:51,555 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:42:51,559 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:51,561 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:42:51,562 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:42:51.562196
2024-01-28 14:42:51,565 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136337.754574s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:42:51,566 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:42:51.566564
2024-01-28 14:42:51,569 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:42:51.566564
2024-01-28 14:42:51,570 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53179.986231s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:42:51,573 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:42:51.572673
2024-01-28 14:42:51,575 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128556.377638s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:42:51,577 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:42:51.576789
2024-01-28 14:42:51,578 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:42:51.576789
2024-01-28 14:42:51,580 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51883.081596s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:42:51,581 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:42:51,588 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:42:51,589 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:42:51,618 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449361.1502728, power=809.7699999999998, imported=4312412.793684778, exported=0)
2024-01-28 14:42:51,622 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290792, power1: 809.77, power2: 792.47
2024-01-28 14:42:51,623 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.32959
2024-01-28 14:42:51,627 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.32959 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449371.6187692, power=792.4699999999998, imported=4312415.12327416, exported=0)
2024-01-28 14:42:51,629 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174235.3, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=734.0))
2024-01-28 14:42:51,636 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174235.3, exported=132153.7, power=734.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:42:51,638 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1445.13, imported=7628354.0, exported=0))
2024-01-28 14:42:51,642 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, -0.02, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628354.0, phases_in_use=1, plug_state=True, power=1445.13, 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.82, 238.81, 240.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=202.1499999994412, imported_since_plugged=202.1499999994412, range_charged=1.010749999997206, time_charged='0:07', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed5b6d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:42:51,643 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:42:51,652 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:42:51,657 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-354.0, 612.0, -276.0], currents=[-2.0, 2.9, -1.5], voltages=[239.67, 239.86, 238.49], power_factors=[-0.71, 0.88, -0.74], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-18.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25463.13, raw_currents_left=[37.03, 38.18, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:42:51,659 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=792.4699999999998, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312415.12327416, disengageable_smarthome_power=0))
2024-01-28 14:42:51,668 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:42:51,669 - {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-28 14:42:51,670 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:42:51,671 - {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-28 14:42:51,671 - {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-28 14:42:51,672 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:51,672 - {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=77, soc_timestamp=1706449310.913454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:42:51,673 - {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-28 14:42:51,673 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:42:51,674 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:51,674 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:42:51,676 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e3700>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:42:51,676 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:42:51,678 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:42:51,692 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7fde68>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:42:51,695 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301385.197, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:42:51,699 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005601.6, fault_state=0, fault_str='Kein Fehler.', power=-2885.6))
2024-01-28 14:42:51,701 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306986.796999999, power=-2989.6))
2024-01-28 14:42:51,702 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449361, 'time': '14:42:41', 'grid': 0.003, 'house-power': 0.81, 'charging-all': 1.439, 'pv-all': 2.992, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.746, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:42:51,707 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:42:51,709 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:42:51,710 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:51,711 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:42:51,713 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:42:51,714 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:42:51,715 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:42:51,717 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:42:51,719 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:42:51,728 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:42:51,730 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -18.0W
2024-01-28 14:42:51,731 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: 18.0W, benötigte neue Leistung: 3220W
2024-01-28 14:42:51,733 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -18.0W
2024-01-28 14:42:51,735 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -18.0W
2024-01-28 14:42:51,740 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -18.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:42:51,742 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:42:51,745 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:42:51,747 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.18, 36.48]A verbleibende Ströme, 24083.13W verbleibende Leistung
2024-01-28 14:42:51,748 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:42:51,749 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:42:51,752 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:42:51,752 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -16.86999999999898W
2024-01-28 14:42:51,753 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -16.86999999999898W
2024-01-28 14:42:51,753 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:42:51,754 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:42:51,760 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:42:51,792 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:42:51,838 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:42:55,187 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:42:55,188 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:00,200 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:00,204 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:43:00,206 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:43:00,307 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:43:00,309 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:00,319 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:43:00,321 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:00,323 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:00,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [2, 335, -612, 279], Scale 0
2024-01-28 14:43:00,364 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:43:00,367 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.0, "voltage":239.9, "current":0.437, "aenergy":{"total":9444.817,"by_minute":[1738.757,1749.199,1757.744],"minute_ts":1706449379},"temperature":{"tC":41.2, "tF":106.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:43","unixtime":1706449380,"uptime":5808775,"ram_size":248948,"ram_free":144488,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:43:00,373 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449370.7362757, power=-104, imported=0.0, exported=301385.197001227)
2024-01-28 14:43:00,375 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267708, power1: -104, power2: -104
2024-01-28 14:43:00,376 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.278416
2024-01-28 14:43:00,376 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.278416 Wh, new state: SimCounterState(timestamp=1706449380.3737514, power=-104, imported=0.0, exported=301385.4754171925)
2024-01-28 14:43:00,378 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301385.4754171925, dc_power=None)
2024-01-28 14:43:00,404 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:43:00,469 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23958, 23949, 23834, 0, 0, 0, 0], Scale -2
2024-01-28 14:43:00,496 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:43:00,516 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7089, 8889, -7459], Scale -2
2024-01-28 14:43:00,537 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798659, 2184843, 1457593, 8628773, 3551345, 2508576, 3137030], Scale 0
2024-01-28 14:43:00,538 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-335.0, 612.0, -279.0], voltages=[239.58, 239.49, 238.34], power_factors=[-0.7089, 0.8889, -0.7459], imported=8628773.0, exported=4872918.0, power=-2.0, frequency=49.97)
2024-01-28 14:43:00,541 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:00,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21535], Scale -1
2024-01-28 14:43:00,645 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963525], Scale 0
2024-01-28 14:43:00,665 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [302, 303, 301], Scale -2
2024-01-28 14:43:00,687 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21863], Scale -1
2024-01-28 14:43:00,688 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.02, 3.0300000000000002, 3.0100000000000002]
2024-01-28 14:43:00,688 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.02, 3.0300000000000002, 3.0100000000000002], power=-2153.5, exported=7963525.0, dc_power=-2186.3)
2024-01-28 14:43:00,691 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:00,762 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449371.1875384, power=734.0, imported=174235.2973500363, exported=132153.6990891164)
2024-01-28 14:43:00,763 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265977, power1: 734, power2: 733
2024-01-28 14:43:00,763 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.95094
2024-01-28 14:43:00,764 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.95094 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449380.7626953, power=733.0, imported=174237.2482882602, exported=132153.6990891164)
2024-01-28 14:43:00,765 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174237.2482882602, exported=132153.6990891164, power=733.0, soc=11.0)
2024-01-28 14:43:00,785 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:00,790 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174237.2482882602, exported=132153.6990891164, power=733.0, soc=11.0)
2024-01-28 14:43:00,826 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:00,826 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:00,827 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:00,828 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2886.5, exported=8005608.55, dc_power=None)
2024-01-28 14:43:00,829 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301385.4754171925, dc_power=None)
2024-01-28 14:43:00,829 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2886.5, exported=8005608.55, dc_power=None)
2024-01-28 14:43:00,830 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301385.4754171925, dc_power=None)
2024-01-28 14:43:00,870 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:00,871 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-335.0, 612.0, -279.0], voltages=[239.58, 239.49, 238.34], power_factors=[-0.7089, 0.8889, -0.7459], imported=8628773.0, exported=4872918.0, power=-2.0, frequency=49.97)
2024-01-28 14:43:01,139 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:01,143 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:43:01,144 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cbc88>
2024-01-28 14:43:01,151 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:01,156 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cbc88>
2024-01-28 14:43:01,222 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174237.25, vorherige Payload: 174235.3
2024-01-28 14:43:01,224 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 733.0, vorherige Payload: 734.0
2024-01-28 14:43:01,354 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:43:01,359 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:43:01,363 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25443.0W
2024-01-28 14:43:01,365 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:43:01,370 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:01,376 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:43:01,380 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:43:01.380050
2024-01-28 14:43:01,381 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136327.93672s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:43:01,383 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:43:01.383185
2024-01-28 14:43:01,385 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:43:01.383185
2024-01-28 14:43:01,388 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53170.16961s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:43:01,390 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:43:01.390389
2024-01-28 14:43:01,392 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128546.559922s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:43:01,394 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:43:01.393679
2024-01-28 14:43:01,398 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:43:01.393679
2024-01-28 14:43:01,398 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51873.264706s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:43:01,399 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:43:01,413 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:43:01,413 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:43:01,427 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449371.6187692, power=792.4699999999998, imported=4312415.12327416, exported=0)
2024-01-28 14:43:01,430 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00272458, power1: 792.47, power2: 814.5
2024-01-28 14:43:01,443 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.18916
2024-01-28 14:43:01,445 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.18916 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449381.4272568, power=814.5, imported=4312417.312433244, exported=0)
2024-01-28 14:43:01,447 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174237.25, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=733.0))
2024-01-28 14:43:01,448 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174237.25, exported=132153.7, power=733.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:43:01,449 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1441.0, imported=7628357.91, exported=0))
2024-01-28 14:43:01,451 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628357.91, phases_in_use=1, plug_state=True, power=1441.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.04, 238.89, 239.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=206.04999999981374, imported_since_plugged=206.04999999981374, range_charged=1.0302499999990686, time_charged='0:07', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed8d4d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:43:01,452 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:43:01,454 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:43:01,457 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-335.0, 612.0, -279.0], currents=[-2.0, 2.8, -1.5], voltages=[239.58, 239.49, 238.34], power_factors=[-0.71, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-2.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25443.0, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:43:01,461 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=814.5, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312417.312433244, disengageable_smarthome_power=0))
2024-01-28 14:43:01,465 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:43:01,466 - {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-28 14:43:01,468 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:43:01,476 - {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-28 14:43:01,477 - {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-28 14:43:01,480 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:01,481 - {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=77, soc_timestamp=1706449371.687222, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:01,484 - {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-28 14:43:01,489 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:43:01,491 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:01,492 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:01,498 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb5bb0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:43:01,498 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:43:01,499 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:43:01,499 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d5ad8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:43:01,499 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301385.475, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:43:01,500 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005608.55, fault_state=0, fault_str='Kein Fehler.', power=-2886.5))
2024-01-28 14:43:01,500 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8306994.024999999, power=-2990.5))
2024-01-28 14:43:01,501 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449371, 'time': '14:42:51', 'grid': -0.018, 'house-power': 0.792, 'charging-all': 1.445, 'pv-all': 2.99, 'cp1-power': 1.445, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.734, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:43:01,501 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:43:01,502 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:43:01,502 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:01,502 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:01,503 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:43:01,503 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:43:01,503 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:43:01,504 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:43:01,504 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:43:01,505 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:01,505 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2.0W
2024-01-28 14:43:01,506 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 2.0W, benötigte neue Leistung: 3220W
2024-01-28 14:43:01,506 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2.0W
2024-01-28 14:43:01,507 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2.0W
2024-01-28 14:43:01,507 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -2.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:43:01,508 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:43:01,510 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:43:01,511 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.5]A verbleibende Ströme, 24063.0W verbleibende Leistung
2024-01-28 14:43:01,511 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:43:01,512 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:43:01,514 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:43:01,515 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -37.0W
2024-01-28 14:43:01,515 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -37.0W
2024-01-28 14:43:01,516 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:43:01,516 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:43:01,519 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:43:01,541 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:01,570 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:43:05,871 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:05,872 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:10,884 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:10,885 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:10,885 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:43:10,886 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:43:10,933 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:43:10,934 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:10,935 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:10,942 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:43:10,947 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:11,001 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [1, 341, -613, 272], Scale 0
2024-01-28 14:43:11,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:43:11,036 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:43:11,040 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.9, "voltage":239.8, "current":0.437, "aenergy":{"total":9445.139,"by_minute":[318.036,1738.757,1749.199],"minute_ts":1706449390},"temperature":{"tC":41.2, "tF":106.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:43","unixtime":1706449391,"uptime":5808785,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:43:11,049 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23959, 23972, 23844, 0, 0, 0, 0], Scale -2
2024-01-28 14:43:11,057 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449380.3737514, power=-104, imported=0.0, exported=301385.4754171925)
2024-01-28 14:43:11,063 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00296766, power1: -104, power2: -103
2024-01-28 14:43:11,065 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.307152
2024-01-28 14:43:11,065 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.307152 Wh, new state: SimCounterState(timestamp=1706449391.0573096, power=-103, imported=0.0, exported=301385.7825694915)
2024-01-28 14:43:11,084 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301385.7825694915, dc_power=None)
2024-01-28 14:43:11,138 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:43:11,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6980, 8949, -7400], Scale -2
2024-01-28 14:43:11,228 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798660, 2184843, 1457594, 8628773, 3551345, 2508577, 3137030], Scale 0
2024-01-28 14:43:11,229 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-341.0, 613.0, -272.0], voltages=[239.59, 239.72, 238.44], power_factors=[-0.698, 0.8948999999999999, -0.74], imported=8628773.0, exported=4872918.0, power=-1.0, frequency=49.97)
2024-01-28 14:43:11,232 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:11,248 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21828], Scale -1
2024-01-28 14:43:11,266 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963531], Scale 0
2024-01-28 14:43:11,376 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 307, 304], Scale -2
2024-01-28 14:43:11,430 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22160], Scale -1
2024-01-28 14:43:11,431 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.0700000000000003, 3.04]
2024-01-28 14:43:11,431 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.0700000000000003, 3.04], power=-2182.8, exported=7963531.0, dc_power=-2216.0)
2024-01-28 14:43:11,433 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:11,596 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449380.7626953, power=733.0, imported=174237.2482882602, exported=132153.6990891164)
2024-01-28 14:43:11,597 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00300947, power1: 733, power2: 739
2024-01-28 14:43:11,598 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.21497
2024-01-28 14:43:11,598 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.21497 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449391.59677, power=739.0, imported=174239.4632546506, exported=132153.6990891164)
2024-01-28 14:43:11,599 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174239.4632546506, exported=132153.6990891164, power=739.0, soc=11.0)
2024-01-28 14:43:11,603 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:11,604 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174239.4632546506, exported=132153.6990891164, power=739.0, soc=11.0)
2024-01-28 14:43:11,654 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:11,656 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:11,658 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:11,658 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2921.8, exported=8005616.76, dc_power=None)
2024-01-28 14:43:11,659 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301385.7825694915, dc_power=None)
2024-01-28 14:43:11,660 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2921.8, exported=8005616.76, dc_power=None)
2024-01-28 14:43:11,661 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301385.7825694915, dc_power=None)
2024-01-28 14:43:11,723 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:11,724 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-341.0, 613.0, -272.0], voltages=[239.59, 239.72, 238.44], power_factors=[-0.698, 0.8948999999999999, -0.74], imported=8628773.0, exported=4872918.0, power=-1.0, frequency=49.97)
2024-01-28 14:43:11,800 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:11,801 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:43:11,801 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x7013fcd0>
2024-01-28 14:43:11,811 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:11,812 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x7013fcd0>
2024-01-28 14:43:11,848 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174239.46, vorherige Payload: 174237.25
2024-01-28 14:43:11,850 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 739.0, vorherige Payload: 733.0
2024-01-28 14:43:11,974 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:43:11,976 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.35, 36.5]A
2024-01-28 14:43:11,978 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25449.76W
2024-01-28 14:43:11,979 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:43:11,982 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:11,983 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:43:11,986 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:43:11.985671
2024-01-28 14:43:11,988 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136317.331099s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:43:11,990 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:43:11.989730
2024-01-28 14:43:11,991 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:43:11.989730
2024-01-28 14:43:11,993 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53159.563065s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:43:11,995 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:43:11.994582
2024-01-28 14:43:11,996 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128535.955729s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:43:11,997 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:43:11.996787
2024-01-28 14:43:11,999 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:43:11.996787
2024-01-28 14:43:12,001 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51862.661598s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:43:12,002 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:43:12,016 - {control.chargepoint.chargepoint:667} - {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: 6.15
2024-01-28 14:43:12,019 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:43:12,031 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449381.4272568, power=814.5, imported=4312417.312433244, exported=0)
2024-01-28 14:43:12,032 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294547, power1: 814.5, power2: 836.04
2024-01-28 14:43:12,032 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.43081
2024-01-28 14:43:12,034 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.43081 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449392.0309432, power=836.0400000000002, imported=4312419.743239972, exported=0)
2024-01-28 14:43:12,039 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174239.46, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=739.0))
2024-01-28 14:43:12,043 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174239.46, exported=132153.7, power=739.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:43:12,049 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1448.76, imported=7628361.82, exported=0))
2024-01-28 14:43:12,050 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.15, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628361.82, phases_in_use=1, plug_state=True, power=1448.76, 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.95, 239.04, 239.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=209.95999999996275, imported_since_plugged=209.95999999996275, range_charged=1.0497999999998138, time_charged='0:07', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f6b80>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:43:12,052 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:43:12,053 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:43:12,055 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-341.0, 613.0, -272.0], currents=[-2.0, 2.8, -1.5], voltages=[239.59, 239.72, 238.44], power_factors=[-0.7, 0.89, -0.74], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-1.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25449.76, raw_currents_left=[37.03, 38.35, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:43:12,056 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=836.0400000000002, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312419.743239972, disengageable_smarthome_power=0))
2024-01-28 14:43:12,058 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:43:12,059 - {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-28 14:43:12,066 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:43:12,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-28 14:43:12,071 - {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-28 14:43:12,073 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:12,079 - {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=77, soc_timestamp=1706449371.687222, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:12,081 - {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-28 14:43:12,083 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:43:12,086 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:12,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=2, keep_charge_active_duration=40)
2024-01-28 14:43:12,091 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c3ec8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:43:12,096 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:43:12,099 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:43:12,104 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6eda68c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:43:12,106 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301385.783, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:43:12,107 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005616.76, fault_state=0, fault_str='Kein Fehler.', power=-2921.8))
2024-01-28 14:43:12,108 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307002.543, power=-3024.8))
2024-01-28 14:43:12,115 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449381, 'time': '14:43:01', 'grid': -0.002, 'house-power': 0.815, 'charging-all': 1.441, 'pv-all': 2.99, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.733, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:43:12,119 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:43:12,124 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:43:12,125 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:12,128 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:12,129 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:43:12,131 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:43:12,131 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:43:12,132 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:43:12,133 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:43:12,134 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:12,135 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -1.0W
2024-01-28 14:43:12,136 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.15A, Überschuss: 1.0W, benötigte neue Leistung: 3220W
2024-01-28 14:43:12,137 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -1.0W
2024-01-28 14:43:12,139 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -1.0W
2024-01-28 14:43:12,140 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -1.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:43:12,142 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:43:12,145 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:43:12,147 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.35, 36.5]A verbleibende Ströme, 24069.76W verbleibende Leistung
2024-01-28 14:43:12,148 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:43:12,150 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:43:12,152 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:43:12,153 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -30.2400000000016W
2024-01-28 14:43:12,154 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -30.2400000000016W
2024-01-28 14:43:12,155 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:43:12,156 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:43:12,158 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:43:12,166 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:12,210 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:43:15,468 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:20,481 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:20,482 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:20,483 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:43:20,484 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:43:20,533 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:43:20,534 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:20,544 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:43:20,537 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:20,550 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:20,587 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 359, -603, 291], Scale 0
2024-01-28 14:43:20,594 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:43:20,596 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.9, "voltage":239.9, "current":0.437, "aenergy":{"total":9445.400,"by_minute":[577.686,1738.757,1749.199],"minute_ts":1706449399},"temperature":{"tC":41.2, "tF":106.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:43","unixtime":1706449401,"uptime":5808795,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:43:20,598 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449391.0573096, power=-103, imported=0.0, exported=301385.7825694915)
2024-01-28 14:43:20,599 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265023, power1: -103, power2: -103
2024-01-28 14:43:20,599 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.272974
2024-01-28 14:43:20,600 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.272974 Wh, new state: SimCounterState(timestamp=1706449400.5981467, power=-103, imported=0.0, exported=301386.0555434404)
2024-01-28 14:43:20,601 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301386.0555434404, dc_power=None)
2024-01-28 14:43:20,668 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:43:20,699 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23949, 23983, 23849, 0, 0, 0, 0], Scale -2
2024-01-28 14:43:20,719 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:43:20,746 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6800, 8960, -7469], Scale -2
2024-01-28 14:43:20,788 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798661, 2184843, 1457595, 8628773, 3551345, 2508580, 3137030], Scale 0
2024-01-28 14:43:20,789 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-359.0, 603.0, -291.0], voltages=[239.49, 239.83, 238.49], power_factors=[-0.68, 0.8960000000000001, -0.7469], imported=8628773.0, exported=4872918.0, power=-46.0, frequency=49.97)
2024-01-28 14:43:20,794 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:20,817 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22269], Scale -1
2024-01-28 14:43:20,837 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963538], Scale 0
2024-01-28 14:43:20,856 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [312, 310, 312], Scale -2
2024-01-28 14:43:20,931 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22608], Scale -1
2024-01-28 14:43:20,933 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.12, 3.1, 3.12]
2024-01-28 14:43:20,939 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.12, 3.1, 3.12], power=-2226.9, exported=7963538.0, dc_power=-2260.8)
2024-01-28 14:43:20,951 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:21,015 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449391.59677, power=739.0, imported=174239.4632546506, exported=132153.6990891164)
2024-01-28 14:43:21,016 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261624, power1: 739, power2: 789
2024-01-28 14:43:21,016 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 1.9988
2024-01-28 14:43:21,017 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 1.9988 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449401.0152183, power=789.0, imported=174241.46205865956, exported=132153.6990891164)
2024-01-28 14:43:21,021 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174241.46205865956, exported=132153.6990891164, power=789.0, soc=11.0)
2024-01-28 14:43:21,026 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:21,028 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174241.46205865956, exported=132153.6990891164, power=789.0, soc=11.0)
2024-01-28 14:43:21,193 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:21,198 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:21,208 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3015.9, exported=8005625.76, dc_power=None)
2024-01-28 14:43:21,201 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:21,210 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3015.9, exported=8005625.76, dc_power=None)
2024-01-28 14:43:21,211 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301386.0555434404, dc_power=None)
2024-01-28 14:43:21,225 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301386.0555434404, dc_power=None)
2024-01-28 14:43:21,274 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:21,275 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-359.0, 603.0, -291.0], voltages=[239.49, 239.83, 238.49], power_factors=[-0.68, 0.8960000000000001, -0.7469], imported=8628773.0, exported=4872918.0, power=-46.0, frequency=49.97)
2024-01-28 14:43:21,336 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:21,337 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:43:21,338 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c20e8>
2024-01-28 14:43:21,340 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:21,341 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c20e8>
2024-01-28 14:43:21,366 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174241.46, vorherige Payload: 174239.46
2024-01-28 14:43:21,367 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 789.0, vorherige Payload: 739.0
2024-01-28 14:43:21,491 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:43:21,498 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.47]A
2024-01-28 14:43:21,501 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25485.57W
2024-01-28 14:43:21,502 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:43:21,509 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:21,514 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:43:21,515 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:43:21.515385
2024-01-28 14:43:21,516 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136307.801385s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:43:21,518 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:43:21.518172
2024-01-28 14:43:21,519 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:43:21.518172
2024-01-28 14:43:21,520 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53150.034623s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:43:21,522 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:43:21.521612
2024-01-28 14:43:21,524 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128526.428699s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:43:21,526 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:43:21.526080
2024-01-28 14:43:21,527 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:43:21.526080
2024-01-28 14:43:21,528 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51853.132305s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:43:21,528 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:43:21,532 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:43:21,533 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:43:21,561 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449392.0309432, power=836.0400000000002, imported=4312419.743239972, exported=0)
2024-01-28 14:43:21,563 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264744, power1: 836.04, power2: 844.33
2024-01-28 14:43:21,566 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.22434
2024-01-28 14:43:21,567 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.22434 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449401.5617373, power=844.3300000000002, imported=4312421.967581715, exported=0)
2024-01-28 14:43:21,579 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174241.46, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=789.0))
2024-01-28 14:43:21,581 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174241.46, exported=132153.7, power=789.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:43:21,583 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1439.57, imported=7628366.21, exported=0))
2024-01-28 14:43:21,586 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.03, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628366.21, phases_in_use=1, plug_state=True, power=1439.57, 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, 238.82, 239.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=213.87000000011176, imported_since_plugged=213.87000000011176, range_charged=1.0693500000005587, time_charged='0:07', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d6610>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:43:21,588 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:43:21,588 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:43:21,590 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-359.0, 603.0, -291.0], currents=[-2.0, 2.8, -1.5], voltages=[239.49, 239.83, 238.49], power_factors=[-0.68, 0.9, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-46.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25485.57, raw_currents_left=[37.03, 38.27, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:43:21,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=844.3300000000002, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312421.967581715, disengageable_smarthome_power=0))
2024-01-28 14:43:21,596 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:43:21,601 - {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-28 14:43:21,603 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:43:21,605 - {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-28 14:43:21,607 - {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-28 14:43:21,608 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:21,609 - {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=77, soc_timestamp=1706449371.687222, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:21,610 - {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-28 14:43:21,612 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:43:21,615 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:21,617 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:21,618 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d6208>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:43:21,624 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:43:21,626 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:43:21,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 0x6ed8baf0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:43:21,632 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301386.056, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:43:21,633 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005625.76, fault_state=0, fault_str='Kein Fehler.', power=-3015.9))
2024-01-28 14:43:21,635 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307011.816, power=-3118.9))
2024-01-28 14:43:21,636 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449392, 'time': '14:43:12', 'grid': -0.001, 'house-power': 0.836, 'charging-all': 1.449, 'pv-all': 3.025, 'cp1-power': 1.449, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.739, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:43:21,641 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:43:21,643 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:43:21,644 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:21,645 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:21,645 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:43:21,646 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:43:21,646 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:43:21,647 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:43:21,647 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:43:21,647 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:21,648 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -46.0W
2024-01-28 14:43:21,648 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 46.0W, benötigte neue Leistung: 3220W
2024-01-28 14:43:21,649 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -46.0W
2024-01-28 14:43:21,649 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -46.0W
2024-01-28 14:43:21,650 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -46.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:43:21,650 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:43:21,652 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:43:21,653 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.47]A verbleibende Ströme, 24105.57W verbleibende Leistung
2024-01-28 14:43:21,654 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:43:21,655 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:43:21,657 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:43:21,658 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 5.569999999999709W
2024-01-28 14:43:21,658 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 5.569999999999709W
2024-01-28 14:43:21,659 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-28 14:43:21,660 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-28 14:43:21,661 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:43:21,661 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 5.569999999999709W korrigieren: [0.0, 26.0, 0.0]
2024-01-28 14:43:21,662 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.245782608695656, 36.47]A verbleibende Ströme, 3.375077994860476e-14W verbleibender Überschuss
2024-01-28 14:43:21,663 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6.024217391304346A
2024-01-28 14:43:21,664 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:43:21,669 - {control.process:111} - {INFO:MainThread} - LP1: set current 6.02 A, state CHARGING_ALLOWED
2024-01-28 14:43:21,682 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:21,711 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:43:21,991 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:43:21,996 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:43:25,010 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:25,011 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:30,024 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:30,027 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:43:30,029 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:43:30,122 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:43:30,124 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:30,126 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:30,136 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:43:30,140 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:30,185 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:43:30,187 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.2, "voltage":239.9, "current":0.438, "aenergy":{"total":9445.692,"by_minute":[866.767,1738.757,1749.199],"minute_ts":1706449409},"temperature":{"tC":41.2, "tF":106.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:43","unixtime":1706449410,"uptime":5808804,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:43:30,189 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449400.5981467, power=-103, imported=0.0, exported=301386.0555434404)
2024-01-28 14:43:30,190 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266424, power1: -103, power2: -104
2024-01-28 14:43:30,190 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.275748
2024-01-28 14:43:30,191 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.275748 Wh, new state: SimCounterState(timestamp=1706449410.189398, power=-104, imported=0.0, exported=301386.33129191736)
2024-01-28 14:43:30,192 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.33129191736, dc_power=None)
2024-01-28 14:43:30,207 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [34, 348, -601, 287], Scale 0
2024-01-28 14:43:30,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:43:30,276 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23975, 23970, 23872, 0, 0, 0, 0], Scale -2
2024-01-28 14:43:30,296 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:43:30,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7110, 8909, -7390], Scale -2
2024-01-28 14:43:30,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798662, 2184843, 1457596, 8628773, 3551345, 2508581, 3137030], Scale 0
2024-01-28 14:43:30,359 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-348.0, 601.0, -287.0], voltages=[239.75, 239.70000000000002, 238.72], power_factors=[-0.7110000000000001, 0.8909, -0.7390000000000001], imported=8628773.0, exported=4872918.0, power=-34.0, frequency=50.0)
2024-01-28 14:43:30,364 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:30,410 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21926], Scale -1
2024-01-28 14:43:30,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963544], Scale 0
2024-01-28 14:43:30,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 309, 304], Scale -2
2024-01-28 14:43:30,536 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22260], Scale -1
2024-01-28 14:43:30,537 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.09, 3.04]
2024-01-28 14:43:30,537 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.09, 3.04], power=-2192.6, exported=7963544.0, dc_power=-2226.0)
2024-01-28 14:43:30,542 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:30,587 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449401.0152183, power=789.0, imported=174241.46205865956, exported=132153.6990891164)
2024-01-28 14:43:30,587 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265884, power1: 789, power2: 889
2024-01-28 14:43:30,588 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.23077
2024-01-28 14:43:30,588 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.23077 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449410.5870492, power=889.0, imported=174243.69282704813, exported=132153.6990891164)
2024-01-28 14:43:30,590 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174243.69282704813, exported=132153.6990891164, power=889.0, soc=11.0)
2024-01-28 14:43:30,607 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:30,608 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174243.69282704813, exported=132153.6990891164, power=889.0, soc=11.0)
2024-01-28 14:43:30,638 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:30,639 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:30,641 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3081.6, exported=8005633.99, dc_power=None)
2024-01-28 14:43:30,642 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3081.6, exported=8005633.99, dc_power=None)
2024-01-28 14:43:30,653 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:30,654 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.33129191736, dc_power=None)
2024-01-28 14:43:30,655 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.33129191736, dc_power=None)
2024-01-28 14:43:30,689 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:30,690 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-348.0, 601.0, -287.0], voltages=[239.75, 239.70000000000002, 238.72], power_factors=[-0.7110000000000001, 0.8909, -0.7390000000000001], imported=8628773.0, exported=4872918.0, power=-34.0, frequency=50.0)
2024-01-28 14:43:30,752 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:30,753 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:43:30,754 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cb6b8>
2024-01-28 14:43:30,756 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:30,757 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cb6b8>
2024-01-28 14:43:30,789 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174243.69, vorherige Payload: 174241.46
2024-01-28 14:43:30,790 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 889.0, vorherige Payload: 789.0
2024-01-28 14:43:30,791 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload , da die maximale Leistung an Zähler {} erreicht ist., vorherige Payload: None
2024-01-28 14:43:30,792 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 32, vorherige Payload: 6
2024-01-28 14:43:30,915 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:43:30,924 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.3, 36.5]A
2024-01-28 14:43:30,926 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25474.93W
2024-01-28 14:43:30,927 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:43:30,932 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:30,934 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:43:30,935 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:43:30.935365
2024-01-28 14:43:30,937 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136298.381405s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:43:30,939 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:43:30.938567
2024-01-28 14:43:30,940 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:43:30.938567
2024-01-28 14:43:30,941 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53140.614228s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:43:30,943 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:43:30.943436
2024-01-28 14:43:30,944 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128517.006875s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:43:30,947 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:43:30.946859
2024-01-28 14:43:30,948 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:43:30.946859
2024-01-28 14:43:30,950 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51843.711526s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:43:30,951 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:43:30,959 - {control.chargepoint.chargepoint:667} - {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: 6.1
2024-01-28 14:43:30,965 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:43:30,983 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449401.5617373, power=844.3300000000002, imported=4312421.967581715, exported=0)
2024-01-28 14:43:30,985 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261704, power1: 844.33, power2: 821.67
2024-01-28 14:43:30,986 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.18
2024-01-28 14:43:30,991 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.18 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449410.9830894, power=821.6699999999998, imported=4312424.147577921, exported=0)
2024-01-28 14:43:30,994 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174243.69, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=889.0))
2024-01-28 14:43:30,998 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174243.69, exported=132153.7, power=889.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:43:30,999 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1440.93, imported=7628369.14, exported=0))
2024-01-28 14:43:31,002 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.1, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=602, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628369.14, phases_in_use=1, plug_state=True, power=1440.93, 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.09, 240.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6.02, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=218.25999999977648, imported_since_plugged=218.25999999977648, range_charged=1.0912999999988824, time_charged='0:08', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c3100>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:43:31,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-28 14:43:31,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-28 14:43:31,006 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-348.0, 601.0, -287.0], currents=[-2.0, 2.8, -1.5], voltages=[239.75, 239.7, 238.72], power_factors=[-0.71, 0.89, -0.74], unbalanced_load=0, frequency=50.0, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-34.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25474.93, raw_currents_left=[37.03, 38.3, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:43:31,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=821.6699999999998, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312424.147577921, disengageable_smarthome_power=0))
2024-01-28 14:43:31,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-28 14:43:31,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-28 14:43:31,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:43:31,015 - {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-28 14:43:31,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-28 14:43:31,017 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:31,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=77, soc_timestamp=1706449371.687222, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:31,021 - {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-28 14:43:31,026 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:43:31,027 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:31,027 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:31,030 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c26d0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:43:31,031 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:43:31,032 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:43:31,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 0x6f7d5730>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:43:31,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=438.0, monthly_exported=0, yearly_exported=0, exported=301386.331, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:43:31,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=4933.0, monthly_exported=0, yearly_exported=0, exported=8005633.99, fault_state=0, fault_str='Kein Fehler.', power=-3081.6))
2024-01-28 14:43:31,040 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307020.321, power=-3185.6))
2024-01-28 14:43:31,041 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449401, 'time': '14:43:21', 'grid': -0.046, 'house-power': 0.844, 'charging-all': 1.44, 'pv-all': 3.119, 'cp1-power': 1.44, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.789, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:43:31,042 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:43:31,044 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:43:31,045 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:31,047 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:31,051 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:43:31,070 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:43:31,072 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:43:31,073 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:43:31,075 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:43:31,077 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:31,079 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -34.0W
2024-01-28 14:43:31,080 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.1A, Überschuss: 34.0W, benötigte neue Leistung: 3220W
2024-01-28 14:43:31,082 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -34.0W
2024-01-28 14:43:31,084 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -34.0W
2024-01-28 14:43:31,091 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -34.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:43:31,092 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:43:31,095 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:43:31,101 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.3, 36.5]A verbleibende Ströme, 24094.93W verbleibende Leistung
2024-01-28 14:43:31,112 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:43:31,115 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:43:31,120 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:43:31,122 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.069999999999709W
2024-01-28 14:43:31,125 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -5.069999999999709W
2024-01-28 14:43:31,128 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:43:31,130 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:43:31,135 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:43:31,138 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:31,158 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:43:31,568 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:43:31,572 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:43:35,596 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:35,597 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:40,608 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:40,609 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:40,610 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:43:40,610 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:43:40,661 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:43:40,663 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:40,664 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:40,670 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:43:40,672 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:40,702 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-22, 338, -628, 268], Scale 0
2024-01-28 14:43:40,716 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:43:40,717 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.1, "voltage":240.0, "current":0.438, "aenergy":{"total":9445.985,"by_minute":[1156.323,1738.757,1749.199],"minute_ts":1706449419},"temperature":{"tC":41.2, "tF":106.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:43","unixtime":1706449421,"uptime":5808815,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:43:40,719 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449410.189398, power=-104, imported=0.0, exported=301386.33129191736)
2024-01-28 14:43:40,720 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292512, power1: -104, power2: -104
2024-01-28 14:43:40,721 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.304212
2024-01-28 14:43:40,721 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.304212 Wh, new state: SimCounterState(timestamp=1706449420.7198186, power=-104, imported=0.0, exported=301386.63550406636)
2024-01-28 14:43:40,722 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.63550406636, dc_power=None)
2024-01-28 14:43:40,747 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:43:40,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23962, 23985, 23861, 0, 0, 0, 0], Scale -2
2024-01-28 14:43:40,808 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:43:40,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7089, 8889, -7509], Scale -2
2024-01-28 14:43:40,917 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798663, 2184843, 1457596, 8628773, 3551345, 2508582, 3137030], Scale 0
2024-01-28 14:43:40,917 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-338.0, 628.0, -268.0], voltages=[239.62, 239.85, 238.61], power_factors=[-0.7089, 0.8889, -0.7509], imported=8628773.0, exported=4872918.0, power=22.0, frequency=49.99)
2024-01-28 14:43:40,919 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:40,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21613], Scale -1
2024-01-28 14:43:40,956 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963550], Scale 0
2024-01-28 14:43:40,987 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [301, 305, 301], Scale -2
2024-01-28 14:43:41,031 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21942], Scale -1
2024-01-28 14:43:41,032 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0100000000000002, 3.0500000000000003, 3.0100000000000002]
2024-01-28 14:43:41,032 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0100000000000002, 3.0500000000000003, 3.0100000000000002], power=-2161.3, exported=7963550.0, dc_power=-2194.2000000000003)
2024-01-28 14:43:41,034 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:41,118 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449410.5870492, power=889.0, imported=174243.69282704813, exported=132153.6990891164)
2024-01-28 14:43:41,119 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0029253, power1: 889, power2: 981
2024-01-28 14:43:41,119 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.73516
2024-01-28 14:43:41,120 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.73516 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449421.118139, power=981.0, imported=174246.42798508893, exported=132153.6990891164)
2024-01-28 14:43:41,121 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174246.42798508893, exported=132153.6990891164, power=981.0, soc=11.0)
2024-01-28 14:43:41,134 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:41,135 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174246.42798508893, exported=132153.6990891164, power=981.0, soc=11.0)
2024-01-28 14:43:41,190 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:41,192 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:41,193 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3142.3, exported=8005642.73, dc_power=None)
2024-01-28 14:43:41,194 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:41,194 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3142.3, exported=8005642.73, dc_power=None)
2024-01-28 14:43:41,195 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.63550406636, dc_power=None)
2024-01-28 14:43:41,197 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.63550406636, dc_power=None)
2024-01-28 14:43:41,239 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:41,241 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-338.0, 628.0, -268.0], voltages=[239.62, 239.85, 238.61], power_factors=[-0.7089, 0.8889, -0.7509], imported=8628773.0, exported=4872918.0, power=22.0, frequency=49.99)
2024-01-28 14:43:41,536 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:41,537 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:43:41,538 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6160>
2024-01-28 14:43:41,543 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:41,544 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6160>
2024-01-28 14:43:41,564 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174246.43, vorherige Payload: 174243.69
2024-01-28 14:43:41,565 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 981.0, vorherige Payload: 889.0
2024-01-28 14:43:41,567 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/limit, Payload None, vorherige Payload: , da die maximale Leistung an Zähler {} erreicht ist.
2024-01-28 14:43:41,569 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 6, vorherige Payload: 32
2024-01-28 14:43:41,689 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:43:41,693 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.31, 36.48]A
2024-01-28 14:43:41,694 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25424.7W
2024-01-28 14:43:41,695 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:43:41,697 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:41,699 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:43:41,701 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:43:41.700414
2024-01-28 14:43:41,702 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136287.616356s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:43:41,704 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:43:41.703816
2024-01-28 14:43:41,706 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:43:41.703816
2024-01-28 14:43:41,707 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53129.848979s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:43:41,710 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:43:41.709968
2024-01-28 14:43:41,711 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128506.240343s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:43:41,714 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:43:41.714018
2024-01-28 14:43:41,715 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:43:41.714018
2024-01-28 14:43:41,716 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51832.944367s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:43:41,717 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:43:41,721 - {control.chargepoint.chargepoint:667} - {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: 6.11
2024-01-28 14:43:41,722 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:43:41,729 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449410.9830894, power=821.6699999999998, imported=4312424.147577921, exported=0)
2024-01-28 14:43:41,730 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00298496, power1: 821.67, power2: 840.6
2024-01-28 14:43:41,736 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.48091
2024-01-28 14:43:41,737 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.48091 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449421.728948, power=840.6000000000001, imported=4312426.628483267, exported=0)
2024-01-28 14:43:41,756 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, imported=174246.43, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=981.0))
2024-01-28 14:43:41,757 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174246.43, exported=132153.7, power=981.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:43:41,759 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1446.7, imported=7628374.02, exported=0))
2024-01-28 14:43:41,762 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.11, -0.02, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628374.02, phases_in_use=1, plug_state=True, power=1446.7, 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.16, 239.15, 240.17]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=221.18999999947846, imported_since_plugged=221.18999999947846, range_charged=1.1059499999973923, time_charged='0:08', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fd208>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:43:41,764 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:43:41,765 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:43:41,775 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-338.0, 628.0, -268.0], currents=[-2.0, 2.8, -1.5], voltages=[239.62, 239.85, 238.61], power_factors=[-0.71, 0.89, -0.75], unbalanced_load=0, frequency=49.99, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=22.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25424.7, raw_currents_left=[37.03, 38.31, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:43:41,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=840.6000000000001, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312426.628483267, disengageable_smarthome_power=0))
2024-01-28 14:43:41,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-28 14:43:41,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-28 14:43:41,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:43:41,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-28 14:43:41,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-28 14:43:41,788 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:41,789 - {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=77, soc_timestamp=1706449371.687222, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:41,790 - {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-28 14:43:41,791 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:43:41,793 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:41,794 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:41,795 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7cf250>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:43:41,796 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:43:41,798 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:43:41,799 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6940>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:43:41,800 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301386.636, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:43:41,801 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005642.73, fault_state=0, fault_str='Kein Fehler.', power=-3142.3))
2024-01-28 14:43:41,805 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307029.366, power=-3246.3))
2024-01-28 14:43:41,806 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449411, 'time': '14:43:31', 'grid': -0.034, 'house-power': 0.822, 'charging-all': 1.441, 'pv-all': 3.186, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.889, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:43:41,808 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:43:41,809 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:43:41,811 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:41,812 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:41,813 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:43:41,816 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:43:41,817 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:43:41,835 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:43:41,841 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:43:41,842 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:41,846 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 22.0W
2024-01-28 14:43:41,847 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.11A, Überschuss: -22.0W, benötigte neue Leistung: 3220W
2024-01-28 14:43:41,848 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 22.0W
2024-01-28 14:43:41,851 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 22.0W
2024-01-28 14:43:41,855 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 22.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:43:41,856 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:43:41,858 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:43:41,860 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.31, 36.48]A verbleibende Ströme, 24044.7W verbleibende Leistung
2024-01-28 14:43:41,862 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:43:41,864 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:43:41,868 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:43:41,871 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -55.29999999999927W
2024-01-28 14:43:41,873 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -55.29999999999927W
2024-01-28 14:43:41,875 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:43:41,877 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:43:41,885 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:43:41,892 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:41,964 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:43:45,261 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:50,280 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:50,281 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:43:50,282 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:43:50,283 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:43:50,335 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:43:50,336 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:50,343 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:43:50,345 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:50,346 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:50,388 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:43:50,390 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":104.0, "voltage":239.9, "current":0.437, "aenergy":{"total":9446.277,"by_minute":[1445.404,1738.757,1749.199],"minute_ts":1706449429},"temperature":{"tC":41.3, "tF":106.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:43","unixtime":1706449430,"uptime":5808825,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:43:50,392 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449420.7198186, power=-104, imported=0.0, exported=301386.63550406636)
2024-01-28 14:43:50,392 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00268672, power1: -104, power2: -104
2024-01-28 14:43:50,393 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.279419
2024-01-28 14:43:50,393 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.279419 Wh, new state: SimCounterState(timestamp=1706449430.3920171, power=-104, imported=0.0, exported=301386.91492313513)
2024-01-28 14:43:50,395 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.91492313513, dc_power=None)
2024-01-28 14:43:50,429 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7, 350, -634, 277], Scale 0
2024-01-28 14:43:50,446 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:43:50,466 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23972, 23966, 23853, 0, 0, 0, 0], Scale -2
2024-01-28 14:43:50,495 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:43:50,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7089, 8949, -7500], Scale -2
2024-01-28 14:43:50,561 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798664, 2184843, 1457597, 8628773, 3551345, 2508584, 3137030], Scale 0
2024-01-28 14:43:50,562 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-350.0, 634.0, -277.0], voltages=[239.72, 239.66, 238.53], power_factors=[-0.7089, 0.8948999999999999, -0.75], imported=8628773.0, exported=4872918.0, power=7.0, frequency=49.97)
2024-01-28 14:43:50,564 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:50,585 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21918], Scale -1
2024-01-28 14:43:50,627 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963556], Scale 0
2024-01-28 14:43:50,647 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 306, 307], Scale -2
2024-01-28 14:43:50,686 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22252], Scale -1
2024-01-28 14:43:50,686 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.06, 3.0700000000000003]
2024-01-28 14:43:50,687 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.06, 3.0700000000000003], power=-2191.8, exported=7963556.0, dc_power=-2225.2000000000003)
2024-01-28 14:43:50,688 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:50,726 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449421.118139, power=981.0, imported=174246.42798508893, exported=132153.6990891164)
2024-01-28 14:43:50,727 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266902, power1: 981, power2: 989
2024-01-28 14:43:50,727 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.62898
2024-01-28 14:43:50,728 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.62898 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449430.7266114, power=989.0, imported=174249.05696988394, exported=132153.6990891164)
2024-01-28 14:43:50,729 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174249.05696988394, exported=132153.6990891164, power=989.0, soc=12.0)
2024-01-28 14:43:50,738 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:43:50,742 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174249.05696988394, exported=132153.6990891164, power=989.0, soc=12.0)
2024-01-28 14:43:50,782 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:50,783 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:43:50,785 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:43:50,787 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3180.8, exported=8005651.36, dc_power=None)
2024-01-28 14:43:50,788 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.91492313513, dc_power=None)
2024-01-28 14:43:50,788 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3180.8, exported=8005651.36, dc_power=None)
2024-01-28 14:43:50,789 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-104, exported=301386.91492313513, dc_power=None)
2024-01-28 14:43:50,831 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:43:50,832 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-350.0, 634.0, -277.0], voltages=[239.72, 239.66, 238.53], power_factors=[-0.7089, 0.8948999999999999, -0.75], imported=8628773.0, exported=4872918.0, power=7.0, frequency=49.97)
2024-01-28 14:43:50,897 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:50,898 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:43:50,898 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e34d8>
2024-01-28 14:43:50,910 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:43:50,912 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e34d8>
2024-01-28 14:43:50,927 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/soc, Payload 12, vorherige Payload: 11
2024-01-28 14:43:50,928 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174249.06, vorherige Payload: 174246.43
2024-01-28 14:43:50,930 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 989.0, vorherige Payload: 981.0
2024-01-28 14:43:51,053 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:43:51,057 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.32, 36.48]A
2024-01-28 14:43:51,058 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25440.56W
2024-01-28 14:43:51,060 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:43:51,062 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:51,064 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:43:51,066 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:43:51.066139
2024-01-28 14:43:51,067 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136278.250631s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:43:51,069 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:43:51.068634
2024-01-28 14:43:51,069 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:43:51.068634
2024-01-28 14:43:51,070 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53120.484161s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:43:51,072 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:43:51.072052
2024-01-28 14:43:51,073 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128496.878259s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:43:51,074 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:43:51.074437
2024-01-28 14:43:51,077 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:43:51.074437
2024-01-28 14:43:51,079 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51823.583948s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:43:51,080 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:43:51,086 - {control.chargepoint.chargepoint:667} - {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: 6.12
2024-01-28 14:43:51,099 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:43:51,109 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449421.728948, power=840.6000000000001, imported=4312426.628483267, exported=0)
2024-01-28 14:43:51,110 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260559, power1: 840.6, power2: 855.24
2024-01-28 14:43:51,112 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.20933
2024-01-28 14:43:51,113 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.20933 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449431.1090739, power=855.2400000000002, imported=4312428.837815554, exported=0)
2024-01-28 14:43:51,119 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, imported=174249.06, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=989.0))
2024-01-28 14:43:51,121 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174249.06, exported=132153.7, power=989.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:43:51,122 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1447.56, imported=7628377.93, exported=0))
2024-01-28 14:43:51,123 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.12, -0.02, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628377.93, phases_in_use=1, plug_state=True, power=1447.56, 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.04, 239.09, 240.12]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=226.0699999993667, imported_since_plugged=226.0699999993667, range_charged=1.1303499999968336, time_charged='0:08', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fd8b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:43:51,124 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:43:51,126 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:43:51,127 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-350.0, 634.0, -277.0], currents=[-2.0, 2.8, -1.5], voltages=[239.72, 239.66, 238.53], power_factors=[-0.71, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=7.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25440.56, raw_currents_left=[37.03, 38.32, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:43:51,128 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=855.2400000000002, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312428.837815554, disengageable_smarthome_power=0))
2024-01-28 14:43:51,131 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:43:51,134 - {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-28 14:43:51,136 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:43:51,137 - {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-28 14:43:51,138 - {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-28 14:43:51,139 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:51,141 - {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=77, soc_timestamp=1706449371.687222, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:43:51,142 - {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-28 14:43:51,143 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:43:51,147 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:51,148 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:43:51,149 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edac658>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:43:51,151 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:43:51,154 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:43:51,155 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c3ce8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:43: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=438.0, monthly_exported=0, yearly_exported=0, exported=301386.915, fault_state=0, fault_str='Kein Fehler.', power=-104))
2024-01-28 14:43:51,160 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005651.36, fault_state=0, fault_str='Kein Fehler.', power=-3180.8))
2024-01-28 14:43:51,164 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307038.275, power=-3284.8))
2024-01-28 14:43:51,166 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449421, 'time': '14:43:41', 'grid': 0.022, 'house-power': 0.841, 'charging-all': 1.447, 'pv-all': 3.246, 'cp1-power': 1.447, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.981, 'bat-all-soc': 11}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:43:51,168 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:43:51,169 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:43:51,170 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:51,173 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:43:51,174 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:43:51,179 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:43:51,183 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:43:51,185 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:43:51,188 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:43:51,190 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:43:51,191 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 7.0W
2024-01-28 14:43:51,193 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.12A, Überschuss: -7.0W, benötigte neue Leistung: 3220W
2024-01-28 14:43:51,196 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 7.0W
2024-01-28 14:43:51,199 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 7.0W
2024-01-28 14:43:51,200 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 7.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:43:51,202 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:43:51,206 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:43:51,208 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.32, 36.48]A verbleibende Ströme, 24060.56W verbleibende Leistung
2024-01-28 14:43:51,211 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:43:51,214 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:43:51,220 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:43:51,222 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -39.43999999999869W
2024-01-28 14:43:51,222 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -39.43999999999869W
2024-01-28 14:43:51,224 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:43:51,226 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:43:51,233 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:43:51,235 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:43:51,254 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:43:55,563 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:43:55,564 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:00,581 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:00,584 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:44:00,587 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:44:00,664 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:44:00,666 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:00,685 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:44:00,686 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:00,689 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:00,732 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:44:00,735 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.8, "voltage":239.8, "current":0.436, "aenergy":{"total":9446.568,"by_minute":[1734.010,1738.757,1749.199],"minute_ts":1706449439},"temperature":{"tC":41.3, "tF":106.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:44","unixtime":1706449441,"uptime":5808835,"ram_size":248948,"ram_free":144488,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:44:00,737 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449430.3920171, power=-104, imported=0.0, exported=301386.91492313513)
2024-01-28 14:44:00,738 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287367, power1: -104, power2: -103
2024-01-28 14:44:00,738 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.297425
2024-01-28 14:44:00,739 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.297425 Wh, new state: SimCounterState(timestamp=1706449440.7372391, power=-103, imported=0.0, exported=301387.21234826755)
2024-01-28 14:44:00,740 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.21234826755, dc_power=None)
2024-01-28 14:44:00,764 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [14, 350, -621, 285], Scale 0
2024-01-28 14:44:00,806 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:44:00,825 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23969, 23969, 23859, 0, 0, 0, 0], Scale -2
2024-01-28 14:44:00,845 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:44:00,865 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6940, 8889, -7490], Scale -2
2024-01-28 14:44:00,988 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798665, 2184843, 1457598, 8628773, 3551345, 2508587, 3137030], Scale 0
2024-01-28 14:44:00,989 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-350.0, 621.0, -285.0], voltages=[239.69, 239.69, 238.59], power_factors=[-0.6940000000000001, 0.8889, -0.7490000000000001], imported=8628773.0, exported=4872918.0, power=-14.0, frequency=49.97)
2024-01-28 14:44:00,990 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:01,006 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21666], Scale -1
2024-01-28 14:44:01,026 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963563], Scale 0
2024-01-28 14:44:01,047 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [303, 305, 302], Scale -2
2024-01-28 14:44:01,066 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21996], Scale -1
2024-01-28 14:44:01,067 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0300000000000002, 3.0500000000000003, 3.02]
2024-01-28 14:44:01,067 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0300000000000002, 3.0500000000000003, 3.02], power=-2166.6, exported=7963563.0, dc_power=-2199.6)
2024-01-28 14:44:01,068 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:01,110 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449430.7266114, power=989.0, imported=174249.05696988394, exported=132153.6990891164)
2024-01-28 14:44:01,111 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288433, power1: 989, power2: 999
2024-01-28 14:44:01,111 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.86703
2024-01-28 14:44:01,111 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.86703 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449441.1102064, power=999.0, imported=174251.9239958339, exported=132153.6990891164)
2024-01-28 14:44:01,113 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174251.9239958339, exported=132153.6990891164, power=999.0, soc=12.0)
2024-01-28 14:44:01,119 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:01,120 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174251.9239958339, exported=132153.6990891164, power=999.0, soc=12.0)
2024-01-28 14:44:01,166 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:01,167 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:01,168 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3165.6, exported=8005661.22, dc_power=None)
2024-01-28 14:44:01,169 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:01,170 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3165.6, exported=8005661.22, dc_power=None)
2024-01-28 14:44:01,170 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.21234826755, dc_power=None)
2024-01-28 14:44:01,172 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.21234826755, dc_power=None)
2024-01-28 14:44:01,214 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:01,216 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-350.0, 621.0, -285.0], voltages=[239.69, 239.69, 238.59], power_factors=[-0.6940000000000001, 0.8889, -0.7490000000000001], imported=8628773.0, exported=4872918.0, power=-14.0, frequency=49.97)
2024-01-28 14:44:01,280 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:01,281 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:44:01,282 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c29b8>
2024-01-28 14:44:01,284 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:01,286 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c29b8>
2024-01-28 14:44:01,307 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174251.92, vorherige Payload: 174249.06
2024-01-28 14:44:01,311 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 999.0, vorherige Payload: 989.0
2024-01-28 14:44:01,425 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:44:01,427 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:44:01,428 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25455.26W
2024-01-28 14:44:01,429 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:44:01,436 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:01,438 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:44:01,441 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:44:01.440403
2024-01-28 14:44:01,442 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136267.876367s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:44:01,445 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:44:01.444818
2024-01-28 14:44:01,448 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:44:01.444818
2024-01-28 14:44:01,450 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53110.107977s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:44:01,454 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:44:01.453948
2024-01-28 14:44:01,459 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128486.496363s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:44:01,461 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:44:01.460712
2024-01-28 14:44:01,467 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:44:01.460712
2024-01-28 14:44:01,468 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51813.197673s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:44:01,468 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:44:01,471 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:44:01,482 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:44:01,487 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449431.1090739, power=855.2400000000002, imported=4312428.837815554, exported=0)
2024-01-28 14:44:01,489 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288293, power1: 855.24, power2: 814.34
2024-01-28 14:44:01,493 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.40664
2024-01-28 14:44:01,495 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.40664 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449441.4876273, power=814.3399999999999, imported=4312431.244457939, exported=0)
2024-01-28 14:44:01,497 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, imported=174251.92, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=999.0))
2024-01-28 14:44:01,499 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174251.92, exported=132153.7, power=999.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:44:01,500 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1441.26, imported=7628381.84, exported=0))
2024-01-28 14:44:01,502 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628381.84, phases_in_use=1, plug_state=True, power=1441.26, 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.06, 240.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=229.9799999995157, imported_since_plugged=229.9799999995157, range_charged=1.1498999999975785, time_charged='0:08', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fdce8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:44:01,504 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:44:01,505 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-28 14:44:01,507 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-350.0, 621.0, -285.0], currents=[-2.0, 2.8, -1.5], voltages=[239.69, 239.69, 238.59], power_factors=[-0.69, 0.89, -0.75], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-14.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25455.26, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:44:01,508 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=814.3399999999999, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312431.244457939, disengageable_smarthome_power=0))
2024-01-28 14:44:01,509 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:44:01,509 - {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-28 14:44:01,511 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:44:01,512 - {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-28 14:44:01,513 - {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-28 14:44:01,514 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:01,516 - {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=77, soc_timestamp=1706449432.239454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:01,517 - {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-28 14:44:01,525 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:44:01,527 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:01,528 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:01,529 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed99ee0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:44:01,532 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:44:01,536 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:44:01,542 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c2370>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:44:01,543 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301387.212, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:44:01,544 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005661.22, fault_state=0, fault_str='Kein Fehler.', power=-3165.6))
2024-01-28 14:44:01,545 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307048.432, power=-3268.6))
2024-01-28 14:44:01,547 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449431, 'time': '14:43:51', 'grid': 0.007, 'house-power': 0.855, 'charging-all': 1.448, 'pv-all': 3.285, 'cp1-power': 1.448, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.989, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:44:01,548 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:44:01,550 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:44:01,554 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:01,555 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:01,560 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:44:01,565 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:44:01,573 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:44:01,580 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:44:01,583 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:44:01,587 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:01,590 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -14.0W
2024-01-28 14:44:01,593 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 14.0W, benötigte neue Leistung: 3220W
2024-01-28 14:44:01,595 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -14.0W
2024-01-28 14:44:01,598 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -14.0W
2024-01-28 14:44:01,600 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -14.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:44:01,603 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:44:01,607 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:44:01,610 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.5]A verbleibende Ströme, 24075.26W verbleibende Leistung
2024-01-28 14:44:01,612 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:44:01,615 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:44:01,619 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:44:01,622 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -24.7400000000016W
2024-01-28 14:44:01,624 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -24.7400000000016W
2024-01-28 14:44:01,627 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:44:01,629 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:44:01,639 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:44:01,643 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:01,692 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:44:05,117 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:05,118 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:10,130 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:10,131 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:10,131 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:44:10,132 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:44:10,178 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:44:10,180 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:10,181 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:10,187 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:44:10,189 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:10,230 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:44:10,233 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.6, "voltage":239.8, "current":0.436, "aenergy":{"total":9446.858,"by_minute":[288.131,1734.010,1738.757],"minute_ts":1706449449},"temperature":{"tC":41.3, "tF":106.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:44","unixtime":1706449450,"uptime":5808844,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:44:10,235 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449440.7372391, power=-103, imported=0.0, exported=301387.21234826755)
2024-01-28 14:44:10,236 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263831, power1: -103, power2: -103
2024-01-28 14:44:10,236 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.271746
2024-01-28 14:44:10,236 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.271746 Wh, new state: SimCounterState(timestamp=1706449450.2351515, power=-103, imported=0.0, exported=301387.4840940948)
2024-01-28 14:44:10,238 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.4840940948, dc_power=None)
2024-01-28 14:44:10,246 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 321, -606, 285], Scale 0
2024-01-28 14:44:10,268 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:44:10,296 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23966, 23958, 23852, 0, 0, 0, 0], Scale -2
2024-01-28 14:44:10,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:44:10,387 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6930, 8930, -7559], Scale -2
2024-01-28 14:44:10,432 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798666, 2184843, 1457599, 8628773, 3551345, 2508588, 3137030], Scale 0
2024-01-28 14:44:10,433 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-321.0, 606.0, -285.0], voltages=[239.66, 239.58, 238.52], power_factors=[-0.693, 0.893, -0.7559], imported=8628773.0, exported=4872918.0, power=-0.0, frequency=49.97)
2024-01-28 14:44:10,435 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:10,477 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21749], Scale -1
2024-01-28 14:44:10,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963569], Scale 0
2024-01-28 14:44:10,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [306, 307, 302], Scale -2
2024-01-28 14:44:10,561 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22080], Scale -1
2024-01-28 14:44:10,562 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.06, 3.0700000000000003, 3.02]
2024-01-28 14:44:10,563 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.06, 3.0700000000000003, 3.02], power=-2174.9, exported=7963569.0, dc_power=-2208.0)
2024-01-28 14:44:10,564 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:10,636 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449441.1102064, power=999.0, imported=174251.9239958339, exported=132153.6990891164)
2024-01-28 14:44:10,637 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264622, power1: 999, power2: 1047
2024-01-28 14:44:10,637 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.70708
2024-01-28 14:44:10,638 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.70708 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449450.6365888, power=1047.0, imported=174254.63107617907, exported=132153.6990891164)
2024-01-28 14:44:10,639 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174254.63107617907, exported=132153.6990891164, power=1047.0, soc=12.0)
2024-01-28 14:44:10,646 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:10,648 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174254.63107617907, exported=132153.6990891164, power=1047.0, soc=12.0)
2024-01-28 14:44:10,689 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:10,690 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:10,691 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:10,692 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3221.9, exported=8005669.93, dc_power=None)
2024-01-28 14:44:10,692 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.4840940948, dc_power=None)
2024-01-28 14:44:10,693 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3221.9, exported=8005669.93, dc_power=None)
2024-01-28 14:44:10,694 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.4840940948, dc_power=None)
2024-01-28 14:44:10,736 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:10,737 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-321.0, 606.0, -285.0], voltages=[239.66, 239.58, 238.52], power_factors=[-0.693, 0.893, -0.7559], imported=8628773.0, exported=4872918.0, power=-0.0, frequency=49.97)
2024-01-28 14:44:10,806 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:10,807 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:44:10,807 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d6100>
2024-01-28 14:44:10,818 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:10,819 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d6100>
2024-01-28 14:44:10,834 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174254.63, vorherige Payload: 174251.92
2024-01-28 14:44:10,835 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1047.0, vorherige Payload: 999.0
2024-01-28 14:44:10,950 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:44:10,959 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.36, 36.5]A
2024-01-28 14:44:10,959 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25460.63W
2024-01-28 14:44:10,960 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:44:10,963 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:10,964 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:44:10,966 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:44:10.965912
2024-01-28 14:44:10,967 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136258.350858s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:44:10,971 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:44:10.971033
2024-01-28 14:44:10,972 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:44:10.971033
2024-01-28 14:44:10,973 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53100.581762s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:44:10,975 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:44:10.975472
2024-01-28 14:44:10,979 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128476.974839s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:44:10,980 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:44:10.980463
2024-01-28 14:44:10,981 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:44:10.980463
2024-01-28 14:44:10,983 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51803.677922s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:44:10,984 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:44:10,991 - {control.chargepoint.chargepoint:667} - {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: 6.16
2024-01-28 14:44:10,995 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:44:11,002 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449441.4876273, power=814.3399999999999, imported=4312431.244457939, exported=0)
2024-01-28 14:44:11,003 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264313, power1: 814.34, power2: 817.27
2024-01-28 14:44:11,004 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.15628
2024-01-28 14:44:11,005 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.15628 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449451.002881, power=817.27, imported=4312433.400733386, exported=0)
2024-01-28 14:44:11,007 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, imported=174254.63, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1047.0))
2024-01-28 14:44:11,008 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174254.63, exported=132153.7, power=1047.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:44:11,009 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1460.63, imported=7628386.23, exported=0))
2024-01-28 14:44:11,010 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.16, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628386.23, phases_in_use=1, plug_state=True, power=1460.63, 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.97, 239.08, 240.11]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=233.88999999966472, imported_since_plugged=233.88999999966472, range_charged=1.1694499999983237, time_charged='0:08', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f6820>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:44:11,012 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:44:11,017 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:44:11,019 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-321.0, 606.0, -285.0], currents=[-2.0, 2.8, -1.5], voltages=[239.66, 239.58, 238.52], power_factors=[-0.69, 0.89, -0.76], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.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=25460.63, raw_currents_left=[37.03, 38.36, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:44:11,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=817.27, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312433.400733386, disengageable_smarthome_power=0))
2024-01-28 14:44:11,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-28 14:44:11,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-28 14:44:11,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:44:11,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-28 14:44:11,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-28 14:44:11,029 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:11,032 - {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=77, soc_timestamp=1706449432.239454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:11,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-28 14:44:11,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-28 14:44:11,035 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:11,036 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:11,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7e3178>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:44:11,041 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:44:11,042 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:44:11,043 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7d6100>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:44:11,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=438.0, monthly_exported=0, yearly_exported=0, exported=301387.484, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:44:11,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=4933.0, monthly_exported=0, yearly_exported=0, exported=8005669.93, fault_state=0, fault_str='Kein Fehler.', power=-3221.9))
2024-01-28 14:44:11,047 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307057.414, power=-3324.9))
2024-01-28 14:44:11,048 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449441, 'time': '14:44:01', 'grid': -0.014, 'house-power': 0.814, 'charging-all': 1.441, 'pv-all': 3.269, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.999, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:44:11,049 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:44:11,050 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:44:11,051 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:11,053 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:11,058 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:44:11,059 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:44:11,060 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:44:11,061 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:44:11,063 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:44:11,066 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:11,067 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:11,068 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.16A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:44:11,069 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:11,073 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:11,074 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:44:11,074 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:44:11,077 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:44:11,079 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.36, 36.5]A verbleibende Ströme, 24080.63W verbleibende Leistung
2024-01-28 14:44:11,080 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:44:11,082 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:44:11,085 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:44:11,087 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.36999999999898W
2024-01-28 14:44:11,088 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -19.36999999999898W
2024-01-28 14:44:11,090 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:44:11,091 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:44:11,100 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:44:11,103 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:11,124 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:44:15,429 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:20,442 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:20,443 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:20,444 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:44:20,444 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:44:20,488 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:44:20,489 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:20,491 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:20,497 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:44:20,500 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:20,537 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 353, -618, 284], Scale 0
2024-01-28 14:44:20,540 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:44:20,542 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.3, "voltage":239.9, "current":0.435, "aenergy":{"total":9447.146,"by_minute":[575.313,1734.010,1738.757],"minute_ts":1706449459},"temperature":{"tC":41.3, "tF":106.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:44","unixtime":1706449460,"uptime":5808855,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:44:20,543 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449450.2351515, power=-103, imported=0.0, exported=301387.4840940948)
2024-01-28 14:44:20,544 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028635, power1: -103, power2: -103
2024-01-28 14:44:20,544 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.29494
2024-01-28 14:44:20,545 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.29494 Wh, new state: SimCounterState(timestamp=1706449460.5437353, power=-103, imported=0.0, exported=301387.77903412946)
2024-01-28 14:44:20,546 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.77903412946, dc_power=None)
2024-01-28 14:44:20,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:44:20,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23967, 23956, 23857, 0, 0, 0, 0], Scale -2
2024-01-28 14:44:20,657 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:44:20,686 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6940, 8880, -7570], Scale -2
2024-01-28 14:44:20,706 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798667, 2184843, 1457600, 8628773, 3551345, 2508589, 3137030], Scale 0
2024-01-28 14:44:20,707 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-353.0, 618.0, -284.0], voltages=[239.67000000000002, 239.56, 238.57], power_factors=[-0.6940000000000001, 0.888, -0.757], imported=8628773.0, exported=4872918.0, power=-19.0, frequency=49.97)
2024-01-28 14:44:20,713 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:20,801 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21850], Scale -1
2024-01-28 14:44:20,846 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963575], Scale 0
2024-01-28 14:44:20,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [307, 306, 305], Scale -2
2024-01-28 14:44:20,908 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22183], Scale -1
2024-01-28 14:44:20,909 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0700000000000003, 3.06, 3.0500000000000003]
2024-01-28 14:44:20,910 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0700000000000003, 3.06, 3.0500000000000003], power=-2185.0, exported=7963575.0, dc_power=-2218.3)
2024-01-28 14:44:20,911 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:20,957 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449450.6365888, power=1047.0, imported=174254.63107617907, exported=132153.6990891164)
2024-01-28 14:44:20,958 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286687, power1: 1047, power2: 1059
2024-01-28 14:44:20,959 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 3.01881
2024-01-28 14:44:20,959 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 3.01881 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449460.9573205, power=1059.0, imported=174257.64989018373, exported=132153.6990891164)
2024-01-28 14:44:20,961 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174257.64989018373, exported=132153.6990891164, power=1059.0, soc=12.0)
2024-01-28 14:44:20,965 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:20,967 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174257.64989018373, exported=132153.6990891164, power=1059.0, soc=12.0)
2024-01-28 14:44:21,026 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:21,028 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:21,030 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:21,032 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3244.0, exported=8005678.95, dc_power=None)
2024-01-28 14:44:21,034 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.77903412946, dc_power=None)
2024-01-28 14:44:21,036 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3244.0, exported=8005678.95, dc_power=None)
2024-01-28 14:44:21,037 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301387.77903412946, dc_power=None)
2024-01-28 14:44:21,092 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:21,093 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-353.0, 618.0, -284.0], voltages=[239.67000000000002, 239.56, 238.57], power_factors=[-0.6940000000000001, 0.888, -0.757], imported=8628773.0, exported=4872918.0, power=-19.0, frequency=49.97)
2024-01-28 14:44:21,169 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:21,171 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:44:21,171 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7a9880>
2024-01-28 14:44:21,177 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:21,178 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7a9880>
2024-01-28 14:44:21,205 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174257.65, vorherige Payload: 174254.63
2024-01-28 14:44:21,206 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1059.0, vorherige Payload: 1047.0
2024-01-28 14:44:21,342 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:44:21,345 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.48]A
2024-01-28 14:44:21,346 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25463.46W
2024-01-28 14:44:21,348 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:44:21,351 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:21,353 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:44:21,355 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:44:21.354940
2024-01-28 14:44:21,358 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136247.96183s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:44:21,360 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:44:21.360442
2024-01-28 14:44:21,362 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:44:21.360442
2024-01-28 14:44:21,363 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53090.192353s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:44:21,365 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:44:21.365155
2024-01-28 14:44:21,368 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128466.585156s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:44:21,369 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:44:21.369526
2024-01-28 14:44:21,371 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:44:21.369526
2024-01-28 14:44:21,372 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51793.288859s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:44:21,373 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:44:21,388 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:44:21,404 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:44:21,411 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449451.002881, power=817.27, imported=4312433.400733386, exported=0)
2024-01-28 14:44:21,412 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289127, power1: 817.27, power2: 824.54
2024-01-28 14:44:21,414 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.37346
2024-01-28 14:44:21,415 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.37346 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449461.4114478, power=824.54, imported=4312435.77419018, exported=0)
2024-01-28 14:44:21,425 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, imported=174257.65, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1059.0))
2024-01-28 14:44:21,426 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174257.65, exported=132153.7, power=1059.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:44:21,428 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1444.46, imported=7628390.14, exported=0))
2024-01-28 14:44:21,430 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.02, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628390.14, phases_in_use=1, plug_state=True, power=1444.46, 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.99, 240.07]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=238.28000000026077, imported_since_plugged=238.28000000026077, range_charged=1.1914000000013039, time_charged='0:08', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e2fd0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:44:21,431 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:44:21,433 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:44:21,436 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-353.0, 618.0, -284.0], currents=[-2.0, 2.8, -1.5], voltages=[239.67, 239.56, 238.57], power_factors=[-0.69, 0.89, -0.76], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-19.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25463.46, raw_currents_left=[37.03, 38.27, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:44:21,437 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=824.54, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312435.77419018, disengageable_smarthome_power=0))
2024-01-28 14:44:21,445 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:44:21,453 - {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-28 14:44:21,455 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:44:21,457 - {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-28 14:44:21,458 - {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-28 14:44:21,460 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:21,462 - {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=77, soc_timestamp=1706449432.239454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:21,463 - {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-28 14:44:21,466 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:44:21,467 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:21,469 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:21,473 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed5b970>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:44:21,476 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:44:21,477 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:44:21,478 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edb3a30>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:44:21,481 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301387.779, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:44:21,484 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005678.95, fault_state=0, fault_str='Kein Fehler.', power=-3244.0))
2024-01-28 14:44:21,485 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307066.729, power=-3347.0))
2024-01-28 14:44:21,487 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449451, 'time': '14:44:11', 'grid': -0.0, 'house-power': 0.817, 'charging-all': 1.461, 'pv-all': 3.325, 'cp1-power': 1.461, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.047, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:44:21,489 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:44:21,491 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:44:21,493 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:21,495 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:21,499 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:44:21,499 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:44:21,501 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:44:21,502 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:44:21,504 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:44:21,506 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:21,508 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:44:21,510 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 19.0W, benötigte neue Leistung: 3220W
2024-01-28 14:44:21,511 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:44:21,514 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -19.0W
2024-01-28 14:44:21,515 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -19.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:44:21,516 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:44:21,519 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:44:21,521 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.48]A verbleibende Ströme, 24083.46W verbleibende Leistung
2024-01-28 14:44:21,521 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:44:21,523 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:44:21,527 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:44:21,557 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -16.540000000000873W
2024-01-28 14:44:21,565 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -16.540000000000873W
2024-01-28 14:44:21,567 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:44:21,571 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:44:21,575 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:44:21,598 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:21,647 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:44:25,054 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:25,055 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:30,067 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:30,069 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:44:30,070 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:44:30,109 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:44:30,115 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:30,117 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:30,124 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:44:30,138 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:30,305 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:44:30,307 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.2, "voltage":239.8, "current":0.434, "aenergy":{"total":9447.434,"by_minute":[862.020,1734.010,1738.757],"minute_ts":1706449469},"temperature":{"tC":41.4, "tF":106.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:44","unixtime":1706449470,"uptime":5808864,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:44:30,310 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449460.5437353, power=-103, imported=0.0, exported=301387.77903412946)
2024-01-28 14:44:30,311 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00271292, power1: -103, power2: -103
2024-01-28 14:44:30,311 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.279431
2024-01-28 14:44:30,311 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.279431 Wh, new state: SimCounterState(timestamp=1706449470.3102605, power=-103, imported=0.0, exported=301388.0584652691)
2024-01-28 14:44:30,315 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301388.0584652691, dc_power=None)
2024-01-28 14:44:30,319 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 328, -607, 278], Scale 0
2024-01-28 14:44:30,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:44:30,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23958, 23949, 23856, 0, 0, 0, 0], Scale -2
2024-01-28 14:44:30,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-28 14:44:30,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7160, 8920, -7379], Scale -2
2024-01-28 14:44:30,446 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798668, 2184843, 1457600, 8628773, 3551345, 2508590, 3137030], Scale 0
2024-01-28 14:44:30,447 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-328.0, 607.0, -278.0], voltages=[239.58, 239.49, 238.56], power_factors=[-0.7160000000000001, 0.892, -0.7379000000000001], imported=8628773.0, exported=4872918.0, power=-0.0, frequency=49.97)
2024-01-28 14:44:30,454 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:30,476 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21729], Scale -1
2024-01-28 14:44:30,496 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963581], Scale 0
2024-01-28 14:44:30,536 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 306, 303], Scale -2
2024-01-28 14:44:30,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22060], Scale -1
2024-01-28 14:44:30,566 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.06, 3.0300000000000002]
2024-01-28 14:44:30,566 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.06, 3.0300000000000002], power=-2172.9, exported=7963581.0, dc_power=-2206.0)
2024-01-28 14:44:30,572 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:30,617 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449460.9573205, power=1059.0, imported=174257.64989018373, exported=132153.6990891164)
2024-01-28 14:44:30,618 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00268345, power1: 1059, power2: 1072
2024-01-28 14:44:30,619 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.85922
2024-01-28 14:44:30,619 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.85922 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449470.617744, power=1072.0, imported=174260.50910719973, exported=132153.6990891164)
2024-01-28 14:44:30,621 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174260.50910719973, exported=132153.6990891164, power=1072.0, soc=12.0)
2024-01-28 14:44:30,632 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:30,633 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174260.50910719973, exported=132153.6990891164, power=1072.0, soc=12.0)
2024-01-28 14:44:30,666 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:30,668 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:30,669 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:30,669 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3244.9, exported=8005687.81, dc_power=None)
2024-01-28 14:44:30,670 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301388.0584652691, dc_power=None)
2024-01-28 14:44:30,671 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3244.9, exported=8005687.81, dc_power=None)
2024-01-28 14:44:30,672 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301388.0584652691, dc_power=None)
2024-01-28 14:44:30,712 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:30,713 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-328.0, 607.0, -278.0], voltages=[239.58, 239.49, 238.56], power_factors=[-0.7160000000000001, 0.892, -0.7379000000000001], imported=8628773.0, exported=4872918.0, power=-0.0, frequency=49.97)
2024-01-28 14:44:30,774 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:30,776 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:44:30,780 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x7014f1c0>
2024-01-28 14:44:30,793 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:30,794 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x7014f1c0>
2024-01-28 14:44:30,812 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174260.51, vorherige Payload: 174257.65
2024-01-28 14:44:30,813 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1072.0, vorherige Payload: 1059.0
2024-01-28 14:44:30,932 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:44:30,936 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.47]A
2024-01-28 14:44:30,938 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25439.22W
2024-01-28 14:44:30,940 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:44:30,942 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:30,943 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:44:30,945 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:44:30.944953
2024-01-28 14:44:30,949 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136238.371817s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:44:30,950 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:44:30.950339
2024-01-28 14:44:30,952 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:44:30.950339
2024-01-28 14:44:30,954 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53080.602456s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:44:30,957 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:44:30.957435
2024-01-28 14:44:30,959 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128456.992876s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:44:30,960 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:44:30.960068
2024-01-28 14:44:30,961 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:44:30.960068
2024-01-28 14:44:30,965 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51783.698317s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:44:30,967 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:44:30,989 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:44:31,012 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:44:31,017 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449461.4114478, power=824.54, imported=4312435.77419018, exported=0)
2024-01-28 14:44:31,019 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266826, power1: 824.54, power2: 836.68
2024-01-28 14:44:31,020 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.21628
2024-01-28 14:44:31,021 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.21628 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449471.0171852, power=836.6800000000001, imported=4312437.990473953, exported=0)
2024-01-28 14:44:31,025 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, imported=174260.51, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1072.0))
2024-01-28 14:44:31,026 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174260.51, exported=132153.7, power=1072.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:44:31,031 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1439.22, imported=7628394.04, exported=0))
2024-01-28 14:44:31,036 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.03, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628394.04, phases_in_use=1, plug_state=True, power=1439.22, 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.91, 239.07, 240.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=242.18999999947846, imported_since_plugged=242.18999999947846, range_charged=1.2109499999973923, time_charged='0:09', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f76d4f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:44:31,037 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:44:31,039 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:44:31,043 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-328.0, 607.0, -278.0], currents=[-2.0, 2.8, -1.5], voltages=[239.58, 239.49, 238.56], power_factors=[-0.72, 0.89, -0.74], unbalanced_load=0, frequency=49.97, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.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=25439.22, raw_currents_left=[37.03, 38.27, 36.47], surplus_power_left=0, state_str=''))
2024-01-28 14:44:31,045 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=836.6800000000001, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312437.990473953, disengageable_smarthome_power=0))
2024-01-28 14:44:31,048 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:44:31,052 - {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-28 14:44:31,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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:44:31,058 - {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-28 14:44:31,061 - {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-28 14:44:31,063 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:31,065 - {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=77, soc_timestamp=1706449432.239454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:31,066 - {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-28 14:44:31,072 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:44:31,075 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:31,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=2, keep_charge_active_duration=40)
2024-01-28 14:44:31,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=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7fdfe8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:44:31,081 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:44:31,087 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:44:31,090 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6eda53a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:44:31,091 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301388.058, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:44:31,094 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005687.81, fault_state=0, fault_str='Kein Fehler.', power=-3244.9))
2024-01-28 14:44:31,095 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307075.868, power=-3347.9))
2024-01-28 14:44:31,096 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449461, 'time': '14:44:21', 'grid': -0.019, 'house-power': 0.825, 'charging-all': 1.444, 'pv-all': 3.347, 'cp1-power': 1.444, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.059, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:44:31,098 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:44:31,099 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:44:31,100 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:31,101 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:31,102 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:44:31,104 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:44:31,105 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:44:31,105 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:44:31,106 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:44:31,107 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:31,107 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:31,108 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:44:31,108 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:31,109 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:31,110 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:44:31,110 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:44:31,112 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:44:31,113 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.47]A verbleibende Ströme, 24059.22W verbleibende Leistung
2024-01-28 14:44:31,114 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:44:31,116 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:44:31,118 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:44:31,118 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -40.779999999998836W
2024-01-28 14:44:31,119 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -40.779999999998836W
2024-01-28 14:44:31,119 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:44:31,120 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:44:31,122 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:44:31,125 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:31,179 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:44:35,450 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:35,451 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:40,462 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:40,463 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:40,464 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:44:40,464 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:44:40,517 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:44:40,519 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:40,519 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:40,526 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:44:40,529 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:40,574 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:44:40,581 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":103.2, "voltage":240.0, "current":0.434, "aenergy":{"total":9447.721,"by_minute":[1148.728,1734.010,1738.757],"minute_ts":1706449479},"temperature":{"tC":41.5, "tF":106.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:44","unixtime":1706449480,"uptime":5808875,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:44:40,587 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 339, -617, 278], Scale 0
2024-01-28 14:44:40,591 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449470.3102605, power=-103, imported=0.0, exported=301388.0584652691)
2024-01-28 14:44:40,592 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285574, power1: -103, power2: -103
2024-01-28 14:44:40,592 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.294141
2024-01-28 14:44:40,593 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.294141 Wh, new state: SimCounterState(timestamp=1706449480.5909126, power=-103, imported=0.0, exported=301388.3526061471)
2024-01-28 14:44:40,594 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301388.3526061471, dc_power=None)
2024-01-28 14:44:40,606 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 28, 15], Scale -1
2024-01-28 14:44:40,626 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23979, 23973, 23867, 0, 0, 0, 0], Scale -2
2024-01-28 14:44:40,646 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-28 14:44:40,686 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7229, 8980, -7409], Scale -2
2024-01-28 14:44:40,746 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798669, 2184843, 1457601, 8628773, 3551345, 2508593, 3137030], Scale 0
2024-01-28 14:44:40,747 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-339.0, 617.0, -278.0], voltages=[239.79, 239.73000000000002, 238.67000000000002], power_factors=[-0.7229000000000001, 0.898, -0.7409], imported=8628773.0, exported=4872918.0, power=-0.0, frequency=49.99)
2024-01-28 14:44:40,749 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:40,765 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21609], Scale -1
2024-01-28 14:44:40,785 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963587], Scale 0
2024-01-28 14:44:40,855 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [303, 303, 302], Scale -2
2024-01-28 14:44:40,886 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21938], Scale -1
2024-01-28 14:44:40,887 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0300000000000002, 3.0300000000000002, 3.02]
2024-01-28 14:44:40,888 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0300000000000002, 3.0300000000000002, 3.02], power=-2160.9, exported=7963587.0, dc_power=-2193.8)
2024-01-28 14:44:40,889 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:40,930 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449470.617744, power=1072.0, imported=174260.50910719973, exported=132153.6990891164)
2024-01-28 14:44:40,931 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0028647, power1: 1072, power2: 1116
2024-01-28 14:44:40,931 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 3.13399
2024-01-28 14:44:40,932 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 3.13399 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449480.930679, power=1116.0, imported=174263.6430935927, exported=132153.6990891164)
2024-01-28 14:44:40,933 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174263.6430935927, exported=132153.6990891164, power=1116.0, soc=12.0)
2024-01-28 14:44:40,936 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:40,937 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174263.6430935927, exported=132153.6990891164, power=1116.0, soc=12.0)
2024-01-28 14:44:40,982 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:40,983 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:40,984 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:40,985 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3276.9, exported=8005696.94, dc_power=None)
2024-01-28 14:44:40,986 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301388.3526061471, dc_power=None)
2024-01-28 14:44:40,987 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3276.9, exported=8005696.94, dc_power=None)
2024-01-28 14:44:40,988 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-103, exported=301388.3526061471, dc_power=None)
2024-01-28 14:44:41,034 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:41,034 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-339.0, 617.0, -278.0], voltages=[239.79, 239.73000000000002, 238.67000000000002], power_factors=[-0.7229000000000001, 0.898, -0.7409], imported=8628773.0, exported=4872918.0, power=-0.0, frequency=49.99)
2024-01-28 14:44:41,104 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:41,105 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:44:41,105 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7c2928>
2024-01-28 14:44:41,109 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:41,110 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7c2928>
2024-01-28 14:44:41,131 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174263.64, vorherige Payload: 174260.51
2024-01-28 14:44:41,132 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1116.0, vorherige Payload: 1072.0
2024-01-28 14:44:41,258 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:44:41,261 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.93, 38.27, 36.5]A
2024-01-28 14:44:41,263 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25440.9W
2024-01-28 14:44:41,264 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:44:41,267 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:41,269 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:44:41,271 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:44:41.270505
2024-01-28 14:44:41,272 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136228.046265s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:44:41,274 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:44:41.273993
2024-01-28 14:44:41,275 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:44:41.273993
2024-01-28 14:44:41,277 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53070.278802s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:44:41,278 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:44:41.278206
2024-01-28 14:44:41,281 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128446.672105s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:44:41,284 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:44:41.283744
2024-01-28 14:44:41,285 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:44:41.283744
2024-01-28 14:44:41,287 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51773.374641s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:44:41,289 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:44:41,297 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:44:41,301 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:44:41,322 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449471.0171852, power=836.6800000000001, imported=4312437.990473953, exported=0)
2024-01-28 14:44:41,327 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286253, power1: 836.68, power2: 823
2024-01-28 14:44:41,328 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.37544
2024-01-28 14:44:41,329 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.37544 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449481.3223016, power=823.0, imported=4312440.365917788, exported=0)
2024-01-28 14:44:41,331 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, imported=174263.64, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1116.0))
2024-01-28 14:44:41,335 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174263.64, exported=132153.7, power=1116.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:44:41,336 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1440.9, imported=7628397.95, exported=0))
2024-01-28 14:44:41,338 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628397.95, phases_in_use=1, plug_state=True, power=1440.9, 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.14, 240.14]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=246.089999999851, imported_since_plugged=246.089999999851, range_charged=1.2304499999992549, time_charged='0:09', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f5478>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:44:41,338 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:44:41,339 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:44:41,340 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-339.0, 617.0, -278.0], currents=[-1.9, 2.8, -1.5], voltages=[239.79, 239.73, 238.67], power_factors=[-0.72, 0.9, -0.74], unbalanced_load=0, frequency=49.99, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.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=25440.9, raw_currents_left=[36.93, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:44:41,341 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=823.0, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312440.365917788, disengageable_smarthome_power=0))
2024-01-28 14:44:41,342 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:44:41,343 - {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-28 14:44:41,345 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:44:41,348 - {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-28 14:44:41,349 - {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-28 14:44:41,350 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:41,352 - {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=77, soc_timestamp=1706449432.239454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:41,353 - {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-28 14:44:41,354 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:44:41,356 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:41,356 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:41,357 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7fdce8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:44:41,357 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:44:41,358 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:44:41,358 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7c0a60>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:44:41,358 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301388.353, fault_state=0, fault_str='Kein Fehler.', power=-103))
2024-01-28 14:44:41,359 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005696.94, fault_state=0, fault_str='Kein Fehler.', power=-3276.9))
2024-01-28 14:44:41,360 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307085.2930000005, power=-3379.9))
2024-01-28 14:44:41,361 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449471, 'time': '14:44:31', 'grid': -0.0, 'house-power': 0.837, 'charging-all': 1.439, 'pv-all': 3.348, 'cp1-power': 1.439, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.072, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:44:41,362 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:44:41,363 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:44:41,365 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:41,377 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:41,380 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:44:41,381 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:44:41,382 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:44:41,383 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:44:41,385 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:44:41,390 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:41,393 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:41,399 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: 0.0W, benötigte neue Leistung: 3220W
2024-01-28 14:44:41,400 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:41,408 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -0.0W
2024-01-28 14:44:41,409 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -0.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:44:41,411 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:44:41,415 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:44:41,417 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [36.93, 32.27, 36.5]A verbleibende Ströme, 24060.9W verbleibende Leistung
2024-01-28 14:44:41,419 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:44:41,421 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:44:41,425 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:44:41,426 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -39.099999999998545W
2024-01-28 14:44:41,428 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -39.099999999998545W
2024-01-28 14:44:41,430 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:44:41,432 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:44:41,439 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:44:41,447 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:41,486 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:44:45,964 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:50,978 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:50,979 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:44:50,980 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:44:50,980 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:44:51,028 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:44:51,034 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:51,042 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:44:51,044 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:51,046 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:51,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-12, 331, -617, 273], Scale 0
2024-01-28 14:44:51,088 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 728
2024-01-28 14:44:51,090 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":102.7, "voltage":239.8, "current":0.432, "aenergy":{"total":9448.035,"by_minute":[1463.441,1734.010,1738.757],"minute_ts":1706449490},"temperature":{"tC":41.4, "tF":106.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:44","unixtime":1706449491,"uptime":5808885,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:44:51,092 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449480.5909126, power=-103, imported=0.0, exported=301388.3526061471)
2024-01-28 14:44:51,093 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291718, power1: -103, power2: -102
2024-01-28 14:44:51,094 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.299011
2024-01-28 14:44:51,094 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.299011 Wh, new state: SimCounterState(timestamp=1706449491.092747, power=-102, imported=0.0, exported=301388.6516167097)
2024-01-28 14:44:51,096 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301388.6516167097, dc_power=None)
2024-01-28 14:44:51,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:44:51,187 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23978, 23968, 23866, 0, 0, 0, 0], Scale -2
2024-01-28 14:44:51,206 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:44:51,229 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6840, 8899, -7590], Scale -2
2024-01-28 14:44:51,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798670, 2184843, 1457602, 8628773, 3551345, 2508595, 3137030], Scale 0
2024-01-28 14:44:51,258 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-331.0, 617.0, -273.0], voltages=[239.78, 239.68, 238.66], power_factors=[-0.684, 0.8898999999999999, -0.759], imported=8628773.0, exported=4872918.0, power=12.0, frequency=50.0)
2024-01-28 14:44:51,260 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:51,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21585], Scale -1
2024-01-28 14:44:51,331 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963594], Scale 0
2024-01-28 14:44:51,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [302, 303, 298], Scale -2
2024-01-28 14:44:51,405 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21820], Scale -1
2024-01-28 14:44:51,406 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.02, 3.0300000000000002, 2.98]
2024-01-28 14:44:51,407 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.02, 3.0300000000000002, 2.98], power=-2158.5, exported=7963594.0, dc_power=-2182.0)
2024-01-28 14:44:51,408 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:51,457 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449480.930679, power=1116.0, imported=174263.6430935927, exported=132153.6990891164)
2024-01-28 14:44:51,457 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.002924, power1: 1116, power2: 1109
2024-01-28 14:44:51,458 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 3.25295
2024-01-28 14:44:51,458 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 3.25295 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449491.4570916, power=1109.0, imported=174266.89604745153, exported=132153.6990891164)
2024-01-28 14:44:51,459 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174266.89604745153, exported=132153.6990891164, power=1109.0, soc=12.0)
2024-01-28 14:44:51,467 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:44:51,486 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174266.89604745153, exported=132153.6990891164, power=1109.0, soc=12.0)
2024-01-28 14:44:51,634 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:51,638 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:44:51,641 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3267.5, exported=8005707.2, dc_power=None)
2024-01-28 14:44:51,642 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3267.5, exported=8005707.2, dc_power=None)
2024-01-28 14:44:51,643 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:44:51,648 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301388.6516167097, dc_power=None)
2024-01-28 14:44:51,655 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301388.6516167097, dc_power=None)
2024-01-28 14:44:51,777 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:44:51,778 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-331.0, 617.0, -273.0], voltages=[239.78, 239.68, 238.66], power_factors=[-0.684, 0.8898999999999999, -0.759], imported=8628773.0, exported=4872918.0, power=12.0, frequency=50.0)
2024-01-28 14:44:51,863 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:51,864 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:44:51,865 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f74cf10>
2024-01-28 14:44:51,873 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:44:51,875 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f74cf10>
2024-01-28 14:44:51,894 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174266.9, vorherige Payload: 174263.64
2024-01-28 14:44:51,896 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1109.0, vorherige Payload: 1116.0
2024-01-28 14:44:52,015 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:44:52,017 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:44:52,018 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25438.07W
2024-01-28 14:44:52,019 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:44:52,022 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:52,022 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:44:52,025 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:44:52.024499
2024-01-28 14:44:52,026 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136217.292271s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:44:52,028 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:44:52.027745
2024-01-28 14:44:52,029 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:44:52.027745
2024-01-28 14:44:52,031 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53059.52505s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:44:52,033 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:44:52.032950
2024-01-28 14:44:52,035 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128435.917361s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:44:52,037 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:44:52.036673
2024-01-28 14:44:52,038 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:44:52.036673
2024-01-28 14:44:52,039 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51762.621712s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:44:52,040 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:44:52,044 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:44:52,045 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:44:52,049 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449481.3223016, power=823.0, imported=4312440.365917788, exported=0)
2024-01-28 14:44:52,051 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00297975, power1: 823, power2: 822.43
2024-01-28 14:44:52,058 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.45149
2024-01-28 14:44:52,059 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.45149 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449492.049404, power=822.4300000000001, imported=4312442.8174033305, exported=0)
2024-01-28 14:44:52,062 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, imported=174266.9, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1109.0))
2024-01-28 14:44:52,064 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=320.0, fault_str='Kein Fehler.', fault_state=0, imported=174266.9, exported=132153.7, power=1109.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:44:52,066 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=192.0, daily_exported=0.0, power=1450.07, imported=7628402.83, exported=0))
2024-01-28 14:44:52,067 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=192.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628402.83, phases_in_use=1, plug_state=True, power=1450.07, 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.92, 239.1, 240.11]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=250.0, imported_since_plugged=250.0, range_charged=1.25, time_charged='0:09', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e9778>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:44:52,068 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:44:52,070 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:44:52,072 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-331.0, 617.0, -273.0], currents=[-2.0, 2.8, -1.5], voltages=[239.78, 239.68, 238.66], power_factors=[-0.68, 0.89, -0.76], unbalanced_load=0, frequency=50.0, daily_exported=53.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=12.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25438.07, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:44:52,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=822.4300000000001, invalid_home_consumption=0, daily_yield_home_consumption=26656.0, imported_home_consumption=4312442.8174033305, disengageable_smarthome_power=0))
2024-01-28 14:44:52,077 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:44:52,078 - {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-28 14:44:52,080 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:44:52,084 - {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-28 14:44:52,095 - {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-28 14:44:52,097 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:52,098 - {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=77, soc_timestamp=1706449432.239454, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:44:52,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-28 14:44:52,100 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:44:52,102 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:52,103 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:44:52,105 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7d5850>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:44:52,108 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:44:52,110 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:44:52,111 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8d8e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:44:52,114 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=438.0, monthly_exported=0, yearly_exported=0, exported=301388.652, fault_state=0, fault_str='Kein Fehler.', power=-102))
2024-01-28 14:44:52,115 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4933.0, monthly_exported=0, yearly_exported=0, exported=8005707.2, fault_state=0, fault_str='Kein Fehler.', power=-3267.5))
2024-01-28 14:44:52,117 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5372.0, monthly_exported=0, yearly_exported=0, exported=8307095.852, power=-3369.5))
2024-01-28 14:44:52,118 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449481, 'time': '14:44:41', 'grid': -0.0, 'house-power': 0.823, 'charging-all': 1.441, 'pv-all': 3.38, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.116, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:44:52,119 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:44:52,122 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:44:52,123 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:52,125 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:44:52,126 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:44:52,129 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:44:52,130 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:44:52,132 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:44:52,135 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:44:52,136 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:44:52,137 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 12.0W
2024-01-28 14:44:52,139 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: -12.0W, benötigte neue Leistung: 3220W
2024-01-28 14:44:52,140 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 12.0W
2024-01-28 14:44:52,141 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 12.0W
2024-01-28 14:44:52,144 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 12.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:44:52,146 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:44:52,149 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:44:52,153 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.5]A verbleibende Ströme, 24058.07W verbleibende Leistung
2024-01-28 14:44:52,154 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:44:52,156 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:44:52,158 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:44:52,159 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -41.93000000000029W
2024-01-28 14:44:52,161 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -41.93000000000029W
2024-01-28 14:44:52,165 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:44:52,166 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:44:52,169 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:44:52,172 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:44:52,186 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:44:55,478 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:44:55,481 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:00,497 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:00,499 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:45:00,501 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-28 14:45:00,527 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-28 14:45:00,529 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-28 14:45:02,626 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/daily_imported, Payload 388.0, vorherige Payload: 320.0
2024-01-28 14:45:02,637 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:45:02,638 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:45:02,699 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:45:02,704 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:02,714 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:02,716 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:45:02,717 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:02,759 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-23, 327, -622, 272], Scale 0
2024-01-28 14:45:02,781 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:45:02,785 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":102.0, "voltage":240.1, "current":0.429, "aenergy":{"total":9448.347,"by_minute":[56.962,1719.295,1734.010],"minute_ts":1706449501},"temperature":{"tC":41.4, "tF":106.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:45","unixtime":1706449503,"uptime":5808897,"ram_size":248948,"ram_free":144488,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:45:02,789 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449491.092747, power=-102, imported=0.0, exported=301388.6516167097)
2024-01-28 14:45:02,792 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00324897, power1: -102, power2: -102
2024-01-28 14:45:02,808 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.331394
2024-01-28 14:45:02,809 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.331394 Wh, new state: SimCounterState(timestamp=1706449502.7890224, power=-102, imported=0.0, exported=301388.98301118147)
2024-01-28 14:45:02,811 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301388.98301118147, dc_power=None)
2024-01-28 14:45:02,815 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 28, 15], Scale -1
2024-01-28 14:45:02,858 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23974, 23969, 23872, 0, 0, 0, 0], Scale -2
2024-01-28 14:45:02,878 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:45:02,902 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7070, 8889, -7480], Scale -2
2024-01-28 14:45:02,928 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798670, 2184843, 1457603, 8628773, 3551345, 2508596, 3137030], Scale 0
2024-01-28 14:45:02,929 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-327.0, 622.0, -272.0], voltages=[239.74, 239.69, 238.72], power_factors=[-0.7070000000000001, 0.8889, -0.748], imported=8628773.0, exported=4872918.0, power=23.0, frequency=50.0)
2024-01-28 14:45:02,930 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:03,079 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21496], Scale -1
2024-01-28 14:45:03,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963601], Scale 0
2024-01-28 14:45:03,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [300, 301, 298], Scale -2
2024-01-28 14:45:03,148 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21714], Scale -1
2024-01-28 14:45:03,148 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0, 3.0100000000000002, 2.98]
2024-01-28 14:45:03,149 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0, 3.0100000000000002, 2.98], power=-2149.6, exported=7963601.0, dc_power=-2171.4)
2024-01-28 14:45:03,150 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:03,199 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449491.4570916, power=1109.0, imported=174266.89604745153, exported=132153.6990891164)
2024-01-28 14:45:03,200 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00326171, power1: 1109, power2: 1088
2024-01-28 14:45:03,200 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 3.58299
2024-01-28 14:45:03,200 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 3.58299 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449503.1992495, power=1088.0, imported=174270.4790364773, exported=132153.6990891164)
2024-01-28 14:45:03,201 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174270.4790364773, exported=132153.6990891164, power=1088.0, soc=12.0)
2024-01-28 14:45:03,207 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:03,208 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174270.4790364773, exported=132153.6990891164, power=1088.0, soc=12.0)
2024-01-28 14:45:03,255 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:03,256 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:03,257 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:03,258 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3237.6, exported=8005717.78, dc_power=None)
2024-01-28 14:45:03,259 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301388.98301118147, dc_power=None)
2024-01-28 14:45:03,260 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3237.6, exported=8005717.78, dc_power=None)
2024-01-28 14:45:03,262 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-102, exported=301388.98301118147, dc_power=None)
2024-01-28 14:45:03,306 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:03,307 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-327.0, 622.0, -272.0], voltages=[239.74, 239.69, 238.72], power_factors=[-0.7070000000000001, 0.8889, -0.748], imported=8628773.0, exported=4872918.0, power=23.0, frequency=50.0)
2024-01-28 14:45:03,376 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:03,377 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:45:03,377 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7d68c8>
2024-01-28 14:45:03,381 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:03,382 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7d68c8>
2024-01-28 14:45:03,408 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/daily_imported, Payload 388.0, vorherige Payload: 320.0
2024-01-28 14:45:03,410 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174270.48, vorherige Payload: 174266.9
2024-01-28 14:45:03,411 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1088.0, vorherige Payload: 1109.0
2024-01-28 14:45:03,546 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:45:03,551 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.93, 38.36, 36.48]A
2024-01-28 14:45:03,553 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25436.87W
2024-01-28 14:45:03,554 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:45:03,557 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:03,559 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:45:03,560 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:45:03.560356
2024-01-28 14:45:03,561 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136205.756414s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:45:03,563 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:45:03.562946
2024-01-28 14:45:03,564 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:45:03.562946
2024-01-28 14:45:03,565 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53047.989849s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:45:03,567 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:45:03.566777
2024-01-28 14:45:03,567 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128424.383534s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:45:03,569 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:45:03.569054
2024-01-28 14:45:03,570 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:45:03.569054
2024-01-28 14:45:03,571 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51751.089331s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:45:03,572 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:45:03,578 - {control.chargepoint.chargepoint:667} - {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: 6.16
2024-01-28 14:45:03,579 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:45:03,597 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449492.049404, power=822.4300000000001, imported=4312442.8174033305, exported=0)
2024-01-28 14:45:03,599 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00320785, power1: 822.43, power2: 814.73
2024-01-28 14:45:03,600 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.62588
2024-01-28 14:45:03,611 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.62588 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449503.5976472, power=814.73, imported=4312445.443281382, exported=0)
2024-01-28 14:45:03,615 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174270.48, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1088.0))
2024-01-28 14:45:03,619 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174270.48, exported=132153.7, power=1088.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:45:03,620 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1459.87, imported=7628407.23, exported=0))
2024-01-28 14:45:03,621 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.16, -0.02, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628407.23, phases_in_use=1, plug_state=True, power=1459.87, 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.15, 239.11, 240.14]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=254.87999999988824, imported_since_plugged=254.87999999988824, range_charged=1.2743999999994413, time_charged='0:09', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edb62b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:45:03,622 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:45:03,623 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:45:03,625 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-327.0, 622.0, -272.0], currents=[-1.9, 2.8, -1.5], voltages=[239.74, 239.69, 238.72], power_factors=[-0.71, 0.89, -0.75], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=23.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25436.87, raw_currents_left=[36.93, 38.36, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:45:03,626 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=814.73, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312445.443281382, disengageable_smarthome_power=0))
2024-01-28 14:45:03,628 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:45:03,631 - {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-28 14:45:03,633 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:45:03,634 - {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-28 14:45:03,636 - {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-28 14:45:03,637 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:03,641 - {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=77, soc_timestamp=1706449492.583976, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:03,644 - {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-28 14:45:03,645 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:45:03,649 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:03,650 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:03,655 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed9e250>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:45:03,656 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:45:03,657 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:45:03,659 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7f6a48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:45:03,662 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301388.983, fault_state=0, fault_str='Kein Fehler.', power=-102))
2024-01-28 14:45:03,664 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=5187.0, monthly_exported=0, yearly_exported=0, exported=8005717.78, fault_state=0, fault_str='Kein Fehler.', power=-3237.6))
2024-01-28 14:45:03,666 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307106.763, power=-3339.6))
2024-01-28 14:45:03,669 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449492, 'time': '14:44:52', 'grid': 0.012, 'house-power': 0.822, 'charging-all': 1.45, 'pv-all': 3.369, 'cp1-power': 1.45, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.109, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:45:03,670 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:45:03,672 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:45:03,673 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:03,674 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:03,677 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:45:03,680 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:45:03,681 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:45:03,685 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:45:03,687 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:45:03,688 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:03,689 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 23.0W
2024-01-28 14:45:03,690 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.16A, Überschuss: -23.0W, benötigte neue Leistung: 3220W
2024-01-28 14:45:03,691 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 23.0W
2024-01-28 14:45:03,693 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 23.0W
2024-01-28 14:45:03,697 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 23.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:45:03,698 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:45:03,701 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:45:03,702 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [36.93, 32.36, 36.48]A verbleibende Ströme, 24056.87W verbleibende Leistung
2024-01-28 14:45:03,704 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:45:03,708 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:45:03,710 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:45:03,713 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -43.13000000000102W
2024-01-28 14:45:03,714 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -43.13000000000102W
2024-01-28 14:45:03,715 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:45:03,715 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:45:03,719 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:45:03,721 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:03,740 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:45:05,183 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:05,184 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:10,194 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:10,195 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:10,196 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:45:10,197 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:45:10,247 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:45:10,248 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:10,255 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:45:10,257 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:10,260 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:10,299 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:45:10,301 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":101.5, "voltage":240.0, "current":0.427, "aenergy":{"total":9448.573,"by_minute":[282.910,1719.295,1734.010],"minute_ts":1706449509},"temperature":{"tC":41.5, "tF":106.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:45","unixtime":1706449510,"uptime":5808905,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:45:10,303 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449502.7890224, power=-102, imported=0.0, exported=301388.98301118147)
2024-01-28 14:45:10,304 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00208729, power1: -102, power2: -101
2024-01-28 14:45:10,304 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.21186
2024-01-28 14:45:10,305 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.21186 Wh, new state: SimCounterState(timestamp=1706449510.3032577, power=-101, imported=0.0, exported=301389.19487087)
2024-01-28 14:45:10,308 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-101, exported=301389.19487087, dc_power=None)
2024-01-28 14:45:10,310 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5, 343, -618, 280], Scale 0
2024-01-28 14:45:10,356 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 29, 15], Scale -1
2024-01-28 14:45:10,386 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23966, 23992, 23864, 0, 0, 0, 0], Scale -2
2024-01-28 14:45:10,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:45:10,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6999, 8930, -7400], Scale -2
2024-01-28 14:45:10,519 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798671, 2184843, 1457603, 8628773, 3551345, 2508598, 3137030], Scale 0
2024-01-28 14:45:10,520 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.9000000000000001, 2.9000000000000004, -1.5], powers=[-343.0, 618.0, -280.0], voltages=[239.66, 239.92000000000002, 238.64000000000001], power_factors=[-0.6999, 0.893, -0.74], imported=8628773.0, exported=4872918.0, power=-5.0, frequency=50.0)
2024-01-28 14:45:10,521 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:10,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21750], Scale -1
2024-01-28 14:45:10,575 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963606], Scale 0
2024-01-28 14:45:10,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 308, 302], Scale -2
2024-01-28 14:45:10,616 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22081], Scale -1
2024-01-28 14:45:10,616 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.08, 3.02]
2024-01-28 14:45:10,617 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.08, 3.02], power=-2175.0, exported=7963606.0, dc_power=-2208.1)
2024-01-28 14:45:10,618 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:10,667 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449503.1992495, power=1088.0, imported=174270.4790364773, exported=132153.6990891164)
2024-01-28 14:45:10,668 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00207443, power1: 1088, power2: 1034
2024-01-28 14:45:10,668 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.20096
2024-01-28 14:45:10,668 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.20096 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449510.6671796, power=1034.0, imported=174272.68000142544, exported=132153.6990891164)
2024-01-28 14:45:10,670 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174272.68000142544, exported=132153.6990891164, power=1034.0, soc=12.0)
2024-01-28 14:45:10,688 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:10,689 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174272.68000142544, exported=132153.6990891164, power=1034.0, soc=12.0)
2024-01-28 14:45:10,719 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:10,720 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:10,722 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:10,724 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3209.0, exported=8005724.98, dc_power=None)
2024-01-28 14:45:10,725 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-101, exported=301389.19487087, dc_power=None)
2024-01-28 14:45:10,725 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3209.0, exported=8005724.98, dc_power=None)
2024-01-28 14:45:10,726 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-101, exported=301389.19487087, dc_power=None)
2024-01-28 14:45:10,786 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:10,786 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.9000000000000001, 2.9000000000000004, -1.5], powers=[-343.0, 618.0, -280.0], voltages=[239.66, 239.92000000000002, 238.64000000000001], power_factors=[-0.6999, 0.893, -0.74], imported=8628773.0, exported=4872918.0, power=-5.0, frequency=50.0)
2024-01-28 14:45:10,846 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:10,847 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:45:10,848 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7e9c10>
2024-01-28 14:45:10,858 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:10,863 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7e9c10>
2024-01-28 14:45:10,879 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174272.68, vorherige Payload: 174270.48
2024-01-28 14:45:10,881 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1034.0, vorherige Payload: 1088.0
2024-01-28 14:45:11,015 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:45:11,018 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.93, 38.23, 36.5]A
2024-01-28 14:45:11,019 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25458.26W
2024-01-28 14:45:11,020 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:45:11,021 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:11,023 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:45:11,026 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:45:11.025928
2024-01-28 14:45:11,027 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136198.290842s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:45:11,029 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:45:11.029485
2024-01-28 14:45:11,031 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:45:11.029485
2024-01-28 14:45:11,033 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53040.52331s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:45:11,035 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:45:11.035032
2024-01-28 14:45:11,036 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128416.915279s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:45:11,037 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:45:11.037452
2024-01-28 14:45:11,038 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:45:11.037452
2024-01-28 14:45:11,040 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51743.620933s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:45:11,041 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:45:11,046 - {control.chargepoint.chargepoint:667} - {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: 6.13
2024-01-28 14:45:11,047 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:45:11,053 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449503.5976472, power=814.73, imported=4312445.443281382, exported=0)
2024-01-28 14:45:11,056 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00207114, power1: 814.73, power2: 817.74
2024-01-28 14:45:11,057 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.69054
2024-01-28 14:45:11,058 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.69054 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449511.053754, power=817.74, imported=4312447.133818998, exported=0)
2024-01-28 14:45:11,062 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174272.68, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1034.0))
2024-01-28 14:45:11,067 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174272.68, exported=132153.7, power=1034.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:45:11,068 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1453.26, imported=7628410.16, exported=0))
2024-01-28 14:45:11,069 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.13, 0.0, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628410.16, phases_in_use=1, plug_state=True, power=1453.26, 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.14, 239.14, 240.11]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=259.28000000026077, imported_since_plugged=259.28000000026077, range_charged=1.2964000000013038, time_charged='0:09', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6edac298>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:45:11,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-28 14:45:11,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-28 14:45:11,072 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-343.0, 618.0, -280.0], currents=[-1.9, 2.9, -1.5], voltages=[239.66, 239.92, 238.64], power_factors=[-0.7, 0.89, -0.74], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-5.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25458.26, raw_currents_left=[36.93, 38.23, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:45:11,074 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=817.74, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312447.133818998, disengageable_smarthome_power=0))
2024-01-28 14:45:11,076 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:45:11,078 - {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-28 14:45:11,082 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:45:11,084 - {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-28 14:45:11,086 - {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-28 14:45:11,087 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:11,089 - {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=77, soc_timestamp=1706449492.583976, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:11,090 - {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-28 14:45:11,091 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:45:11,093 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:11,094 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:11,096 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f58b0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:45:11,097 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:45:11,098 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:45:11,100 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7f6958>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:45:11,101 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301389.195, fault_state=0, fault_str='Kein Fehler.', power=-101))
2024-01-28 14:45:11,102 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=5187.0, monthly_exported=0, yearly_exported=0, exported=8005724.98, fault_state=0, fault_str='Kein Fehler.', power=-3209.0))
2024-01-28 14:45:11,103 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307114.175000001, power=-3310.0))
2024-01-28 14:45:11,105 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449503, 'time': '14:45:03', 'grid': 0.023, 'house-power': 0.815, 'charging-all': 1.46, 'pv-all': 3.34, 'cp1-power': 1.46, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.088, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:45:11,106 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:45:11,108 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:45:11,109 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:11,110 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:11,111 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:45:11,112 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:45:11,113 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:45:11,114 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:45:11,117 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:45:11,118 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:11,121 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:45:11,122 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.13A, Überschuss: 5.0W, benötigte neue Leistung: 3220W
2024-01-28 14:45:11,125 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:45:11,126 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -5.0W
2024-01-28 14:45:11,128 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -5.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:45:11,129 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:45:11,132 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:45:11,134 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [36.93, 32.23, 36.5]A verbleibende Ströme, 24078.26W verbleibende Leistung
2024-01-28 14:45:11,136 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:45:11,138 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:45:11,141 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:45:11,142 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -21.7400000000016W
2024-01-28 14:45:11,143 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -21.7400000000016W
2024-01-28 14:45:11,145 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:45:11,146 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:45:11,151 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:45:11,158 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:11,175 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:45:15,478 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:20,494 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:20,497 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:20,498 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:45:20,499 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:45:20,549 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:45:20,550 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:20,558 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:45:20,561 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:20,564 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:20,587 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-17, 326, -621, 277], Scale 0
2024-01-28 14:45:20,608 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:45: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":true, "apower":100.2, "voltage":239.8, "current":0.422, "aenergy":{"total":9448.855,"by_minute":[562.972,1719.295,1734.010],"minute_ts":1706449519},"temperature":{"tC":41.6, "tF":106.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:45","unixtime":1706449520,"uptime":5808915,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:45:20,612 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449510.3032577, power=-101, imported=0.0, exported=301389.19487087)
2024-01-28 14:45:20,612 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286353, power1: -101, power2: -100
2024-01-28 14:45:20,613 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.287784
2024-01-28 14:45:20,613 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.287784 Wh, new state: SimCounterState(timestamp=1706449520.6119514, power=-100, imported=0.0, exported=301389.4826552343)
2024-01-28 14:45:20,614 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-100, exported=301389.4826552343, dc_power=None)
2024-01-28 14:45:20,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:45:20,676 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23963, 23973, 23862, 0, 0, 0, 0], Scale -2
2024-01-28 14:45:20,695 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:45:20,805 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7020, 8920, -7530], Scale -2
2024-01-28 14:45:20,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798672, 2184843, 1457604, 8628773, 3551345, 2508599, 3137030], Scale 0
2024-01-28 14:45:20,827 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-326.0, 621.0, -277.0], voltages=[239.63, 239.73000000000002, 238.62], power_factors=[-0.7020000000000001, 0.892, -0.753], imported=8628773.0, exported=4872918.0, power=17.0, frequency=50.0)
2024-01-28 14:45:20,830 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:20,844 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21540], Scale -1
2024-01-28 14:45:20,864 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963613], Scale 0
2024-01-28 14:45:20,907 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [303, 304, 297], Scale -2
2024-01-28 14:45:20,948 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21868], Scale -1
2024-01-28 14:45:20,949 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0300000000000002, 3.04, 2.97]
2024-01-28 14:45:20,949 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0300000000000002, 3.04, 2.97], power=-2154.0, exported=7963613.0, dc_power=-2186.8)
2024-01-28 14:45:20,952 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:21,025 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449510.6671796, power=1034.0, imported=174272.68000142544, exported=132153.6990891164)
2024-01-28 14:45:21,026 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287743, power1: 1034, power2: 1007
2024-01-28 14:45:21,027 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.93642
2024-01-28 14:45:21,027 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.93642 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449521.025945, power=1007.0, imported=174275.61642366258, exported=132153.6990891164)
2024-01-28 14:45:21,028 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174275.61642366258, exported=132153.6990891164, power=1007.0, soc=12.0)
2024-01-28 14:45:21,037 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:21,038 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174275.61642366258, exported=132153.6990891164, power=1007.0, soc=12.0)
2024-01-28 14:45:21,079 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:21,080 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:21,081 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:21,081 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3161.0, exported=8005734.92, dc_power=None)
2024-01-28 14:45:21,082 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-100, exported=301389.4826552343, dc_power=None)
2024-01-28 14:45:21,083 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3161.0, exported=8005734.92, dc_power=None)
2024-01-28 14:45:21,083 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-100, exported=301389.4826552343, dc_power=None)
2024-01-28 14:45:21,123 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:21,125 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-326.0, 621.0, -277.0], voltages=[239.63, 239.73000000000002, 238.62], power_factors=[-0.7020000000000001, 0.892, -0.753], imported=8628773.0, exported=4872918.0, power=17.0, frequency=50.0)
2024-01-28 14:45:21,183 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:21,183 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:45:21,184 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6ed8bb20>
2024-01-28 14:45:21,186 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:21,187 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6ed8bb20>
2024-01-28 14:45:21,209 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174275.62, vorherige Payload: 174272.68
2024-01-28 14:45:21,210 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 1007.0, vorherige Payload: 1034.0
2024-01-28 14:45:21,330 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:45:21,342 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:45:21,344 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25439.85W
2024-01-28 14:45:21,350 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:45:21,360 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:21,361 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:45:21,365 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:45:21.364715
2024-01-28 14:45:21,366 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136187.952055s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:45:21,369 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:45:21.368765
2024-01-28 14:45:21,371 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:45:21.368765
2024-01-28 14:45:21,373 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53030.18403s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:45:21,374 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:45:21.373997
2024-01-28 14:45:21,375 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128406.576314s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:45:21,375 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:45:21.375606
2024-01-28 14:45:21,376 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:45:21.375606
2024-01-28 14:45:21,377 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51733.282779s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:45:21,377 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:45:21,383 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:45:21,385 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:45:21,420 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449511.053754, power=817.74, imported=4312447.133818998, exported=0)
2024-01-28 14:45:21,422 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287963, power1: 817.74, power2: 814.15
2024-01-28 14:45:21,425 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.34962
2024-01-28 14:45:21,427 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.34962 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449521.4204278, power=814.1500000000001, imported=4312449.483439992, exported=0)
2024-01-28 14:45:21,444 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174275.62, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=1007.0))
2024-01-28 14:45:21,447 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174275.62, exported=132153.7, power=1007.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:45:21,459 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1456.85, imported=7628414.06, exported=0))
2024-01-28 14:45:21,461 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628414.06, phases_in_use=1, plug_state=True, power=1456.85, 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.96, 238.97, 239.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=262.20999999996275, imported_since_plugged=262.20999999996275, range_charged=1.3110499999998138, time_charged='0:09', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7763a0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:45:21,466 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:45:21,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-28 14:45:21,469 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-326.0, 621.0, -277.0], currents=[-2.0, 2.8, -1.5], voltages=[239.63, 239.73, 238.62], power_factors=[-0.7, 0.89, -0.75], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=17.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25439.85, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:45:21,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=814.1500000000001, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312449.483439992, disengageable_smarthome_power=0))
2024-01-28 14:45:21,472 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:45:21,476 - {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-28 14:45:21,479 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:45:21,480 - {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-28 14:45:21,481 - {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-28 14:45:21,482 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:21,483 - {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=77, soc_timestamp=1706449492.583976, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:21,483 - {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-28 14:45:21,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-28 14:45:21,484 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:21,485 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:21,485 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6eda6dd8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:45:21,486 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:45:21,486 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:45:21,487 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed5b898>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:45:21,487 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301389.483, fault_state=0, fault_str='Kein Fehler.', power=-100))
2024-01-28 14:45:21,488 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=5187.0, monthly_exported=0, yearly_exported=0, exported=8005734.92, fault_state=0, fault_str='Kein Fehler.', power=-3161.0))
2024-01-28 14:45:21,488 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307124.403, power=-3261.0))
2024-01-28 14:45:21,489 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449511, 'time': '14:45:11', 'grid': -0.005, 'house-power': 0.818, 'charging-all': 1.453, 'pv-all': 3.31, 'cp1-power': 1.453, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.034, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:45:21,489 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:45:21,490 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:45:21,490 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:21,491 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:21,491 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:45:21,492 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:45:21,492 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:45:21,492 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:45:21,493 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:45:21,493 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:21,494 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 17.0W
2024-01-28 14:45:21,494 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: -17.0W, benötigte neue Leistung: 3220W
2024-01-28 14:45:21,495 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 17.0W
2024-01-28 14:45:21,496 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 17.0W
2024-01-28 14:45:21,496 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 17.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:45:21,497 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:45:21,499 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:45:21,500 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.5]A verbleibende Ströme, 24059.85W verbleibende Leistung
2024-01-28 14:45:21,500 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:45:21,502 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:45:21,504 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:45:21,504 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -40.150000000001455W
2024-01-28 14:45:21,505 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -40.150000000001455W
2024-01-28 14:45:21,505 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:45:21,506 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:45:21,538 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:45:21,553 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:21,569 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:45:25,884 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:25,885 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:30,896 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:30,898 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:45:30,898 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:45:30,943 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:45:30,945 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:30,951 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:45:30,953 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:30,966 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:31,002 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:45:31,005 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":99.2, "voltage":239.5, "current":0.419, "aenergy":{"total":9449.132,"by_minute":[839.711,1719.295,1734.010],"minute_ts":1706449529},"temperature":{"tC":41.6, "tF":106.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:45","unixtime":1706449531,"uptime":5808925,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:45:31,006 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6, 337, -619, 276], Scale 0
2024-01-28 14:45:31,010 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449520.6119514, power=-100, imported=0.0, exported=301389.4826552343)
2024-01-28 14:45:31,012 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288845, power1: -100, power2: -99
2024-01-28 14:45:31,013 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.287401
2024-01-28 14:45:31,013 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.287401 Wh, new state: SimCounterState(timestamp=1706449531.0103822, power=-99, imported=0.0, exported=301389.7700563085)
2024-01-28 14:45:31,015 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-99, exported=301389.7700563085, dc_power=None)
2024-01-28 14:45:31,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:45:31,150 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23936, 23957, 23843, 0, 0, 0, 0], Scale -2
2024-01-28 14:45:31,187 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:45:31,227 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6800, 8949, -7340], Scale -2
2024-01-28 14:45:31,268 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798674, 2184843, 1457605, 8628773, 3551345, 2508601, 3137030], Scale 0
2024-01-28 14:45:31,268 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-337.0, 619.0, -276.0], voltages=[239.36, 239.57, 238.43], power_factors=[-0.68, 0.8948999999999999, -0.7340000000000001], imported=8628773.0, exported=4872918.0, power=6.0, frequency=50.0)
2024-01-28 14:45:31,270 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:31,285 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21581], Scale -1
2024-01-28 14:45:31,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963619], Scale 0
2024-01-28 14:45:31,325 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 303, 301], Scale -2
2024-01-28 14:45:31,367 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21909], Scale -1
2024-01-28 14:45:31,367 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.0300000000000002, 3.0100000000000002]
2024-01-28 14:45:31,368 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.0300000000000002, 3.0100000000000002], power=-2158.1, exported=7963619.0, dc_power=-2190.9)
2024-01-28 14:45:31,369 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:31,428 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449521.025945, power=1007.0, imported=174275.61642366258, exported=132153.6990891164)
2024-01-28 14:45:31,429 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288955, power1: 1007, power2: 958
2024-01-28 14:45:31,429 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.83899
2024-01-28 14:45:31,429 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.83899 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449531.4283404, power=958.0, imported=174278.4554107642, exported=132153.6990891164)
2024-01-28 14:45:31,430 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174278.4554107642, exported=132153.6990891164, power=958.0, soc=12.0)
2024-01-28 14:45:31,448 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:31,448 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174278.4554107642, exported=132153.6990891164, power=958.0, soc=12.0)
2024-01-28 14:45:31,481 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:31,482 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:31,483 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:31,483 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3116.1, exported=8005743.76, dc_power=None)
2024-01-28 14:45:31,484 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-99, exported=301389.7700563085, dc_power=None)
2024-01-28 14:45:31,484 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3116.1, exported=8005743.76, dc_power=None)
2024-01-28 14:45:31,485 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-99, exported=301389.7700563085, dc_power=None)
2024-01-28 14:45:31,525 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:31,526 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-337.0, 619.0, -276.0], voltages=[239.36, 239.57, 238.43], power_factors=[-0.68, 0.8948999999999999, -0.7340000000000001], imported=8628773.0, exported=4872918.0, power=6.0, frequency=50.0)
2024-01-28 14:45:31,586 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:31,587 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:45:31,587 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7faef8>
2024-01-28 14:45:31,592 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:31,599 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7faef8>
2024-01-28 14:45:31,611 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174278.46, vorherige Payload: 174275.62
2024-01-28 14:45:31,615 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 958.0, vorherige Payload: 1007.0
2024-01-28 14:45:31,737 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:45:31,740 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.48]A
2024-01-28 14:45:31,741 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25430.14W
2024-01-28 14:45:31,742 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:45:31,744 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:31,747 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:45:31,749 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:45:31.749204
2024-01-28 14:45:31,751 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136177.567566s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:45:31,753 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:45:31.752688
2024-01-28 14:45:31,754 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:45:31.752688
2024-01-28 14:45:31,757 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53019.800107s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:45:31,759 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:45:31.758580
2024-01-28 14:45:31,760 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128396.191731s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:45:31,762 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:45:31.762210
2024-01-28 14:45:31,764 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:45:31.762210
2024-01-28 14:45:31,766 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51722.896175s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:45:31,771 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:45:31,784 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:45:31,791 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:45:31,809 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449521.4204278, power=814.1500000000001, imported=4312449.483439992, exported=0)
2024-01-28 14:45:31,811 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288573, power1: 814.15, power2: 826.96
2024-01-28 14:45:31,814 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.3679
2024-01-28 14:45:31,815 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.3679 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449531.809051, power=826.9599999999998, imported=4312451.851339087, exported=0)
2024-01-28 14:45:31,831 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174278.46, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=958.0))
2024-01-28 14:45:31,839 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174278.46, exported=132153.7, power=958.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:45:31,840 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1436.14, imported=7628417.97, exported=0))
2024-01-28 14:45:31,843 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, -0.02, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628417.97, phases_in_use=1, plug_state=True, power=1436.14, 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.81, 239.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=266.10999999940395, imported_since_plugged=266.10999999940395, range_charged=1.3305499999970196, time_charged='0:10', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed8c148>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:45:31,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-28 14:45:31,853 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:45:31,866 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-337.0, 619.0, -276.0], currents=[-2.0, 2.8, -1.5], voltages=[239.36, 239.57, 238.43], power_factors=[-0.68, 0.89, -0.73], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=6.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25430.14, raw_currents_left=[37.03, 38.27, 36.48], surplus_power_left=0, state_str=''))
2024-01-28 14:45:31,867 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=826.9599999999998, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312451.851339087, disengageable_smarthome_power=0))
2024-01-28 14:45:31,869 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:45:31,870 - {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-28 14:45:31,872 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:45:31,874 - {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-28 14:45:31,877 - {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-28 14:45:31,880 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:31,884 - {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=77, soc_timestamp=1706449492.583976, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:31,885 - {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-28 14:45:31,898 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:45:31,899 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:31,899 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:31,902 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7c6838>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:45:31,903 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:45:31,904 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:45:31,905 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6eda89d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:45:31,906 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301389.77, fault_state=0, fault_str='Kein Fehler.', power=-99))
2024-01-28 14:45:31,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=5187.0, monthly_exported=0, yearly_exported=0, exported=8005743.76, fault_state=0, fault_str='Kein Fehler.', power=-3116.1))
2024-01-28 14:45:31,921 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307133.529999999, power=-3215.1))
2024-01-28 14:45:31,928 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449521, 'time': '14:45:21', 'grid': 0.017, 'house-power': 0.814, 'charging-all': 1.457, 'pv-all': 3.261, 'cp1-power': 1.457, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 1.007, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:45:31,930 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:45:31,934 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:45:31,935 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:31,936 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:31,937 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:45:31,939 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:45:31,941 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:45:31,943 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:45:31,944 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:45:31,948 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:31,949 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6.0W
2024-01-28 14:45:31,951 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: -6.0W, benötigte neue Leistung: 3220W
2024-01-28 14:45:31,953 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6.0W
2024-01-28 14:45:31,954 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6.0W
2024-01-28 14:45:31,955 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 6.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:45:31,956 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:45:31,959 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:45:31,961 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.48]A verbleibende Ströme, 24050.14W verbleibende Leistung
2024-01-28 14:45:31,962 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:45:31,964 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:45:31,967 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:45:31,970 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -49.86000000000058W
2024-01-28 14:45:31,971 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -49.86000000000058W
2024-01-28 14:45:31,972 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:45:31,973 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:45:31,976 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:45:31,978 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:32,039 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:45:35,310 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:35,311 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:40,331 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:40,333 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:40,336 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:45:40,337 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:45:40,433 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:45:40,435 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:40,441 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:40,465 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:40,490 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:45:40,542 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4, 339, -622, 278], Scale 0
2024-01-28 14:45:40,586 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:45:40,594 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":98.7, "voltage":239.8, "current":0.416, "aenergy":{"total":9449.405,"by_minute":[1114.551,1719.295,1734.010],"minute_ts":1706449539},"temperature":{"tC":41.6, "tF":106.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:45","unixtime":1706449540,"uptime":5808935,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:45:40,596 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:45:40,616 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449531.0103822, power=-99, imported=0.0, exported=301389.7700563085)
2024-01-28 14:45:40,644 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026683, power1: -99, power2: -98
2024-01-28 14:45:40,650 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.262827
2024-01-28 14:45:40,660 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23925, 23933, 23828, 0, 0, 0, 0], Scale -2
2024-01-28 14:45:40,678 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.262827 Wh, new state: SimCounterState(timestamp=1706449540.6162448, power=-98, imported=0.0, exported=301390.03288338287)
2024-01-28 14:45:40,691 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-98, exported=301390.03288338287, dc_power=None)
2024-01-28 14:45:40,737 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:45:40,782 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6539, 8980, -7310], Scale -2
2024-01-28 14:45:40,865 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798674, 2184843, 1457606, 8628773, 3551345, 2508603, 3137030], Scale 0
2024-01-28 14:45:40,867 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-339.0, 622.0, -278.0], voltages=[239.25, 239.33, 238.28], power_factors=[-0.6539, 0.898, -0.7310000000000001], imported=8628773.0, exported=4872918.0, power=4.0, frequency=50.0)
2024-01-28 14:45:40,875 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:40,918 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21601], Scale -1
2024-01-28 14:45:40,977 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963625], Scale 0
2024-01-28 14:45:41,005 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [303, 304, 299], Scale -2
2024-01-28 14:45:41,025 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21930], Scale -1
2024-01-28 14:45:41,026 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0300000000000002, 3.04, 2.99]
2024-01-28 14:45:41,026 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0300000000000002, 3.04, 2.99], power=-2160.1, exported=7963625.0, dc_power=-2193.0)
2024-01-28 14:45:41,028 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:41,141 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449531.4283404, power=958.0, imported=174278.4554107642, exported=132153.6990891164)
2024-01-28 14:45:41,141 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00269797, power1: 958, power2: 931
2024-01-28 14:45:41,142 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.54823
2024-01-28 14:45:41,143 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.54823 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449541.1410358, power=931.0, imported=174281.00364431078, exported=132153.6990891164)
2024-01-28 14:45:41,144 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174281.00364431078, exported=132153.6990891164, power=931.0, soc=12.0)
2024-01-28 14:45:41,152 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:41,153 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174281.00364431078, exported=132153.6990891164, power=931.0, soc=12.0)
2024-01-28 14:45:41,195 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:41,196 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:41,198 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3091.1, exported=8005752.3, dc_power=None)
2024-01-28 14:45:41,199 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:41,199 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3091.1, exported=8005752.3, dc_power=None)
2024-01-28 14:45:41,200 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-98, exported=301390.03288338287, dc_power=None)
2024-01-28 14:45:41,202 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-98, exported=301390.03288338287, dc_power=None)
2024-01-28 14:45:41,241 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:41,243 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-339.0, 622.0, -278.0], voltages=[239.25, 239.33, 238.28], power_factors=[-0.6539, 0.898, -0.7310000000000001], imported=8628773.0, exported=4872918.0, power=4.0, frequency=50.0)
2024-01-28 14:45:41,304 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:41,305 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:45:41,306 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x7016cd60>
2024-01-28 14:45:41,318 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:41,319 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x7016cd60>
2024-01-28 14:45:41,334 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174281.0, vorherige Payload: 174278.46
2024-01-28 14:45:41,341 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 931.0, vorherige Payload: 958.0
2024-01-28 14:45:41,444 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:45:41,447 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.5]A
2024-01-28 14:45:41,448 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25437.35W
2024-01-28 14:45:41,449 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:45:41,450 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:41,452 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:45:41,454 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:45:41.453888
2024-01-28 14:45:41,457 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136167.862882s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:45:41,458 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:45:41.458325
2024-01-28 14:45:41,460 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:45:41.458325
2024-01-28 14:45:41,461 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 53010.09447s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:45:41,463 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:45:41.462554
2024-01-28 14:45:41,464 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128386.487757s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:45:41,466 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:45:41.465823
2024-01-28 14:45:41,467 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:45:41.465823
2024-01-28 14:45:41,469 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51713.192562s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:45:41,471 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:45:41,478 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:45:41,481 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:45:41,499 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449531.809051, power=826.9599999999998, imported=4312451.851339087, exported=0)
2024-01-28 14:45:41,501 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269176, power1: 826.96, power2: 820.75
2024-01-28 14:45:41,502 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.21762
2024-01-28 14:45:41,506 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.21762 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449541.4993975, power=820.75, imported=4312454.06896142, exported=0)
2024-01-28 14:45:41,512 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174281.0, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=931.0))
2024-01-28 14:45:41,513 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174281.0, exported=132153.7, power=931.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:45:41,516 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1441.35, imported=7628421.88, exported=0))
2024-01-28 14:45:41,520 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, 0.0, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628421.88, phases_in_use=1, plug_state=True, power=1441.35, 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.87, 238.88, 239.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=270.01999999955297, imported_since_plugged=270.01999999955297, range_charged=1.350099999997765, time_charged='0:10', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed9e6a0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:45:41,521 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:45:41,522 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:45:41,523 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-339.0, 622.0, -278.0], currents=[-2.0, 2.8, -1.5], voltages=[239.25, 239.33, 238.28], power_factors=[-0.65, 0.9, -0.73], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=4.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25437.35, raw_currents_left=[37.03, 38.28, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:45:41,525 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=820.75, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312454.06896142, disengageable_smarthome_power=0))
2024-01-28 14:45:41,526 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:45:41,527 - {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-28 14:45:41,528 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:45:41,529 - {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-28 14:45:41,529 - {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-28 14:45:41,530 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:41,530 - {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=77, soc_timestamp=1706449492.583976, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:41,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-28 14:45:41,531 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:45:41,532 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:41,532 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:41,533 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb8a78>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:45:41,533 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:45:41,534 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:45:41,534 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7f6448>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:45:41,535 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301390.033, fault_state=0, fault_str='Kein Fehler.', power=-98))
2024-01-28 14:45:41,536 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=5187.0, monthly_exported=0, yearly_exported=0, exported=8005752.3, fault_state=0, fault_str='Kein Fehler.', power=-3091.1))
2024-01-28 14:45:41,537 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307142.333, power=-3189.1))
2024-01-28 14:45:41,540 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449532, 'time': '14:45:32', 'grid': 0.006, 'house-power': 0.827, 'charging-all': 1.436, 'pv-all': 3.215, 'cp1-power': 1.436, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.958, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:45:41,544 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:45:41,545 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:45:41,546 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:41,548 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:41,548 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:45:41,550 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:45:41,552 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:45:41,553 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:45:41,555 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:45:41,556 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:41,558 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4.0W
2024-01-28 14:45:41,560 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -4.0W, benötigte neue Leistung: 3220W
2024-01-28 14:45:41,561 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4.0W
2024-01-28 14:45:41,563 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4.0W
2024-01-28 14:45:41,566 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 4.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:45:41,567 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:45:41,571 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:45:41,573 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.5]A verbleibende Ströme, 24057.35W verbleibende Leistung
2024-01-28 14:45:41,574 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:45:41,576 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:45:41,579 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:45:41,582 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -42.650000000001455W
2024-01-28 14:45:41,583 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -42.650000000001455W
2024-01-28 14:45:41,584 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:45:41,587 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:45:41,592 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:45:41,600 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:41,667 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:45:45,963 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:50,977 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:50,978 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:45:50,979 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:45:50,979 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:45:51,034 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:45:51,037 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:51,044 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:45:51,045 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:51,045 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:51,073 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-10, 323, -613, 280], Scale 0
2024-01-28 14:45:51,100 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:45:51,103 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":98.3, "voltage":239.7, "current":0.415, "aenergy":{"total":9449.706,"by_minute":[1415.973,1719.295,1734.010],"minute_ts":1706449550},"temperature":{"tC":41.7, "tF":107.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:45","unixtime":1706449551,"uptime":5808945,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:45:51,106 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449540.6162448, power=-98, imported=0.0, exported=301390.03288338287)
2024-01-28 14:45:51,107 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291394, power1: -98, power2: -98
2024-01-28 14:45:51,108 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.285566
2024-01-28 14:45:51,109 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.285566 Wh, new state: SimCounterState(timestamp=1706449551.1064255, power=-98, imported=0.0, exported=301390.31844941387)
2024-01-28 14:45:51,110 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-98, exported=301390.31844941387, dc_power=None)
2024-01-28 14:45:51,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 16], Scale -1
2024-01-28 14:45:51,145 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23939, 23964, 23849, 0, 0, 0, 0], Scale -2
2024-01-28 14:45:51,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:45:51,197 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6869, 8899, -7239], Scale -2
2024-01-28 14:45:51,317 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798675, 2184843, 1457606, 8628773, 3551345, 2508604, 3137030], Scale 0
2024-01-28 14:45:51,318 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-323.0, 613.0, -280.0], voltages=[239.39000000000001, 239.64000000000001, 238.49], power_factors=[-0.6869, 0.8898999999999999, -0.7239], imported=8628773.0, exported=4872918.0, power=10.0, frequency=50.0)
2024-01-28 14:45:51,320 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:51,360 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21760], Scale -1
2024-01-28 14:45:51,385 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963632], Scale 0
2024-01-28 14:45:51,405 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 307, 303], Scale -2
2024-01-28 14:45:51,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22116], Scale -1
2024-01-28 14:45:51,425 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.0700000000000003, 3.0300000000000002]
2024-01-28 14:45:51,426 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.0700000000000003, 3.0300000000000002], power=-2176.0, exported=7963632.0, dc_power=-2211.6)
2024-01-28 14:45:51,428 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:51,526 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449541.1410358, power=931.0, imported=174281.00364431078, exported=132153.6990891164)
2024-01-28 14:45:51,526 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0028847, power1: 931, power2: 907
2024-01-28 14:45:51,527 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.65104
2024-01-28 14:45:51,527 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.65104 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449551.5259585, power=907.0, imported=174283.65468431098, exported=132153.6990891164)
2024-01-28 14:45:51,528 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174283.65468431098, exported=132153.6990891164, power=907.0, soc=12.0)
2024-01-28 14:45:51,532 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:45:51,533 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174283.65468431098, exported=132153.6990891164, power=907.0, soc=12.0)
2024-01-28 14:45:51,606 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:51,610 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:45:51,611 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:45:51,611 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3083.0, exported=8005761.95, dc_power=None)
2024-01-28 14:45:51,612 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-98, exported=301390.31844941387, dc_power=None)
2024-01-28 14:45:51,613 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3083.0, exported=8005761.95, dc_power=None)
2024-01-28 14:45:51,613 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-98, exported=301390.31844941387, dc_power=None)
2024-01-28 14:45:51,651 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:45:51,658 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-323.0, 613.0, -280.0], voltages=[239.39000000000001, 239.64000000000001, 238.49], power_factors=[-0.6869, 0.8898999999999999, -0.7239], imported=8628773.0, exported=4872918.0, power=10.0, frequency=50.0)
2024-01-28 14:45:51,719 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:51,720 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:45:51,720 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7cf880>
2024-01-28 14:45:51,724 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:45:51,725 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7cf880>
2024-01-28 14:45:51,746 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174283.65, vorherige Payload: 174281.0
2024-01-28 14:45:51,747 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 907.0, vorherige Payload: 931.0
2024-01-28 14:45:51,894 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:45:51,897 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.6]A
2024-01-28 14:45:51,898 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25432.27W
2024-01-28 14:45:51,899 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:45:51,912 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:51,914 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:45:51,917 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:45:51.916566
2024-01-28 14:45:51,919 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136157.400204s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:45:51,920 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:45:51.920421
2024-01-28 14:45:51,922 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:45:51.920421
2024-01-28 14:45:51,923 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52999.632374s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:45:51,926 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:45:51.925625
2024-01-28 14:45:51,927 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128376.024686s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:45:51,928 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:45:51.928170
2024-01-28 14:45:51,930 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:45:51.928170
2024-01-28 14:45:51,932 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51702.730215s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:45:51,934 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:45:51,940 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:45:51,941 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:45:51,953 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449541.4993975, power=820.75, imported=4312454.06896142, exported=0)
2024-01-28 14:45:51,954 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290381, power1: 820.75, power2: 841.73
2024-01-28 14:45:51,956 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.41377
2024-01-28 14:45:51,957 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.41377 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449551.953124, power=841.73, imported=4312456.482726876, exported=0)
2024-01-28 14:45:51,964 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174283.65, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=907.0))
2024-01-28 14:45:51,967 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174283.65, exported=132153.7, power=907.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:45:51,969 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1442.27, imported=7628425.78, exported=0))
2024-01-28 14:45:51,972 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628425.78, phases_in_use=1, plug_state=True, power=1442.27, 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.86, 238.99, 239.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=273.929999999702, imported_since_plugged=273.929999999702, range_charged=1.36964999999851, time_charged='0:10', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e9e08>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:45:51,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-28 14:45:51,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-28 14:45:51,975 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-323.0, 613.0, -280.0], currents=[-2.0, 2.8, -1.6], voltages=[239.39, 239.64, 238.49], power_factors=[-0.69, 0.89, -0.72], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=10.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25432.27, raw_currents_left=[37.03, 38.27, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:45:51,977 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=841.73, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312456.482726876, disengageable_smarthome_power=0))
2024-01-28 14:45:51,979 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:45:51,984 - {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-28 14:45:51,986 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:45:51,987 - {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-28 14:45:51,989 - {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-28 14:45:51,990 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:51,991 - {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=77, soc_timestamp=1706449550.952465, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:45:51,993 - {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-28 14:45:51,995 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:45:51,996 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:51,997 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:45:51,998 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6edb6160>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:45:51,999 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:45:52,000 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:45:52,001 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8bfd0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:45:52,003 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301390.318, fault_state=0, fault_str='Kein Fehler.', power=-98))
2024-01-28 14:45:52,005 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=5187.0, monthly_exported=0, yearly_exported=0, exported=8005761.95, fault_state=0, fault_str='Kein Fehler.', power=-3083.0))
2024-01-28 14:45:52,006 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307152.268, power=-3181.0))
2024-01-28 14:45:52,008 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449541, 'time': '14:45:41', 'grid': 0.004, 'house-power': 0.821, 'charging-all': 1.441, 'pv-all': 3.189, 'cp1-power': 1.441, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.931, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:45:52,009 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:45:52,011 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:45:52,012 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:52,014 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:45:52,015 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:45:52,016 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:45:52,017 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:45:52,019 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:45:52,020 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:45:52,021 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:45:52,022 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 10.0W
2024-01-28 14:45:52,024 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.07A, Überschuss: -10.0W, benötigte neue Leistung: 3220W
2024-01-28 14:45:52,025 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 10.0W
2024-01-28 14:45:52,026 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 10.0W
2024-01-28 14:45:52,029 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 10.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:45:52,031 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:45:52,033 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:45:52,035 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.27, 36.6]A verbleibende Ströme, 24052.27W verbleibende Leistung
2024-01-28 14:45:52,037 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:45:52,039 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:45:52,042 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:45:52,043 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -47.72999999999956W
2024-01-28 14:45:52,044 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -47.72999999999956W
2024-01-28 14:45:52,047 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:45:52,048 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:45:52,052 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:45:52,055 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:45:52,070 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:45:55,355 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:45:55,356 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:46:00,368 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:46:00,371 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:46:00,373 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:46:00,475 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:46:00,477 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:46:00,487 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:00,490 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:46:00,496 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:46:00,544 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 727
2024-01-28 14:46:00,547 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":96.7, "voltage":239.6, "current":0.408, "aenergy":{"total":9449.951,"by_minute":[1659.485,1719.295,1734.010],"minute_ts":1706449559},"temperature":{"tC":41.7, "tF":107.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:46","unixtime":1706449560,"uptime":5808955,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-28 14:46:00,552 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449551.1064255, power=-98, imported=0.0, exported=301390.31844941387)
2024-01-28 14:46:00,557 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262378, power1: -98, power2: -96
2024-01-28 14:46:00,558 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.254507
2024-01-28 14:46:00,562 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.254507 Wh, new state: SimCounterState(timestamp=1706449560.5520444, power=-96, imported=0.0, exported=301390.5729563667)
2024-01-28 14:46:00,574 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301390.5729563667, dc_power=None)
2024-01-28 14:46:00,586 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-19, 336, -628, 273], Scale 0
2024-01-28 14:46:00,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 16], Scale -1
2024-01-28 14:46:00,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23944, 23952, 23857, 0, 0, 0, 0], Scale -2
2024-01-28 14:46:00,697 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:46:00,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6480, 8930, -7279], Scale -2
2024-01-28 14:46:00,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798676, 2184843, 1457607, 8628773, 3551345, 2508606, 3137030], Scale 0
2024-01-28 14:46:00,738 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-336.0, 628.0, -273.0], voltages=[239.44, 239.52, 238.57], power_factors=[-0.648, 0.893, -0.7279000000000001], imported=8628773.0, exported=4872918.0, power=19.0, frequency=50.0)
2024-01-28 14:46:00,739 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:46:00,787 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21423], Scale -1
2024-01-28 14:46:00,817 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963637], Scale 0
2024-01-28 14:46:00,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [299, 303, 296], Scale -2
2024-01-28 14:46:00,857 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21749], Scale -1
2024-01-28 14:46:00,858 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [2.99, 3.0300000000000002, 2.96]
2024-01-28 14:46:00,859 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[2.99, 3.0300000000000002, 2.96], power=-2142.3, exported=7963637.0, dc_power=-2174.9)
2024-01-28 14:46:00,860 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:46:00,896 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449551.5259585, power=907.0, imported=174283.65468431098, exported=132153.6990891164)
2024-01-28 14:46:00,897 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260294, power1: 907, power2: 883
2024-01-28 14:46:00,897 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.32963
2024-01-28 14:46:00,897 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.32963 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449560.896547, power=883.0, imported=174285.98431673992, exported=132153.6990891164)
2024-01-28 14:46:00,898 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174285.98431673992, exported=132153.6990891164, power=883.0, soc=12.0)
2024-01-28 14:46:00,904 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:46:00,909 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174285.98431673992, exported=132153.6990891164, power=883.0, soc=12.0)
2024-01-28 14:46:00,942 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:00,943 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:46:00,944 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3025.3, exported=8005769.28, dc_power=None)
2024-01-28 14:46:00,945 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3025.3, exported=8005769.28, dc_power=None)
2024-01-28 14:46:00,947 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:46:00,953 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301390.5729563667, dc_power=None)
2024-01-28 14:46:00,961 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301390.5729563667, dc_power=None)
2024-01-28 14:46:00,986 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:46:00,987 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.6], powers=[-336.0, 628.0, -273.0], voltages=[239.44, 239.52, 238.57], power_factors=[-0.648, 0.893, -0.7279000000000001], imported=8628773.0, exported=4872918.0, power=19.0, frequency=50.0)
2024-01-28 14:46:01,051 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:46:01,052 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:46:01,052 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6f7f6a00>
2024-01-28 14:46:01,064 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:46:01,065 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6f7f6a00>
2024-01-28 14:46:01,078 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174285.98, vorherige Payload: 174283.65
2024-01-28 14:46:01,079 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 883.0, vorherige Payload: 907.0
2024-01-28 14:46:01,192 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:46:01,194 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.28, 36.6]A
2024-01-28 14:46:01,195 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25421.14W
2024-01-28 14:46:01,196 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:46:01,198 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:46:01,199 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:46:01,201 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:46:01.200576
2024-01-28 14:46:01,202 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136148.116194s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:46:01,203 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:46:01.203417
2024-01-28 14:46:01,205 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:46:01.203417
2024-01-28 14:46:01,207 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52990.349378s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:46:01,209 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:46:01.208889
2024-01-28 14:46:01,214 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128366.741422s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:46:01,215 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:46:01.215193
2024-01-28 14:46:01,218 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:46:01.215193
2024-01-28 14:46:01,219 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51693.443192s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:46:01,220 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:46:01,224 - {control.chargepoint.chargepoint:667} - {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: 6.08
2024-01-28 14:46:01,225 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:46:01,277 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449551.953124, power=841.73, imported=4312456.482726876, exported=0)
2024-01-28 14:46:01,280 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00258996, power1: 841.73, power2: 817.16
2024-01-28 14:46:01,284 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.14823
2024-01-28 14:46:01,285 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.14823 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449561.2769952, power=817.1600000000001, imported=4312458.630959735, exported=0)
2024-01-28 14:46:01,290 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174285.98, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=883.0))
2024-01-28 14:46:01,292 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174285.98, exported=132153.7, power=883.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:46:01,294 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1440.14, imported=7628430.18, exported=0))
2024-01-28 14:46:01,297 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.08, 0.0, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628430.18, phases_in_use=1, plug_state=True, power=1440.14, 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.75, 238.99, 239.76]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=277.8300000000745, imported_since_plugged=277.8300000000745, range_charged=1.3891500000003725, time_charged='0:10', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d5a48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:46:01,299 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:46:01,301 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:46:01,302 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-336.0, 628.0, -273.0], currents=[-2.0, 2.8, -1.6], voltages=[239.44, 239.52, 238.57], power_factors=[-0.65, 0.89, -0.73], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628773.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=19.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25421.14, raw_currents_left=[37.03, 38.28, 36.6], surplus_power_left=0, state_str=''))
2024-01-28 14:46:01,305 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=817.1600000000001, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312458.630959735, disengageable_smarthome_power=0))
2024-01-28 14:46:01,306 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:46:01,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-28 14:46:01,317 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:46:01,319 - {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-28 14:46:01,320 - {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-28 14:46:01,329 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:46:01,332 - {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=77, soc_timestamp=1706449550.952465, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:46:01,334 - {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-28 14:46:01,336 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:46:01,339 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:46:01,340 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:46:01,347 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6ed9e9d0>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:46:01,349 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:46:01,352 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:46:01,353 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7f6a00>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:46:01,354 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301390.573, fault_state=0, fault_str='Kein Fehler.', power=-96))
2024-01-28 14:46:01,355 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=5187.0, monthly_exported=0, yearly_exported=0, exported=8005769.28, fault_state=0, fault_str='Kein Fehler.', power=-3025.3))
2024-01-28 14:46:01,356 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307159.853, power=-3121.3))
2024-01-28 14:46:01,358 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449552, 'time': '14:45:52', 'grid': 0.01, 'house-power': 0.842, 'charging-all': 1.442, 'pv-all': 3.181, 'cp1-power': 1.442, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.907, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:46:01,359 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:46:01,360 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:46:01,361 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:46:01,361 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:46:01,363 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:46:01,364 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:46:01,364 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:46:01,365 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:46:01,366 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:46:01,366 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:46:01,367 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 19.0W
2024-01-28 14:46:01,367 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -19.0W, benötigte neue Leistung: 3220W
2024-01-28 14:46:01,367 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 19.0W
2024-01-28 14:46:01,368 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 19.0W
2024-01-28 14:46:01,369 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: 19.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:46:01,369 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:46:01,371 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:46:01,372 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [37.03, 32.28, 36.6]A verbleibende Ströme, 24041.14W verbleibende Leistung
2024-01-28 14:46:01,373 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:46:01,374 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:46:01,376 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:46:01,377 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -58.86000000000058W
2024-01-28 14:46:01,378 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -58.86000000000058W
2024-01-28 14:46:01,378 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:46:01,379 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:46:01,381 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:46:01,408 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:01,437 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:46:05,703 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:46:05,704 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:46:10,717 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:46:10,719 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:46:10,721 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:46:10,725 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:46:10,809 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:46:10,815 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:46:10,823 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:10,829 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:46:10,837 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:46:10,855 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21, 350, -613, 284], Scale 0
2024-01-28 14:46:10,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [19, 28, 15], Scale -1
2024-01-28 14:46:10,888 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:46:10,891 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":96.1, "voltage":239.9, "current":0.405, "aenergy":{"total":9450.219,"by_minute":[267.720,1659.485,1719.295],"minute_ts":1706449569},"temperature":{"tC":41.6, "tF":106.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:46","unixtime":1706449571,"uptime":5808965,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:46:10,896 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449560.5520444, power=-96, imported=0.0, exported=301390.5729563667)
2024-01-28 14:46:10,898 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287355, power1: -96, power2: -96
2024-01-28 14:46:10,899 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.275861
2024-01-28 14:46:10,901 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.275861 Wh, new state: SimCounterState(timestamp=1706449570.8968272, power=-96, imported=0.0, exported=301390.84881724213)
2024-01-28 14:46:10,903 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301390.84881724213, dc_power=None)
2024-01-28 14:46:10,907 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23972, 23978, 23871, 0, 0, 0, 0], Scale -2
2024-01-28 14:46:10,926 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:46:10,945 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6899, 8920, -7559], Scale -2
2024-01-28 14:46:10,997 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798677, 2184843, 1457608, 8628774, 3551345, 2508609, 3137030], Scale 0
2024-01-28 14:46:10,999 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-350.0, 613.0, -284.0], voltages=[239.72, 239.78, 238.71], power_factors=[-0.6899, 0.892, -0.7559], imported=8628774.0, exported=4872918.0, power=-21.0, frequency=50.0)
2024-01-28 14:46:11,002 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:46:11,025 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21783], Scale -1
2024-01-28 14:46:11,070 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963643], Scale 0
2024-01-28 14:46:11,096 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [304, 305, 305], Scale -2
2024-01-28 14:46:11,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22115], Scale -1
2024-01-28 14:46:11,126 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.04, 3.0500000000000003, 3.0500000000000003]
2024-01-28 14:46:11,127 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.04, 3.0500000000000003, 3.0500000000000003], power=-2178.3, exported=7963643.0, dc_power=-2211.5)
2024-01-28 14:46:11,128 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:46:11,215 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449560.896547, power=883.0, imported=174285.98431673992, exported=132153.6990891164)
2024-01-28 14:46:11,216 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286649, power1: 883, power2: 825
2024-01-28 14:46:11,217 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.44798
2024-01-28 14:46:11,217 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.44798 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449571.215902, power=825.0, imported=174288.43229706754, exported=132153.6990891164)
2024-01-28 14:46:11,218 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174288.43229706754, exported=132153.6990891164, power=825.0, soc=12.0)
2024-01-28 14:46:11,221 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:46:11,222 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174288.43229706754, exported=132153.6990891164, power=825.0, soc=12.0)
2024-01-28 14:46:11,265 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:11,266 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:46:11,267 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:46:11,267 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3003.3, exported=8005777.73, dc_power=None)
2024-01-28 14:46:11,269 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301390.84881724213, dc_power=None)
2024-01-28 14:46:11,269 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3003.3, exported=8005777.73, dc_power=None)
2024-01-28 14:46:11,271 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-96, exported=301390.84881724213, dc_power=None)
2024-01-28 14:46:11,312 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:46:11,313 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-1.9000000000000001, 2.8000000000000003, -1.5], powers=[-350.0, 613.0, -284.0], voltages=[239.72, 239.78, 238.71], power_factors=[-0.6899, 0.892, -0.7559], imported=8628774.0, exported=4872918.0, power=-21.0, frequency=50.0)
2024-01-28 14:46:11,386 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:46:11,387 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:46:11,388 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edb6a90>
2024-01-28 14:46:11,392 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:46:11,394 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edb6a90>
2024-01-28 14:46:11,417 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174288.43, vorherige Payload: 174285.98
2024-01-28 14:46:11,418 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 825.0, vorherige Payload: 883.0
2024-01-28 14:46:11,532 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:46:11,537 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [36.93, 38.29, 36.5]A
2024-01-28 14:46:11,538 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25473.72W
2024-01-28 14:46:11,539 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:46:11,541 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:46:11,543 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:46:11,544 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:46:11.544173
2024-01-28 14:46:11,545 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136137.772597s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:46:11,547 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:46:11.547153
2024-01-28 14:46:11,549 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:46:11.547153
2024-01-28 14:46:11,551 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52980.005642s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:46:11,552 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:46:11.552306
2024-01-28 14:46:11,554 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128356.398005s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:46:11,556 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:46:11.555927
2024-01-28 14:46:11,558 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:46:11.555927
2024-01-28 14:46:11,559 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51683.102458s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:46:11,560 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:46:11,565 - {control.chargepoint.chargepoint:667} - {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: 6.09
2024-01-28 14:46:11,567 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:46:11,579 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449561.2769952, power=817.1600000000001, imported=4312458.630959735, exported=0)
2024-01-28 14:46:11,582 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286184, power1: 817.16, power2: 800.58
2024-01-28 14:46:11,583 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.31486
2024-01-28 14:46:11,584 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.31486 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449571.5796359, power=800.5800000000002, imported=4312460.945820003, exported=0)
2024-01-28 14:46:11,590 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174288.43, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=825.0))
2024-01-28 14:46:11,591 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174288.43, exported=132153.7, power=825.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:46:11,593 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1452.72, imported=7628434.08, exported=0))
2024-01-28 14:46:11,596 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.09, 0.0, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628434.08, phases_in_use=1, plug_state=True, power=1452.72, 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, 240.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=282.2299999995157, imported_since_plugged=282.2299999995157, range_charged=1.4111499999975785, time_charged='0:10', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d68b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:46:11,598 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:46:11,600 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:46:11,602 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-350.0, 613.0, -284.0], currents=[-1.9, 2.8, -1.5], voltages=[239.72, 239.78, 238.71], power_factors=[-0.69, 0.89, -0.76], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628774.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-21.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25473.72, raw_currents_left=[36.93, 38.29, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:46:11,603 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=800.5800000000002, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312460.945820003, disengageable_smarthome_power=0))
2024-01-28 14:46:11,604 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-28 14:46:11,606 - {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-28 14:46:11,608 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '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=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '3': ScheduledChargingPlan(active=False, frequency=Frequency(selected='once', once='2024-01-21', weekly=[False, False, False, False, False, False, False]), current=14, name='Einmalig', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=90), time='13:30')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=100))))
2024-01-28 14:46:11,609 - {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-28 14:46:11,611 - {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-28 14:46:11,612 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=49.0, soc_timestamp=1706445568.8299, force_soc_update=False, range=218.64, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:46:11,613 - {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=77, soc_timestamp=1706449550.952465, force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2024-01-28 14:46:11,614 - {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-28 14:46:11,617 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-28 14:46:11,619 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:46:11,621 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=2, keep_charge_active_duration=40)
2024-01-28 14:46:11,623 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-115, 115], feed_in_yield=11000, phase_switch_delay=12, phases_to_use=0, rundown_power=1000, rundown_soc=80, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x6f7f6358>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-01-28 14:46:11,625 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-28 14:46:11,626 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-28 14:46:11,627 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f7cf9a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-28 14:46:11,629 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=447.0, monthly_exported=0, yearly_exported=0, exported=301390.849, fault_state=0, fault_str='Kein Fehler.', power=-96))
2024-01-28 14:46:11,630 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=5187.0, monthly_exported=0, yearly_exported=0, exported=8005777.73, fault_state=0, fault_str='Kein Fehler.', power=-3003.3))
2024-01-28 14:46:11,631 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=5634.0, monthly_exported=0, yearly_exported=0, exported=8307168.579000001, power=-3099.3))
2024-01-28 14:46:11,633 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_branch': 'master', 'current_branch_commit': '2024-01-26 12:02:17 +0100 [957489bd1]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1706449561, 'time': '14:46:01', 'grid': 0.019, 'house-power': 0.817, 'charging-all': 1.44, 'pv-all': 3.121, 'cp1-power': 1.44, 'ev1-soc': 49.0, 'ev2-soc': 77, 'bat-all-power': 0.883, 'bat-all-soc': 12}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-28 14:46:11,634 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-28 14:46:11,635 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-28 14:46:11,636 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-28 14:46:11,638 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-28 14:46:11,639 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-28 14:46:11,641 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-28 14:46:11,642 - {control.data:253} - {INFO:MainThread} - 

2024-01-28 14:46:11,643 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-28 14:46:11,644 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 1: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-01-28 14:46:11,645 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:46:11,647 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -21.0W
2024-01-28 14:46:11,649 - {control.ev:459} - {DEBUG:MainThread} - Genutzter Strom: 6.09A, Überschuss: 21.0W, benötigte neue Leistung: 3220W
2024-01-28 14:46:11,650 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -21.0W
2024-01-28 14:46:11,652 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -21.0W
2024-01-28 14:46:11,653 - {control.counter:379} - {DEBUG:MainThread} - LP1 Switch-Off-Threshold prüfen: -21.0W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2024-01-28 14:46:11,654 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-28 14:46:11,657 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-28 14:46:11,659 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [36.93, 32.29, 36.5]A verbleibende Ströme, 24093.72W verbleibende Leistung
2024-01-28 14:46:11,661 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-28 14:46:11,663 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-28 14:46:11,666 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-28 14:46:11,667 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6.279999999998836W
2024-01-28 14:46:11,668 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6.279999999998836W
2024-01-28 14:46:11,669 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-28 14:46:11,670 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-28 14:46:11,675 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-28 14:46:11,689 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:11,719 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-28 14:46:15,030 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:46:15,031 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-28 14:46:20,046 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-28 14:46:20,049 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-28 14:46:20,051 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-28 14:46:20,134 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d283e8>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71d39fb8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x71d394f0>}
2024-01-28 14:46:20,136 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:46:20,152 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:20,169 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-28 14:46:20,173 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:46:20,205 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5, 344, -618, 279], Scale 0
2024-01-28 14:46:20,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20, 28, 15], Scale -1
2024-01-28 14:46:20,275 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23950, 23955, 23856, 0, 0, 0, 0], Scale -2
2024-01-28 14:46:20,301 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 726
2024-01-28 14:46:20,303 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":true, "apower":95.9, "voltage":239.9, "current":0.405, "aenergy":{"total":9450.483,"by_minute":[534.016,1659.485,1719.295],"minute_ts":1706449579},"temperature":{"tC":41.6, "tF":106.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"14:46","unixtime":1706449580,"uptime":5808975,"ram_size":249000,"ram_free":145088,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":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-28 14:46:20,306 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-28 14:46:20,306 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1706449570.8968272, power=-96, imported=0.0, exported=301390.84881724213)
2024-01-28 14:46:20,308 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261389, power1: -96, power2: -95
2024-01-28 14:46:20,309 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.249626
2024-01-28 14:46:20,309 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0.249626 Wh, new state: SimCounterState(timestamp=1706449580.306829, power=-95, imported=0.0, exported=301391.0984436776)
2024-01-28 14:46:20,310 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-95, exported=301391.0984436776, dc_power=None)
2024-01-28 14:46:20,332 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-7129, 8999, -7580], Scale -2
2024-01-28 14:46:20,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4872918, 1798678, 2184843, 1457609, 8628774, 3551345, 2508610, 3137030], Scale 0
2024-01-28 14:46:20,499 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-344.0, 618.0, -279.0], voltages=[239.5, 239.55, 238.56], power_factors=[-0.7129000000000001, 0.8998999999999999, -0.758], imported=8628774.0, exported=4872918.0, power=-5.0, frequency=50.0)
2024-01-28 14:46:20,501 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:46:20,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21715], Scale -1
2024-01-28 14:46:20,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7963649], Scale 0
2024-01-28 14:46:20,575 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [303, 306, 302], Scale -2
2024-01-28 14:46:20,606 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22046], Scale -1
2024-01-28 14:46:20,606 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [3.0300000000000002, 3.06, 3.02]
2024-01-28 14:46:20,607 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[3.0300000000000002, 3.06, 3.02], power=-2171.5, exported=7963649.0, dc_power=-2204.6)
2024-01-28 14:46:20,608 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:46:20,656 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1706449571.215902, power=825.0, imported=174288.43229706754, exported=132153.6990891164)
2024-01-28 14:46:20,657 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026224, power1: 825, power2: 844
2024-01-28 14:46:20,658 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 2.18839
2024-01-28 14:46:20,659 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 2.18839 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449580.656525, power=844.0, imported=174290.620685882, exported=132153.6990891164)
2024-01-28 14:46:20,660 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=174290.620685882, exported=132153.6990891164, power=844.0, soc=12.0)
2024-01-28 14:46:20,683 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-28 14:46:20,695 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=174290.620685882, exported=132153.6990891164, power=844.0, soc=12.0)
2024-01-28 14:46:20,910 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-28 14:46:20,912 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-28 14:46:20,915 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-28 14:46:20,924 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3015.5, exported=8005785.92, dc_power=None)
2024-01-28 14:46:20,936 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3015.5, exported=8005785.92, dc_power=None)
2024-01-28 14:46:20,928 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-95, exported=301391.0984436776, dc_power=None)
2024-01-28 14:46:20,942 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-95, exported=301391.0984436776, dc_power=None)
2024-01-28 14:46:21,003 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-28 14:46:21,004 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.0, 2.8000000000000003, -1.5], powers=[-344.0, 618.0, -279.0], voltages=[239.5, 239.55, 238.56], power_factors=[-0.7129000000000001, 0.8998999999999999, -0.758], imported=8628774.0, exported=4872918.0, power=-5.0, frequency=50.0)
2024-01-28 14:46:21,067 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:46:21,068 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-01-28 14:46:21,069 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x6edb3eb0>
2024-01-28 14:46:21,077 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-01-28 14:46:21,081 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x6edb3eb0>
2024-01-28 14:46:21,095 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 174290.62, vorherige Payload: 174288.43
2024-01-28 14:46:21,096 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 844.0, vorherige Payload: 825.0
2024-01-28 14:46:21,212 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-28 14:46:21,214 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.03, 38.27, 36.5]A
2024-01-28 14:46:21,215 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 25443.47W
2024-01-28 14:46:21,216 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-28 14:46:21,218 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-28 14:46:21,219 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-28 14:46:21,220 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:04:50.683230 start_time 2024-01-30 04:35:09.316770 end 2024-01-30 05:40:00 now 2024-01-28 14:46:21.219891
2024-01-28 14:46:21,222 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 136128.096879s, Dauer 1.0807453416149069h, Termin heute verpasst: False
2024-01-28 14:46:21,224 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-28 05:29:11.552795 end 2024-01-28 05:40:00 now 2024-01-28 14:46:21.223576
2024-01-28 14:46:21,225 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:10:48.447205 start_time 2024-01-29 05:29:11.552795 end 2024-01-29 05:40:00 now 2024-01-28 14:46:21.223576
2024-01-28 14:46:21,228 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 52970.329219s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2024-01-28 14:46:21,233 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 3:14:32.049689 start_time 2024-01-30 02:25:27.950311 end 2024-01-30 05:40:00 now 2024-01-28 14:46:21.233143
2024-01-28 14:46:21,235 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 128346.717168s, Dauer 3.2422360248447206h, Termin heute verpasst: False
2024-01-28 14:46:21,236 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-28 05:07:34.658385 end 2024-01-28 05:40:00 now 2024-01-28 14:46:21.236171
2024-01-28 14:46:21,239 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:32:25.341615 start_time 2024-01-29 05:07:34.658385 end 2024-01-29 05:40:00 now 2024-01-28 14:46:21.236171
2024-01-28 14:46:21,240 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 51673.422214s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2024-01-28 14:46:21,244 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 80%, 6:00 Uhr
2024-01-28 14:46:21,249 - {control.chargepoint.chargepoint:667} - {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: 6.07
2024-01-28 14:46:21,272 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-28 14:46:21,278 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1706449571.5796359, power=800.5800000000002, imported=4312460.945820003, exported=0)
2024-01-28 14:46:21,279 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269401, power1: 800.58, power2: 823.03
2024-01-28 14:46:21,280 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.18701
2024-01-28 14:46:21,281 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 2.18701 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1706449581.2780716, power=823.03, imported=4312463.132830742, exported=0)
2024-01-28 14:46:21,285 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, imported=174290.62, exported=132153.7, fault_state=0, fault_str='Kein Fehler.', power=844.0))
2024-01-28 14:46:21,286 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=12, daily_exported=0.0, daily_imported=388.0, fault_str='Kein Fehler.', fault_state=0, imported=174290.62, exported=132153.7, power=844.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-28 14:46:21,287 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=313.0, daily_exported=0.0, power=1438.47, imported=7628437.99, exported=0))
2024-01-28 14:46:21,289 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 80%, 6:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7628147.95, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=4, 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=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=77), currents=[6.07, 0.0, 0.03], daily_imported=313.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7628437.99, phases_in_use=1, plug_state=True, power=1438.47, 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.09, 239.12, 239.96]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0, imported_at_mode_switch=7628147.95, imported_at_plugtime=7628147.95, imported_since_mode_switch=286.12999999988824, imported_since_plugged=286.12999999988824, range_charged=1.4306499999994413, time_charged='0:10', timestamp_start_charging=1706448921.072273, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1706433531.303331, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d55b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2024-01-28 14:46:21,294 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-28 14:46:21,295 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-28 14:46:21,296 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-344.0, 618.0, -279.0], currents=[-2.0, 2.8, -1.5], voltages=[239.5, 239.55, 238.56], power_factors=[-0.71, 0.9, -0.76], unbalanced_load=0, frequency=50.0, daily_exported=54.0, daily_imported=22109.0, imported=8628774.0, exported=4872918.0, fault_state=0, fault_str='Kein Fehler.', power=-5.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=25443.47, raw_currents_left=[37.03, 38.27, 36.5], surplus_power_left=0, state_str=''))
2024-01-28 14:46:21,297 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=823.03, invalid_home_consumption=0, daily_yield_home_consumption=26725.0, imported_home_consumption=4312463.132830742, disengageable_smarthome_power=0))
2024-01-28 14:46:21,299 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
