ICh hab' eben einen virtuellen Zähler hinzugefügt um meine Unterverteilung nebst Vorsicherung korrekt abbilden zu können. Leider laufe ich jetzt in einen Fehler. Eben noch ein Update auf die aktuellste nightly durchgeführt, Fehler bleibt. Der Ladepunkt wird durch diesen Fehler nun deaktiviert, was momentan nicht dramatisch ist, scheint hier keine Sonne.
Update: scheint wohl der WR zu sein, wenn ich diesen hinter dem virtuellen Zähler entferne gibt es keinen Fehler mehr. Tatsächlich ist der WR aber genau dort angeschlossen. Ist das heute bereits vorgesehen, kann ein WR hinter einem virtuellen Zähler sein? (Und wenn ja, woher weiß die openWB ob der WR einphasig oder dreiphasig ist, und an welche Phase er hängt? Strom könnte man ja aus der Leistung berechnen).
Code: Alles auswählen
2023-01-09 11:53:07,924 - {root:61} - {INFO:MainThread} - # ***Start***
2023-01-09 11:53:07,980 - {soc.modules.common.component_context:51} - {DEBUG:device4} - Update Komponenten ['EnergyMeter 1.0']
2023-01-09 11:53:07,980 - {soc.modules.common.component_context:51} - {DEBUG:device8} - Update Komponenten ['Pumpe']
2023-01-09 11:53:07,981 - {soc.modules.common.component_context:51} - {DEBUG:device9} - Update Komponenten ['Trockner']
2023-01-09 11:53:07,982 - {soc.modules.common.component_context:24} - {DEBUG:device14} - Update Komponente ['LP1 (Garage)']
2023-01-09 11:53:07,987 - {urllib3.connectionpool:227} - {DEBUG:device8} - Starting new HTTP connection (1): 192.168.178.81:80
2023-01-09 11:53:07,998 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-09 11:53:07,992 - {urllib3.connectionpool:227} - {DEBUG:device9} - Starting new HTTP connection (1): 192.168.178.209:80
2023-01-09 11:53:07,992 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device16} - Start device reading {'component23': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x71e44ad8>}
2023-01-09 11:53:07,993 - {modules.devices.virtual.device:40} - {DEBUG:device17} - Start device reading{'component24': <modules.devices.virtual.counter.VirtualCounter object at 0x71e6f0d0>}
2023-01-09 11:53:07,998 - {urllib3.connectionpool:272} - {DEBUG:device14} - Resetting dropped connection: 192.168.178.51
2023-01-09 11:53:07,987 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device15} - Start device reading {'component22': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x71e5db98>}
2023-01-09 11:53:08,003 - {soc.modules.common.component_context:24} - {DEBUG:device17} - Update Komponente ['Unterverteilung Garage']
2023-01-09 11:53:08,005 - {modules.common.simcount._simcount:38} - {DEBUG:device17} - Previous state: SimCounterState(timestamp=1673261576.1806989, power=0, imported=2.113210227754381, exported=0)
2023-01-09 11:53:08,007 - {modules.common.simcount._calculate:13} - {DEBUG:device17} - time passed: 0.00328477, power1: 0, power2: 0
2023-01-09 11:53:08,008 - {soc.modules.common.component_context:24} - {DEBUG:device15} - Update Komponente ['WR Garage (neu)']
2023-01-09 11:53:08,008 - {modules.common.simcount._calculate:29} - {DEBUG:device17} - power did not change sign. Total energy: 0
2023-01-09 11:53:08,010 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llkwh HTTP/1.1" 200 8
2023-01-09 11:53:08,015 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 6058.137
2023-01-09 11:53:08,012 - {modules.common.simcount._simcount:47} - {DEBUG:device17} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673261588.0058553, power=0, imported=2.113210227754381, exported=0)
2023-01-09 11:53:08,011 - {soc.modules.common.component_context:24} - {DEBUG:device16} - Update Komponente ['WR Haus (neu)']
2023-01-09 11:53:08,018 - {urllib3.connectionpool:452} - {DEBUG:device8} - http://192.168.178.81:80 "GET /meter/0 HTTP/1.1" 200 113
2023-01-09 11:53:08,023 - {urllib3.connectionpool:452} - {DEBUG:device9} - http://192.168.178.209:80 "GET /meter/0 HTTP/1.1" 200 87
2023-01-09 11:53:08,025 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/llaktuell HTTP/1.1" 200 1
2023-01-09 11:53:08,026 - {soc.modules.common.store._api:26} - {DEBUG:device17} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=2.113210227754381, exported=0, power=0, frequency=50)
2023-01-09 11:53:08,031 - {soc.modules.common.req:11} - {DEBUG:device8} - Get-Response: {"power":0.00,"overpower":0.00,"is_valid":true,"timestamp":1673265188,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-09 11:53:08,038 - {soc.modules.common.req:11} - {DEBUG:device9} - Get-Response: {"power":0.00,"is_valid":true,"timestamp":0,"counters":[0.000, 0.000, 0.000],"total":0}
2023-01-09 11:53:08,040 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0
2023-01-09 11:53:08,436 - {soc.modules.common.component_context:24} - {DEBUG:device4} - Update Komponente ['EnergyMeter 1.0']
2023-01-09 11:53:08,830 - {modules.common.simcount._simcount:38} - {DEBUG:device8} - Previous state: SimCounterState(timestamp=1673261576.9894948, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-09 11:53:08,833 - {modules.common.simcount._simcount:38} - {DEBUG:device9} - Previous state: SimCounterState(timestamp=1673261576.5873914, power=0.0, imported=106081.77902665432, exported=0.0)
2023-01-09 11:53:08,834 - {soc.modules.common.store._api:26} - {DEBUG:device4} - Raw data CounterState(voltages=[228.94, 227.574, 228.586], powers=[1716.8, -184.6, 2368.0], currents=[7.901, -1.557, 10.377], power_factors=[0.954, 0.763, 1.0], imported=35928570.9, exported=73850383.9, power=3900.2, frequency=50)
2023-01-09 11:53:08,836 - {modules.common.simcount._calculate:13} - {DEBUG:device8} - time passed: 0.00328909, power1: 0, power2: 0
2023-01-09 11:53:08,838 - {modules.common.simcount._calculate:13} - {DEBUG:device9} - time passed: 0.00340171, power1: 0, power2: 0
2023-01-09 11:53:08,846 - {modules.devices.sma_shm.device:29} - {DEBUG:device4} - All components updated
2023-01-09 11:53:08,847 - {modules.common.simcount._calculate:29} - {DEBUG:device8} - power did not change sign. Total energy: 0
2023-01-09 11:53:08,849 - {modules.common.simcount._calculate:29} - {DEBUG:device9} - power did not change sign. Total energy: 0
2023-01-09 11:53:08,853 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device15} - WR 192.168.178.204: InverterState(currents=[0.0, 0.0, 0.0], power=-401, exported=2528750, dc_power=-490)
2023-01-09 11:53:08,860 - {soc.modules.common.store._api:26} - {DEBUG:device15} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-401, exported=2528750, dc_power=-490)
2023-01-09 11:53:08,857 - {modules.common.simcount._simcount:47} - {DEBUG:device8} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673261588.8302233, power=0.0, imported=56424.15561013759, exported=0.0)
2023-01-09 11:53:08,859 - {modules.common.simcount._simcount:47} - {DEBUG:device9} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673261588.8335385, power=0.0, imported=106081.77902665432, exported=0.0)
2023-01-09 11:53:08,856 - {modules.common.simcount._simcount:38} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1673261576.9958282, power=0.0, imported=712174.5949851922, exported=0)
2023-01-09 11:53:08,868 - {modules.common.simcount._calculate:13} - {DEBUG:device14} - time passed: 0.0032945, power1: 0, power2: 0
2023-01-09 11:53:08,868 - {soc.modules.common.store._api:26} - {DEBUG:device9} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=106081.77902665432, exported=0.0, power=0.0, frequency=50)
2023-01-09 11:53:08,864 - {soc.modules.common.store._api:26} - {DEBUG:device8} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=56424.15561013759, exported=0.0, power=0.0, frequency=50)
2023-01-09 11:53:08,869 - {modules.common.simcount._calculate:29} - {DEBUG:device14} - power did not change sign. Total energy: 0
2023-01-09 11:53:08,878 - {modules.common.simcount._simcount:47} - {DEBUG:device14} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673261588.8560119, power=0.0, imported=712174.5949851922, exported=0)
2023-01-09 11:53:08,888 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla1 HTTP/1.1" 200 3
2023-01-09 11:53:08,892 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-09 11:53:08,913 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla2 HTTP/1.1" 200 3
2023-01-09 11:53:08,915 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-09 11:53:08,922 - {urllib3.connectionpool:452} - {DEBUG:device14} - http://192.168.178.51:80 "GET /openWB/ramdisk/lla3 HTTP/1.1" 200 3
2023-01-09 11:53:08,924 - {soc.modules.common.req:11} - {DEBUG:device14} - Get-Response: 0.0
2023-01-09 11:53:08,926 - {soc.modules.common.store._api:26} - {DEBUG:device14} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=712174.5949851922, exported=0, power=0.0, frequency=50)
2023-01-09 11:53:09,102 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device16} - WR 192.168.178.201: InverterState(currents=[0.0, 0.0, 0.0], power=-422, exported=41025454, dc_power=-422)
2023-01-09 11:53:09,102 - {soc.modules.common.store._api:26} - {DEBUG:device16} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-422, exported=41025454, dc_power=-422)
2023-01-09 11:53:09,106 - {soc.modules.common.component_context:24} - {DEBUG:component22} - Update Komponente ['WR Garage (neu)']
2023-01-09 11:53:09,107 - {soc.modules.common.store._api:26} - {DEBUG:component22} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-401, exported=2528750, dc_power=-490)
2023-01-09 11:53:09,108 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-09 11:53:09,110 - {soc.modules.common.component_context:24} - {DEBUG:component21} - Update Komponente ['LP1 (Garage)']
2023-01-09 11:53:09,116 - {soc.modules.common.store._api:30} - {DEBUG:component21} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=712174.5949851922, exported=0, power=0.0, frequency=50)
2023-01-09 11:53:09,110 - {soc.modules.common.store._api:30} - {DEBUG:component22} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-401, exported=2528750, dc_power=-490)
2023-01-09 11:53:09,167 - {soc.modules.common.component_context:24} - {DEBUG:component14} - Update Komponente ['Pumpe']
2023-01-09 11:53:09,169 - {soc.modules.common.store._api:30} - {DEBUG:component14} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=56424.15561013759, exported=0.0, power=0.0, frequency=50)
2023-01-09 11:53:09,171 - {soc.modules.common.component_context:24} - {DEBUG:component15} - Update Komponente ['Trockner']
2023-01-09 11:53:09,172 - {soc.modules.common.store._api:30} - {DEBUG:component15} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=106081.77902665432, exported=0.0, power=0.0, frequency=50)
2023-01-09 11:53:09,180 - {soc.modules.common.component_context:24} - {DEBUG:component23} - Update Komponente ['WR Haus (neu)']
2023-01-09 11:53:09,183 - {soc.modules.common.store._api:26} - {DEBUG:component23} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-422, exported=41025454, dc_power=-422)
2023-01-09 11:53:09,183 - {soc.modules.common.component_context:24} - {DEBUG:component24} - Update Komponente ['Unterverteilung Garage']
2023-01-09 11:53:09,186 - {soc.modules.common.store._api:30} - {DEBUG:component23} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-422, exported=41025454, dc_power=-422)
2023-01-09 11:53:09,196 - {soc.modules.common.fault_state:40} - {ERROR:component24} - Unterverteilung Garage: FaultState FaultStateLevel.ERROR, FaultStr <class 'KeyError'> 'imported', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/store/_api.py", line 38, in update_values
component.store.update()
File "/var/www/html/openWB/packages/modules/common/store/_counter.py", line 60, in update
state = self.calc_virtual(self.delegate.delegate.state)
File "/var/www/html/openWB/packages/modules/common/store/_counter.py", line 101, in calc_virtual
add_current_power(data.data.pv_data[f"pv{element['id']}"])
File "/var/www/html/openWB/packages/modules/common/store/_counter.py", line 76, in add_current_power
state.imported += element.data["get"]["imported"]
KeyError: 'imported'
2023-01-09 11:53:09,268 - {soc.modules.common.component_context:24} - {DEBUG:component7} - Update Komponente ['EnergyMeter 1.0']
2023-01-09 11:53:09,268 - {soc.modules.common.store._api:30} - {DEBUG:component7} - Saving CounterState(voltages=[228.94, 227.574, 228.586], powers=[1716.8, -184.6, 2368.0], currents=[7.901, -1.557, 10.377], power_factors=[0.954, 0.763, 1.0], imported=35928570.9, exported=73850383.9, power=3900.2, frequency=50)
2023-01-09 11:53:09,355 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 7: [26.1, 35.56, 23.619999999999997]
2023-01-09 11:53:09,355 - {control.counter:116} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 7: 20099.8
2023-01-09 11:53:09,356 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 14: [15.0, 15.0, 15.0]
2023-01-09 11:53:09,356 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 15: [15.0, 15.0, 15.0]
2023-01-09 11:53:09,357 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 21: [31.0, 31.0, 31.0]
2023-01-09 11:53:09,357 - {control.counter:87} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 24: [31.0, 31.0, 31.0]
2023-01-09 11:53:09,358 - {control.ev:230} - {DEBUG:MainThread} - EV 3 zurückgesetzt.
2023-01-09 11:53:09,363 - {control.chargepoint:349} - {INFO:MainThread} - LP 13: Ladepunkt gesperrt, da keine Werte vom EVU-Zähler empfangen wurden und deshalb kein Lastmanagement durchgeführt werden kann. Falls Sie dennoch laden möchten, können Sie als EVU-Zähler 'Virtuell' auswählen und einen konstanten Hausverbrauch angeben.
2023-01-09 11:53:09,367 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-09 11:53:09,368 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=33756.84, daily_exported=0, power=0, imported=4319093.75, exported=0))
2023-01-09 11:53:09,369 - {control.data:297} - {DEBUG:MainThread} - cp13
ChargepointData(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), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=76.0), currents=[0.0, 0.0, 0.0], daily_imported=33756.84, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=4319093.75, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str="Ladepunkt gesperrt, da keine Werte vom EVU-Zähler empfangen wurden und deshalb kein Lastmanagement durchgeführt werden kann. Falls Sie dennoch laden möchten, können Sie als EVU-Zähler 'Virtuell' auswählen und einen konstanten Hausverbrauch angeben.", voltages=[229.19, 228.31, 228.86]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=3, current=0, energy_to_charge=0, loadmanagement_available=False, log=Log(chargemode_log_entry='_', imported_at_mode_switch=4319093.75, imported_at_plugtime=4284011.72, imported_since_mode_switch=0, imported_since_plugged=35082.03000000026, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='01/08/2023, 17:57:37', required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x714e99a0>), config=Config(connection_module={'type': 'external_openwb', 'configuration': {'ip_address': '192.168.178.210', 'duo_num': 1}}, power_module={}, ev=3, name='Gartenhaus', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=13))
2023-01-09 11:53:09,370 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-01-09 11:53:09,371 - {control.data:297} - {DEBUG:MainThread} - counter7
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 20099.8, 'surplus_power_left': 0, 'consumption_left': 21395.8, 'raw_currents_left': [26.1, 35.56, 23.619999999999997]}, 'get': {'daily_exported': 256.6, 'daily_imported': 59715.799999996, 'voltages': [228.94, 227.57, 228.59], 'currents': [7.9, -1.56, 10.38], 'powers': [1716.8, -184.6, 2368.0], 'power_factors': [0.95, 0.76, 1.0], 'imported': 35928570.9, 'exported': 73850383.9, 'power': 3900.2, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'frequency': 50}, 'config': {'max_currents': [35, 35, 35], 'max_total_power': 24000}}
2023-01-09 11:53:09,371 - {control.data:297} - {DEBUG:MainThread} - counter14
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 56424.15561013759, 'exported': 0.0, 'power': 0.0, 'frequency': 50}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-09 11:53:09,371 - {control.data:297} - {DEBUG:MainThread} - counter15
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [15.0, 15.0, 15.0]}, 'get': {'daily_exported': 0.0, 'daily_imported': 0.0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 106081.77902665432, 'power': 0.0, 'frequency': 50, 'exported': 0.0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-09 11:53:09,372 - {control.data:297} - {DEBUG:MainThread} - counter21
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [31.0, 31.0, 31.0]}, 'get': {'daily_exported': 0, 'daily_imported': 18537.7817088174, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 712174.5949851922, 'exported': 0, 'power': 0.0, 'frequency': 50, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 22000}}
2023-01-09 11:53:09,373 - {control.data:297} - {DEBUG:MainThread} - counter24
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': None, 'surplus_power_left': 0, 'raw_currents_left': [31.0, 31.0, 31.0]}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': "<class 'KeyError'> 'imported'", 'fault_state': 2, 'voltages': [230.0, 230.0, 230.0], 'currents': [0.0, 0.0, 0.0], 'powers': [0.0, 0.0, 0.0], 'power_factors': [0.0, 0.0, 0.0], 'imported': 2.113210227754381, 'exported': 0, 'power': 0, 'frequency': 50}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 22000}}
2023-01-09 11:53:09,374 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 7, 'type': 'counter', 'children': [{'id': 14, 'type': 'counter', 'children': []}, {'id': 15, 'type': 'counter', 'children': []}, {'id': 23, 'type': 'inverter', 'children': []}, {'id': 24, 'type': 'counter', 'children': [{'id': 22, 'type': 'inverter', 'children': []}, {'id': 13, 'type': 'cp', 'children': []}, {'id': 21, 'type': 'counter', 'children': []}]}]}]), set=Set(loadmanagement_active=False, home_consumption=4322.2, invalid_home_consumption=0, daily_yield_home_consumption=61159.199999996))
2023-01-09 11:53:09,375 - {control.data:297} - {DEBUG:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=22, soc=50))))
2023-01-09 11:53:09,376 - {control.data:297} - {DEBUG:MainThread} - ct1
ChargeTemplateData(name='Tesla', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2022-11-07', '2022-11-07'], weekly=[False, False, False, False, False, False, False]), time=['01:00', '06:30'], name='Nachts', current=16, limit=Limit(selected='soc', amount=1000, soc=75))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=0, feed_in_limit=False, min_soc=0, max_soc=95), scheduled_charging=ScheduledCharging(plans={'1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard', limit=ScheduledLimit(selected='none', amount=1000, soc_limit=65, soc_scheduled=65), time='07:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=20000, soc=75))))
2023-01-09 11:53:09,376 - {control.data:297} - {DEBUG:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-09 11:53:09,377 - {control.data:297} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-09 11:53:09,378 - {control.data:297} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-01-09 11:53:09,379 - {control.data:297} - {DEBUG:MainThread} - ev3
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=1, ev_template=1, name='Tesla', tag_id=[], get=Get(soc=76.0, soc_timestamp='01/09/2023, 11:52:46', force_soc_update=False, range=367.8307504, fault_state=0, fault_str='Kein Fehler.'))
2023-01-09 11:53:09,379 - {control.data:297} - {DEBUG:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-09 11:53:09,379 - {control.data:297} - {DEBUG:MainThread} - et1
EvTemplateData(name='Tesla', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20, min_current=6, max_current_single_phase=32, battery_capacity=75, nominal_difference=2)
2023-01-09 11:53:09,380 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=8, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=180, switch_off_soc=40, switch_off_threshold=350, switch_on_delay=40, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=False, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.23, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-09 11:53:09,381 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 11:53:09,382 - {control.data:280} - {DEBUG:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-01-09 11:53:09,382 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': -823, 'exported': 43554202, 'daily_exported': 1700, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 11:53:09,382 - {control.data:297} - {DEBUG:MainThread} - pv22
{'get': {'daily_exported': 806, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -401, 'exported': 2528750, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-09 11:53:09,383 - {control.data:297} - {DEBUG:MainThread} - pv23
{'get': {'daily_exported': 894, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': -422, 'exported': 41025454, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 0}}
2023-01-09 11:53:09,383 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.99', 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'lastlivevaluesJson': {'timestamp': 1673261577, 'time': '11:52:57', 'grid': 1.866, 'counter14-power': 0.0, 'counter15-power': 0.0, 'counter21-power': 0.0, 'house-power': 2.287, 'charging-all': 0.0, 'pv-all': 0.823, 'cp13-power': 0.0, 'ev3-soc': 76.0}, 'version': '1.99.101.1', 'current_commit': '2023-01-09 09:49:57 +0100 [637f78ba]', 'current_missing_commits': [], 'current_branch': 'master', 'current_branch_commit': '2023-01-09 09:49:57 +0100 [637f78ba]', 'datastore_version': 6, 'module_update_completed': True}
2023-01-09 11:53:09,383 - {control.data:310} - {DEBUG:MainThread} - device4
{'name': 'EVU', 'type': 'sma_shm', 'id': 4, 'configuration': {}}
2023-01-09 11:53:09,384 - {control.data:312} - {DEBUG:MainThread} - component7
{'name': 'EnergyMeter 1.0', 'type': 'counter', 'id': 7, 'configuration': {'serials': None}}
2023-01-09 11:53:09,384 - {control.data:310} - {DEBUG:MainThread} - device8
{'name': 'Pumpe', 'type': 'json', 'id': 8, 'configuration': {'url': 'http://192.168.178.81/meter/0'}}
2023-01-09 11:53:09,384 - {control.data:312} - {DEBUG:MainThread} - component14
{'name': 'Pumpe', 'type': 'counter', 'id': 14, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-09 11:53:09,385 - {control.data:310} - {DEBUG:MainThread} - device9
{'name': 'Trockner', 'type': 'json', 'id': 9, 'configuration': {'url': 'http://192.168.178.209/meter/0'}}
2023-01-09 11:53:09,385 - {control.data:312} - {DEBUG:MainThread} - component15
{'name': 'Trockner', 'type': 'counter', 'id': 15, 'configuration': {'jq_power': '.power', 'jq_exported': None, 'jq_imported': None}}
2023-01-09 11:53:09,385 - {control.data:310} - {DEBUG:MainThread} - device14
{'name': 'openWB (1.9)', 'type': 'http', 'id': 14, 'configuration': {'url': 'http://192.168.178.51'}}
2023-01-09 11:53:09,386 - {control.data:312} - {DEBUG:MainThread} - component21
{'name': 'LP1 (Garage)', 'type': 'counter', 'id': 21, 'configuration': {'current_l1_path': '/openWB/ramdisk/lla1', 'current_l2_path': '/openWB/ramdisk/lla2', 'current_l3_path': '/openWB/ramdisk/lla3', 'exported_path': None, 'imported_path': '/openWB/ramdisk/llkwh', 'power_path': '/openWB/ramdisk/llaktuell'}}
2023-01-09 11:53:09,387 - {control.data:310} - {DEBUG:MainThread} - device15
{'name': 'WR Garage (neu)', 'type': 'sma_sunny_boy', 'id': 15, 'configuration': {'ip_address': '192.168.178.204'}}
2023-01-09 11:53:09,388 - {control.data:312} - {DEBUG:MainThread} - component22
{'name': 'WR Garage (neu)', 'type': 'inverter', 'id': 22, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-09 11:53:09,388 - {control.data:310} - {DEBUG:MainThread} - device16
{'name': 'WR Haus (neu)', 'type': 'sma_sunny_boy', 'id': 16, 'configuration': {'ip_address': '192.168.178.201'}}
2023-01-09 11:53:09,389 - {control.data:312} - {DEBUG:MainThread} - component23
{'name': 'WR Haus (neu)', 'type': 'inverter', 'id': 23, 'configuration': {'hybrid': False, 'version': 0}}
2023-01-09 11:53:09,389 - {control.data:310} - {DEBUG:MainThread} - device17
{'name': 'Zuleitung Garage', 'type': 'virtual', 'id': 17, 'configuration': {}}
2023-01-09 11:53:09,389 - {control.data:312} - {DEBUG:MainThread} - component24
{'name': 'Unterverteilung Garage', 'type': 'counter', 'id': 24, 'configuration': {'external_consumption': 0}}
2023-01-09 11:53:09,389 - {control.data:284} - {DEBUG:MainThread} -
2023-01-09 11:53:09,390 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 11:53:09,391 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 11:53:09,413 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 11:53:09,426 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 11:53:09,427 - {control.counter:407} - {DEBUG:MainThread} - Zähler 7: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 11:53:09,427 - {control.counter:407} - {DEBUG:MainThread} - Zähler 14: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 11:53:09,427 - {control.counter:407} - {DEBUG:MainThread} - Zähler 15: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 11:53:09,427 - {control.counter:407} - {DEBUG:MainThread} - Zähler 21: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 11:53:09,429 - {control.counter:407} - {DEBUG:MainThread} - Zähler 24: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 11:53:09,433 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 11:53:09,434 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 11:53:09,443 - {soc.modules.common.component_context:24} - {DEBUG:cp13} - Update Komponente ['Ladepunkt']
2023-01-09 11:53:09,457 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 11:53:09,687 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-09 11:53:14,710 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-09 11:53:19,726 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-09 11:53:20,758 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-09 11:53:20,759 - {root:61} - {INFO:MainThread} - # ***Start***