E3DC in 2.0

Fragen zur Nutzung, Features, usw..
okaegi
Beiträge: 2185
Registriert: Fr Mär 08, 2019 1:57 pm

E3DC in 2.0

Beitrag von okaegi »

Hallo Zusammen,
E3DC läüft noch nicht in 2.0
Hier meine openwb 2.0 Config:
Momentan ist nur e3dc als Zähler, Speicher und externer WR definiert. Kein Ladepunkt , kein Fahrzeug.
Main.log

Code: Alles auswählen

2023-01-06 11:02:10,479 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-06 11:02:10,512 - {modules.devices.e3dc.device:46} - {DEBUG:device0} - reading: 192.168.1.245
2023-01-06 11:02:10,514 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Zähler']
2023-01-06 11:02:10,514 - {modules.devices.e3dc.counter:22} - {DEBUG:device0} - Beginning EVU update
2023-01-06 11:02:10,525 - {modules.devices.e3dc.counter:30} - {DEBUG:device0} - meters: [0, 0, 0, 0, 2, -1590, -1603, -1534, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -879, -970, 1957]
2023-01-06 11:02:10,526 - {modules.devices.e3dc.counter:36} - {DEBUG:device0} - e3dc no farm detected
2023-01-06 11:02:10,527 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 108, powers [-879, -970, 1957]
2023-01-06 11:02:10,528 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1672999265.6658697, power=556, imported=138038.45036340476, exported=223.41894931252924)
2023-01-06 11:02:10,529 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0180172, power1: 556, power2: 108
2023-01-06 11:02:10,529 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 5.98172
2023-01-06 11:02:10,530 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 5.98172 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1672999330.5279257, power=108, imported=138044.43208634853, exported=223.41894931252924)
2023-01-06 11:02:10,532 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[-879, -970, 1957], currents=[-3.8217391304347825, -4.217391304347826, 8.508695652173913], power_factors=[0.0, 0.0, 0.0], imported=138044.43208634853, exported=223.41894931252924, power=108, frequency=50)
2023-01-06 11:02:10,533 - {modules.devices.e3dc.counter:61} - {DEBUG:device0} - Update completed successfully
2023-01-06 11:02:10,543 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC externer Wechselrichter']
2023-01-06 11:02:10,569 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1672999265.6893525, power=-2969, imported=0, exported=215.15565430227252)
2023-01-06 11:02:10,570 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0180223, power1: -2969, power2: -4727
2023-01-06 11:02:10,570 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -69.3497
2023-01-06 11:02:10,571 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 69.3497 Wh, new state: SimCounterState(timestamp=1672999330.569549, power=-4727, imported=0, exported=284.5053755263156)
2023-01-06 11:02:10,572 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4727, exported=284.5053755263156, dc_power=None)
2023-01-06 11:02:10,577 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Speicher']
2023-01-06 11:02:10,593 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1672999265.7099476, power=-12, imported=0, exported=0.8471923579772312)
2023-01-06 11:02:10,594 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0180232, power1: -12, power2: 1002
2023-01-06 11:02:10,594 - {modules.common.simcount._calculate:26} - {DEBUG:device0} - power changed sign. Total energy: 8.92149, exported energy: -0.00127975
2023-01-06 11:02:10,594 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 8.92277 Wh, exported: 0.00127975 Wh, new state: SimCounterState(timestamp=1672999330.5935068, power=1002, imported=8.922769148330952, exported=0.848472112597093)
2023-01-06 11:02:10,596 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=8.922769148330952, exported=0.848472112597093, power=1002, soc=4)
2023-01-06 11:02:10,602 - {soc.modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['E3DC externer Wechselrichter']
2023-01-06 11:02:10,604 - {soc.modules.common.component_context:24} - {DEBUG:component8} - Update Komponente ['E3DC Speicher']
2023-01-06 11:02:10,614 - {helpermodules.setdata:619} - {WARNING:Thread-6} - Kein Speicher 8 mit gültiger Konfiguration gefunden.
2023-01-06 11:02:10,615 - {helpermodules.setdata:619} - {WARNING:Thread-6} - Kein Speicher 8 mit gültiger Konfiguration gefunden.
2023-01-06 11:02:10,623 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-01-06 11:02:10,634 - {control.pv:43} - {ERROR:MainThread} - Fehler im allgemeinen PV-Modul für pv6
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/pv.py", line 37, in calc_power_for_all_components
    self.data["get"]["power"] += module_data["get"]["power"]
KeyError: 'power'
2023-01-06 11:02:11,115 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-06 11:02:11,557 - {control.counter_all:110} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 127, in _calc_home_consumption
    power += data.data.pv_data[f"pv{element['id']}"].data["get"]["power"]
KeyError: 'power'
2023-01-06 11:02:11,570 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0}, 'config': {'configured': False}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-06 11:02:11,571 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-06 11:02:11,571 - {control.data:297} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[], id=0)
2023-01-06 11:02:11,571 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [32, 32, 32], 'max_total_power': 45000}}
2023-01-06 11:02:11,572 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 8, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1378.0, invalid_home_consumption=0, daily_yield_home_consumption=0))
2023-01-06 11:02:11,573 - {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='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-06 11:02:11,573 - {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_one_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-06 11:02:11,575 - {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_one_phase=32, battery_capacity=82, nominal_difference=2)
2023-01-06 11:02:11,576 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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=1), 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.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-06 11:02:11,577 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-06 11:02:11,577 - {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-06 11:02:11,578 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'exported': 0, 'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-06 11:02:11,578 - {control.data:297} - {DEBUG:MainThread} - pv6
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_ac_out': 0}}
2023-01-06 11:02:11,579 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.1.246', 'current_commit': '2023-01-06 09:56:50 +0100 [b43b1668]', 'current_branch': 'master', 'current_branch_commit': '2023-01-06 09:56:50 +0100 [b43b1668]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 5, 'lastlivevaluesJson': {'timestamp': 1672675251, 'time': '17:00:51', 'grid': 1.341, 'house-power': 1.378, 'charging-all': 0.0, 'pv-all': -0.0}, 'module_update_completed': True}
2023-01-06 11:02:11,579 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.1.245'}}
2023-01-06 11:02:11,580 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-06 11:02:11,580 - {control.data:312} - {DEBUG:MainThread} - component6
{'name': 'E3DC externer Wechselrichter', 'type': 'external_inverter', 'id': 6, 'configuration': {}}
2023-01-06 11:02:11,581 - {control.data:312} - {DEBUG:MainThread} - component8
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 8, 'configuration': {}}
2023-01-06 11:02:11,581 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-06 11:02:11,581 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-06 11:02:11,582 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-06 11:02:11,592 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-06 11:02:11,597 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-06 11:02:11,598 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-06 11:02:11,599 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-06 11:02:11,600 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-06 11:02:11,603 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-06 11:02:11,604 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-06 11:02:11,610 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-06 11:02:16,615 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-06 11:02:21,620 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-06 11:02:22,631 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-06 11:02:22,632 - {root:61} - {INFO:MainThread} - # ***Start*** 
Auslesen tut er den Zähler und den externen WR und den Speicher (EDIT). Bis auf die IP adresse braucht es gar keine Konfig.

Code: Alles auswählen

2023-01-06 11:02:10,527 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 108, powers [-879, -970, 1957]
2023-01-06 11:02:10,572 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4727, exported=284.5053755263156, dc_power=None)
2023-01-06 11:02:10,596 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=8.922769148330952, exported=0.848472112597093, power=1002, soc=4)

Dateianhänge
e2.png
e1.png
Entwickler- openWB (ehrenamtlich) / Feedback zu Funktionen immer erwünscht..
Smarthomeprobleme siehe hier (update :!: ): viewtopic.php?f=14&t=5923
Gero
Beiträge: 2366
Registriert: Sa Feb 20, 2021 9:55 am

Re: E3DC in 2.0

Beitrag von Gero »

Das kann ich so nicht bestätigen. Bei mir ist die Konfiguration genauso (also nur die IP-Adresse, allerdings mit ext. Produktion) Bei mir sind exakt die Werte in der 2.0 wie in der parallel laufenden 1.9. Aber ich habe das Update auf 2023-01-06 15:24:41 +0100 [6c4877ac] auch erst gerade gemacht. Die kumulierten Werte sind noch mit der alten Version berechnet worden. Die momentan-Werte vom S10 stimmen aber.


Allerdings habe ich auch Fehlermeldungen im main.log:

Code: Alles auswählen

2023-01-06 17:08:41,786 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-06 17:08:46,794 - {modules.utils:17} - {ERROR:MainThread} - Modul-Daten wurden noch nicht vollständig empfangen. Timeout abgelaufen, fortsetzen der Regelung.
2023-01-06 17:08:47,850 - {soc.modules.common.fault_state:40} - {ERROR:device0} - e3dc Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'AttributeError'> 'E3dcInverterConfiguration' object has no attribute 'read_ext', Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 49, in update_components
    component.update(client)
  File "/var/www/html/openWB/packages/modules/devices/e3dc/inverter.py", line 42, in update
    pv, pv_external = read_inverter(client, self.component_config.configuration.read_ext)
AttributeError: 'E3dcInverterConfiguration' object has no attribute 'read_ext'

2023-01-06 17:08:47,891 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
openWB-series2, openWB-Buchse, E3/DC S10pro+19.5kWh, 30kWp Ost-Süd, Model 3 und Ion
okaegi
Beiträge: 2185
Registriert: Fr Mär 08, 2019 1:57 pm

Re: E3DC in 2.0

Beitrag von okaegi »

Lena hat grad noch eine Korrektur gemacht, ist noch nicht drin. Der driver ist aufgeteilt worden:
Wenn du pv mit e3dc hast musst du Inverter wählen
Wenn du pv mit externer Inverter hast, musst du externer inverter wählen.
Der read_ext parameter wurde in 2.0 entfernt.
Bist du auf dem letzten nightly (=Entwicklerzweig/ Master) in openwb 2.0
Gruss Oliver
Dateianhänge
Screenshot_20230106-181851_Edge.jpg
Entwickler- openWB (ehrenamtlich) / Feedback zu Funktionen immer erwünscht..
Smarthomeprobleme siehe hier (update :!: ): viewtopic.php?f=14&t=5923
Jens
Beiträge: 106
Registriert: Fr Jul 16, 2021 6:19 pm

Re: E3DC in 2.0

Beitrag von Jens »

Hallo,

Verwendete Version: 2023-01-09 13:58:35 +0100 [7b73a5c1] (Master) --> incl. Reboot
Keine Fahrzeuge/Ladepunkte konfiguriert.
E3DC S10 13 KWh (kein zusätzlicher Wechselrichter und PV an S10 direkt angeschlossen)

Debug: (Hier kommen einige Werte an)

Code: Alles auswählen

2023-01-09 16:45:51,029 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-09 16:45:51,031 - {control.counter_all:110} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 127, in _calc_home_consumption
    power += data.data.pv_data[f"pv{element['id']}"].data["get"]["power"]
KeyError: 'power'
2023-01-09 16:45:51,034 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0.0, 'exported': 116.43, 'daily_exported': 116.43, 'daily_imported': 0.0, 'soc': 61}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-09 16:45:51,035 - {control.data:297} - {DEBUG:MainThread} - bat2
{'get': {'daily_imported': 0.0, 'daily_exported': 116.43, 'power': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'soc': 61, 'imported': 0.0, 'exported': 116.43}}
2023-01-09 16:45:51,035 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-09 16:45:51,035 - {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 16:45:51,036 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-09 16:45:51,036 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=116.43))
2023-01-09 16:45:51,036 - {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='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-09 16:45:51,037 - {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=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 16:45:51,039 - {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 16:45:51,039 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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=1), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-09 16:45:51,040 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 16:45:51,040 - {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 16:45:51,040 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'daily_exported': 0, 'exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 16:45:51,041 - {control.data:297} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': "<class 'AttributeError'> 'E3dcInverterConfiguration' object has no attribute 'read_ext'", 'fault_state': 2}, 'config': {'max_ac_out': 0}}
2023-01-09 16:45:51,041 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.35', 'current_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_branch': 'master', 'current_branch_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'module_update_completed': True}
2023-01-09 16:45:51,041 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.178.36'}}
2023-01-09 16:45:51,042 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-09 16:45:51,042 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-09 16:45:51,042 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-01-09 16:45:51,042 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-09 16:45:51,043 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 16:45:51,043 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 16:45:51,048 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 16:45:51,051 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 16:45:51,052 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 16:45:51,052 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 16:45:51,052 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 16:45:51,055 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 16:45:51,056 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-09 16:45:51,059 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-09 16:46:00,126 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-09 16:46:00,127 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-09 16:46:00,150 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['E3DC Zähler', 'E3DC Wechselrichter', 'E3DC Speicher']
2023-01-09 16:46:00,153 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Zähler']
2023-01-09 16:46:00,154 - {modules.devices.e3dc.counter:22} - {DEBUG:device0} - Beginning EVU update
2023-01-09 16:46:00,164 - {modules.devices.e3dc.counter:30} - {DEBUG:device0} - meters: [1, 86, 87, 427, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2023-01-09 16:46:00,164 - {modules.devices.e3dc.counter:36} - {DEBUG:device0} - e3dc no farm detected
2023-01-09 16:46:00,165 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 600, powers [86, 87, 427]
2023-01-09 16:46:00,165 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673279150.881579, power=801, imported=153.1821920757113, exported=0.855849249358131)
2023-01-09 16:46:00,166 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00257897, power1: 801, power2: 600
2023-01-09 16:46:00,166 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.80657
2023-01-09 16:46:00,167 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.80657 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673279160.1658733, power=600, imported=154.98876102125826, exported=0.855849249358131)
2023-01-09 16:46:00,168 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[86, 87, 427], currents=[0.3739130434782609, 0.3782608695652174, 1.8565217391304347], power_factors=[0.0, 0.0, 0.0], imported=154.98876102125826, exported=0.855849249358131, power=600, frequency=50)
2023-01-09 16:46:00,169 - {modules.devices.e3dc.counter:61} - {DEBUG:device0} - Update completed successfully
2023-01-09 16:46:00,172 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Wechselrichter']
2023-01-09 16:46:00,174 - {soc.modules.common.fault_state:40} - {ERROR:device0} - E3DC Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'AttributeError'> 'E3dcInverterConfiguration' object has no attribute 'read_ext', Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 49, in update_components
    component.update(c)
  File "/var/www/html/openWB/packages/modules/devices/e3dc/inverter.py", line 42, in update
    pv, pv_external = read_inverter(client, self.component_config.configuration.read_ext)
AttributeError: 'E3dcInverterConfiguration' object has no attribute 'read_ext'

2023-01-09 16:46:00,178 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Speicher']
2023-01-09 16:46:00,199 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673279150.9296124, power=0, imported=0.0, exported=116.4265841106574)
2023-01-09 16:46:00,199 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00257482, power1: 0, power2: 0
2023-01-09 16:46:00,200 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-09 16:46:00,200 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673279160.198962, power=0, imported=0.0, exported=116.4265841106574)
2023-01-09 16:46:00,202 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=0.0, exported=116.4265841106574, power=0, soc=61)
2023-01-09 16:46:00,210 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['E3DC Wechselrichter']
2023-01-09 16:46:00,214 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['E3DC Speicher']
2023-01-09 16:46:00,218 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=0.0, exported=116.4265841106574, power=0, soc=61)
2023-01-09 16:46:00,268 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-01-09 16:46:00,277 - {control.pv:43} - {ERROR:MainThread} - Fehler im allgemeinen PV-Modul für pv1
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/pv.py", line 37, in calc_power_for_all_components
    self.data["get"]["power"] += module_data["get"]["power"]
KeyError: 'power'
2023-01-09 16:46:00,308 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-09 16:46:00,313 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-09 16:46:00,315 - {control.counter_all:110} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 127, in _calc_home_consumption
    power += data.data.pv_data[f"pv{element['id']}"].data["get"]["power"]
KeyError: 'power'
2023-01-09 16:46:00,323 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0.0, 'exported': 116.43, 'daily_exported': 116.43, 'daily_imported': 0.0, 'soc': 61}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-09 16:46:00,327 - {control.data:297} - {DEBUG:MainThread} - bat2
{'get': {'daily_imported': 0.0, 'daily_exported': 116.43, 'power': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'soc': 61, 'imported': 0.0, 'exported': 116.43}}
2023-01-09 16:46:00,335 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-09 16:46:00,336 - {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 16:46:00,336 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-09 16:46:00,337 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=116.43))
2023-01-09 16:46:00,338 - {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='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-09 16:46:00,338 - {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=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 16:46:00,338 - {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 16:46:00,339 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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=1), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-09 16:46:00,339 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 16:46:00,340 - {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 16:46:00,341 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'daily_exported': 0, 'exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 16:46:00,342 - {control.data:297} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': "<class 'AttributeError'> 'E3dcInverterConfiguration' object has no attribute 'read_ext'", 'fault_state': 2}, 'config': {'max_ac_out': 0}}
2023-01-09 16:46:00,342 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.35', 'current_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_branch': 'master', 'current_branch_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'module_update_completed': True}
2023-01-09 16:46:00,342 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.178.36'}}
2023-01-09 16:46:00,343 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-09 16:46:00,343 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-09 16:46:00,343 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-01-09 16:46:00,344 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-09 16:46:00,344 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 16:46:00,344 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 16:46:00,349 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 16:46:00,355 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 16:46:00,356 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 16:46:00,356 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 16:46:00,356 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 16:46:00,358 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 16:46:00,359 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-09 16:46:00,360 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-09 16:46:10,440 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-09 16:46:10,441 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-09 16:46:10,465 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['E3DC Zähler', 'E3DC Wechselrichter', 'E3DC Speicher']
2023-01-09 16:46:10,468 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Zähler']
2023-01-09 16:46:10,468 - {modules.devices.e3dc.counter:22} - {DEBUG:device0} - Beginning EVU update
2023-01-09 16:46:10,476 - {modules.devices.e3dc.counter:30} - {DEBUG:device0} - meters: [1, 86, 268, 420, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2023-01-09 16:46:10,477 - {modules.devices.e3dc.counter:36} - {DEBUG:device0} - e3dc no farm detected
2023-01-09 16:46:10,477 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 774, powers [86, 268, 420]
2023-01-09 16:46:10,478 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673279160.1658733, power=600, imported=154.98876102125826, exported=0.855849249358131)
2023-01-09 16:46:10,479 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286463, power1: 600, power2: 774
2023-01-09 16:46:10,479 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.968
2023-01-09 16:46:10,480 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.968 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673279170.4785583, power=774, imported=156.9567650778709, exported=0.855849249358131)
2023-01-09 16:46:10,481 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[86, 268, 420], currents=[0.3739130434782609, 1.1652173913043478, 1.826086956521739], power_factors=[0.0, 0.0, 0.0], imported=156.9567650778709, exported=0.855849249358131, power=774, frequency=50)
2023-01-09 16:46:10,482 - {modules.devices.e3dc.counter:61} - {DEBUG:device0} - Update completed successfully
2023-01-09 16:46:10,491 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Wechselrichter']
2023-01-09 16:46:10,501 - {soc.modules.common.fault_state:40} - {ERROR:device0} - E3DC Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'AttributeError'> 'E3dcInverterConfiguration' object has no attribute 'read_ext', Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 49, in update_components
    component.update(c)
  File "/var/www/html/openWB/packages/modules/devices/e3dc/inverter.py", line 42, in update
    pv, pv_external = read_inverter(client, self.component_config.configuration.read_ext)
AttributeError: 'E3dcInverterConfiguration' object has no attribute 'read_ext'

2023-01-09 16:46:10,517 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Speicher']
2023-01-09 16:46:10,535 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673279160.198962, power=0, imported=0.0, exported=116.4265841106574)
2023-01-09 16:46:10,536 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287128, power1: 0, power2: 0
2023-01-09 16:46:10,536 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-09 16:46:10,537 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673279170.5355568, power=0, imported=0.0, exported=116.4265841106574)
2023-01-09 16:46:10,538 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=0.0, exported=116.4265841106574, power=0, soc=61)
2023-01-09 16:46:10,543 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['E3DC Wechselrichter']
2023-01-09 16:46:10,549 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['E3DC Speicher']
2023-01-09 16:46:10,549 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=0.0, exported=116.4265841106574, power=0, soc=61)
2023-01-09 16:46:10,586 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-01-09 16:46:10,597 - {control.pv:43} - {ERROR:MainThread} - Fehler im allgemeinen PV-Modul für pv1
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/pv.py", line 37, in calc_power_for_all_components
    self.data["get"]["power"] += module_data["get"]["power"]
KeyError: 'power'
2023-01-09 16:46:10,625 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-09 16:46:10,632 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-09 16:46:10,635 - {control.counter_all:110} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 127, in _calc_home_consumption
    power += data.data.pv_data[f"pv{element['id']}"].data["get"]["power"]
KeyError: 'power'
2023-01-09 16:46:10,637 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0.0, 'exported': 116.43, 'daily_exported': 116.43, 'daily_imported': 0.0, 'soc': 61}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-09 16:46:10,638 - {control.data:297} - {DEBUG:MainThread} - bat2
{'get': {'daily_imported': 0.0, 'daily_exported': 116.43, 'power': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'soc': 61, 'imported': 0.0, 'exported': 116.43}}
2023-01-09 16:46:10,638 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-09 16:46:10,638 - {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 16:46:10,639 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-09 16:46:10,639 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=116.43))
2023-01-09 16:46:10,640 - {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='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-09 16:46:10,640 - {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=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 16:46:10,640 - {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 16:46:10,642 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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=1), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-09 16:46:10,644 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-09 16:46:10,644 - {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 16:46:10,644 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'daily_exported': 0, 'exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-09 16:46:10,645 - {control.data:297} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': "<class 'AttributeError'> 'E3dcInverterConfiguration' object has no attribute 'read_ext'", 'fault_state': 2}, 'config': {'max_ac_out': 0}}
2023-01-09 16:46:10,645 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.35', 'current_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_branch': 'master', 'current_branch_commit': '2023-01-09 13:58:35 +0100 [7b73a5c1]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'module_update_completed': True}
2023-01-09 16:46:10,645 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.178.36'}}
2023-01-09 16:46:10,646 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-09 16:46:10,646 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-09 16:46:10,646 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-01-09 16:46:10,647 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-09 16:46:10,647 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-09 16:46:10,648 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-09 16:46:10,652 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-09 16:46:10,656 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-09 16:46:10,656 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-09 16:46:10,657 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-09 16:46:10,661 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-09 16:46:10,662 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-09 16:46:10,663 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-09 16:46:10,666 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})

Geräte Config:
Screenshot Geräte Konfiguration.png
Struktur:
Screenshot Struktur.png
Fehler Wechselrichter:
Screenshot Wechselrichter.png
Ausser Batterie keine Daten in Oberfläche: (Edit: Hausverbrauch 600W stand schon beim Einrichten drin)
Screenshot Oberfläche.png
Bitte um Info was ich falsch mache.

Gruß
Jens
PV: 9,86kWp an E3DC S10 13kWh
LP1: openWB Series2 standard+
Kia EV6
Nutzung von Tibber
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: E3DC in 2.0

Beitrag von LenaK »

Ich habe es gefixt. Bitte ein Update machen.
Gero
Beiträge: 2366
Registriert: Sa Feb 20, 2021 9:55 am

Re: E3DC in 2.0

Beitrag von Gero »

Hallo Lena,

ich hab' nun auch mal ein update auf 2023-01-10 09:32:20 +0100 [14ecafe3] gemacht und den reset-broker.sh laufen lassen. Die Komponente e3dc neu konfiguriert, allerdings noch keine Ladepunkte etc. Reihenfolge war EVU, WR, ext. WR und Speicher. Auf der Status-Übersicht ist nun keine Fehlermeldung mehr zu sehen.

Folgende Meldung kommt im Main.log - die letzte wiederholt sich alle 10s:

Code: Alles auswählen

2023-01-10 10:27:10,256 - {helpermodules.subdata:420} - {ERROR:Thread-5} - Fehler im subdata-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/subdata.py", line 417, in process_chargepoint_template_topic
    var["cpt"+index].data = dataclass_from_dict(chargepoint.CpTemplateData, payload)
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in dataclass_from_dict
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in <listcomp>
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 36, in _get_argument_value
    return _dataclass_from_dict_recurse(value, arg_spec.annotations.get(argument_name))
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 40, in _dataclass_from_dict_recurse
    return dataclass_from_dict(requested_type, value) \
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in dataclass_from_dict
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in <listcomp>
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 36, in _get_argument_value
    return _dataclass_from_dict_recurse(value, arg_spec.annotations.get(argument_name))
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 41, in _dataclass_from_dict_recurse
    if isinstance(value, dict) and not issubclass(requested_type, dict) \
TypeError: issubclass() arg 1 must be a class
2023-01-10 10:27:10,354 - {helpermodules.setdata:37} - {DEBUG:Thread-6} - Subdata initialisation completed. Starting setdata loop to broker.
2023-01-10 10:27:40,974 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-10 10:27:40,974 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-10 10:27:41,058 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-10 10:27:50,399 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-10 10:28:00,686 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
openWB-series2, openWB-Buchse, E3/DC S10pro+19.5kWh, 30kWp Ost-Süd, Model 3 und Ion
Jens
Beiträge: 106
Registriert: Fr Jul 16, 2021 6:19 pm

Re: E3DC in 2.0

Beitrag von Jens »

von LenaK » Di Jan 10, 2023 9:53 am
Ich habe es gefixt. Bitte ein Update machen.
Nach oben
Version: 2023-01-10 11:20:30 +0100 [d489ed16] (Master)
Browser Cache wurde zur sicherheit geleert.
Kein Fahrzeug/Ladepunkt konfiguriert.

Fehler E3DC Wechsellrichter ist weg.

Dennoch keine weiteren Daten außer Batterie. (600W ist beim einrichten bereits enthalten; PV )
Screenshot keine Daten.png
(9.23 KiB) Noch nie heruntergeladen

Zumindest Hausverbrauch müsste angezeigt werden. (PV derzeit dunkel; Laden noch nicht konfiguriert)

Debug:

Code: Alles auswählen

  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 128, in _calc_home_consumption
    evu = data.data.counter_data[self.get_evu_counter_str()].data["get"]["power"]
KeyError: 'power'
2023-01-10 17:02:50,862 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0.0, 'exported': 0, 'daily_exported': 0, 'daily_imported': 0.0, 'soc': 72}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-10 17:02:50,862 - {control.data:297} - {DEBUG:MainThread} - bat2
{'get': {'daily_imported': 0.0, 'daily_exported': 0, 'power': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'soc': 72, 'imported': 0.0, 'exported': 0}}
2023-01-10 17:02:50,862 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-10 17:02:50,863 - {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-10 17:02:50,863 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-10 17:02:50,863 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=0))
2023-01-10 17:02:50,864 - {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='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-10 17:02:50,867 - {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=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-10 17:02:50,868 - {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-10 17:02:50,869 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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=1), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-10 17:02:50,869 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-10 17:02:50,870 - {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-10 17:02:50,870 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'exported': 0, 'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-10 17:02:50,870 - {control.data:297} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 0, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 12000}}
2023-01-10 17:02:50,871 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.35', 'current_commit': '2023-01-10 11:20:30 +0100 [d489ed16]', 'current_branch': 'master', 'current_branch_commit': '2023-01-10 11:20:30 +0100 [d489ed16]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'module_update_completed': True}
2023-01-10 17:02:50,872 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.178.36'}}
2023-01-10 17:02:50,873 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-10 17:02:50,874 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-10 17:02:50,874 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-01-10 17:02:50,875 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-10 17:02:50,875 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-10 17:02:50,876 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-10 17:02:50,881 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-10 17:02:50,885 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-10 17:02:50,886 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-10 17:02:50,886 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-10 17:02:50,887 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-10 17:02:50,889 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-10 17:02:50,890 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-10 17:02:50,892 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-10 17:03:00,990 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-10 17:03:00,992 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-10 17:03:01,015 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['E3DC Zähler', 'E3DC Wechselrichter', 'E3DC Speicher']
2023-01-10 17:03:01,018 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Zähler']
2023-01-10 17:03:01,018 - {modules.devices.e3dc.counter:22} - {DEBUG:device0} - Beginning EVU update
2023-01-10 17:03:01,030 - {modules.devices.e3dc.counter:30} - {DEBUG:device0} - meters: [1, 164, 85, 386, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2023-01-10 17:03:01,031 - {modules.devices.e3dc.counter:36} - {DEBUG:device0} - e3dc no farm detected
2023-01-10 17:03:01,031 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 635, powers [164, 85, 386]
2023-01-10 17:03:01,032 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673366570.684122, power=634, imported=168.4809670841694, exported=0)
2023-01-10 17:03:01,033 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287455, power1: 634, power2: 635
2023-01-10 17:03:01,033 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.8239
2023-01-10 17:03:01,033 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.8239 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673366581.0324936, power=635, imported=170.30486756205562, exported=0)
2023-01-10 17:03:01,035 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[164, 85, 386], currents=[0.7130434782608696, 0.3695652173913043, 1.6782608695652175], power_factors=[0.0, 0.0, 0.0], imported=170.30486756205562, exported=0, power=635, frequency=50)
2023-01-10 17:03:01,036 - {modules.devices.e3dc.counter:61} - {DEBUG:device0} - Update completed successfully
2023-01-10 17:03:01,040 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Wechselrichter']
2023-01-10 17:03:01,053 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673366570.7146811, power=0, imported=0.0, exported=0)
2023-01-10 17:03:01,060 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287199, power1: 0, power2: 0
2023-01-10 17:03:01,061 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-10 17:03:01,061 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673366581.0538487, power=0, imported=0.0, exported=0)
2023-01-10 17:03:01,063 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=0, dc_power=None)
2023-01-10 17:03:01,075 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Speicher']
2023-01-10 17:03:01,093 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673366570.743535, power=0, imported=0.0, exported=0)
2023-01-10 17:03:01,094 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287502, power1: 0, power2: 0
2023-01-10 17:03:01,094 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-10 17:03:01,095 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673366581.0936053, power=0, imported=0.0, exported=0)
2023-01-10 17:03:01,096 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=0.0, exported=0, power=0, soc=72)
2023-01-10 17:03:01,105 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['E3DC Wechselrichter']
2023-01-10 17:03:01,108 - {soc.modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=0, dc_power=None)
2023-01-10 17:03:01,109 - {soc.modules.common.store._api:30} - {DEBUG:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=0, dc_power=None)
2023-01-10 17:03:01,112 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['E3DC Speicher']
2023-01-10 17:03:01,113 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=0.0, exported=0, power=0, soc=72)
2023-01-10 17:03:01,165 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-01-10 17:03:01,207 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-10 17:03:01,213 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-10 17:03:01,215 - {control.counter_all:110} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 128, in _calc_home_consumption
    evu = data.data.counter_data[self.get_evu_counter_str()].data["get"]["power"]
KeyError: 'power'
2023-01-10 17:03:01,219 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0.0, 'exported': 0, 'daily_exported': 0, 'daily_imported': 0.0, 'soc': 72}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-10 17:03:01,219 - {control.data:297} - {DEBUG:MainThread} - bat2
{'get': {'daily_imported': 0.0, 'daily_exported': 0, 'power': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'soc': 72, 'imported': 0.0, 'exported': 0}}
2023-01-10 17:03:01,220 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-10 17:03:01,220 - {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-10 17:03:01,220 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-10 17:03:01,221 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=0))
2023-01-10 17:03:01,221 - {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='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-10 17:03:01,221 - {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=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-10 17:03:01,222 - {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-10 17:03:01,222 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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=1), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-10 17:03:01,224 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-10 17:03:01,225 - {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-10 17:03:01,226 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'exported': 0, 'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-10 17:03:01,226 - {control.data:297} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 0, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 12000}}
2023-01-10 17:03:01,226 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.35', 'current_commit': '2023-01-10 11:20:30 +0100 [d489ed16]', 'current_branch': 'master', 'current_branch_commit': '2023-01-10 11:20:30 +0100 [d489ed16]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'module_update_completed': True}
2023-01-10 17:03:01,227 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.178.36'}}
2023-01-10 17:03:01,227 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-10 17:03:01,228 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-10 17:03:01,228 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-01-10 17:03:01,228 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-10 17:03:01,228 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-10 17:03:01,229 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-10 17:03:01,233 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-10 17:03:01,238 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-10 17:03:01,238 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-10 17:03:01,239 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-10 17:03:01,239 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-10 17:03:01,243 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-10 17:03:01,244 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-10 17:03:01,247 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-10 17:03:10,333 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-10 17:03:10,335 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-01-10 17:03:10,358 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['E3DC Zähler', 'E3DC Wechselrichter', 'E3DC Speicher']
2023-01-10 17:03:10,361 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Zähler']
2023-01-10 17:03:10,362 - {modules.devices.e3dc.counter:22} - {DEBUG:device0} - Beginning EVU update
2023-01-10 17:03:10,371 - {modules.devices.e3dc.counter:30} - {DEBUG:device0} - meters: [1, 162, 86, 371, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2023-01-10 17:03:10,372 - {modules.devices.e3dc.counter:36} - {DEBUG:device0} - e3dc no farm detected
2023-01-10 17:03:10,372 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 619, powers [162, 86, 371]
2023-01-10 17:03:10,373 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673366581.0324936, power=635, imported=170.30486756205562, exported=0)
2023-01-10 17:03:10,374 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259473, power1: 635, power2: 619
2023-01-10 17:03:10,374 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.62689
2023-01-10 17:03:10,374 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.62689 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673366590.3735168, power=619, imported=171.93176243722442, exported=0)
2023-01-10 17:03:10,376 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[162, 86, 371], currents=[0.7043478260869566, 0.3739130434782609, 1.6130434782608696], power_factors=[0.0, 0.0, 0.0], imported=171.93176243722442, exported=0, power=619, frequency=50)
2023-01-10 17:03:10,377 - {modules.devices.e3dc.counter:61} - {DEBUG:device0} - Update completed successfully
2023-01-10 17:03:10,382 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Wechselrichter']
2023-01-10 17:03:10,397 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673366581.0538487, power=0, imported=0.0, exported=0)
2023-01-10 17:03:10,397 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259535, power1: 0, power2: 0
2023-01-10 17:03:10,398 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-10 17:03:10,398 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673366590.397111, power=0, imported=0.0, exported=0)
2023-01-10 17:03:10,400 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=0, dc_power=None)
2023-01-10 17:03:10,407 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Speicher']
2023-01-10 17:03:10,431 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1673366581.0936053, power=0, imported=0.0, exported=0)
2023-01-10 17:03:10,432 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259386, power1: 0, power2: 0
2023-01-10 17:03:10,432 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-10 17:03:10,433 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1673366590.4315126, power=0, imported=0.0, exported=0)
2023-01-10 17:03:10,439 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=0.0, exported=0, power=0, soc=72)
2023-01-10 17:03:10,448 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['E3DC Wechselrichter']
2023-01-10 17:03:10,449 - {soc.modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=0, dc_power=None)
2023-01-10 17:03:10,450 - {soc.modules.common.store._api:30} - {DEBUG:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=0, dc_power=None)
2023-01-10 17:03:10,451 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['E3DC Speicher']
2023-01-10 17:03:10,451 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=0.0, exported=0, power=0, soc=72)
2023-01-10 17:03:10,495 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-01-10 17:03:10,534 - {control.counter:50} - {ERROR:MainThread} - Fehler in der Zähler-Klasse von 0
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter.py", line 44, in setup_counter
    self._set_current_left()
  File "/var/www/html/openWB/packages/control/counter.py", line 64, in _set_current_left
    currents_raw = self.data["get"]["currents"]
KeyError: 'currents'
2023-01-10 17:03:10,540 - {control.bat:118} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-10 17:03:10,542 - {control.counter_all:110} - {ERROR:MainThread} - Fehler in der allgemeinen Zähler-Klasse
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/counter_all.py", line 81, in set_home_consumption
    home_consumption, elements = self._calc_home_consumption()
  File "/var/www/html/openWB/packages/control/counter_all.py", line 128, in _calc_home_consumption
    evu = data.data.counter_data[self.get_evu_counter_str()].data["get"]["power"]
KeyError: 'power'
2023-01-10 17:03:10,544 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'imported': 0.0, 'exported': 0, 'daily_exported': 0, 'daily_imported': 0.0, 'soc': 72}, 'config': {'configured': True}, 'set': {'charging_power_left': 0, 'switch_on_soc_reached': False}}
2023-01-10 17:03:10,544 - {control.data:297} - {DEBUG:MainThread} - bat2
{'get': {'daily_imported': 0.0, 'daily_exported': 0, 'power': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'soc': 72, 'imported': 0.0, 'exported': 0}}
2023-01-10 17:03:10,544 - {control.data:270} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-01-10 17:03:10,544 - {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-10 17:03:10,544 - {control.data:297} - {DEBUG:MainThread} - counter0
{'set': {'reserved_surplus': 0, 'released_surplus': 0, 'raw_power_left': 0, 'surplus_power_left': 0}, 'get': {'daily_exported': 0, 'daily_imported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0}, 'config': {'max_currents': [16, 16, 16], 'max_total_power': 11000}}
2023-01-10 17:03:10,545 - {control.data:274} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=0))
2023-01-10 17:03:10,545 - {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='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-01-10 17:03:10,546 - {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=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-10 17:03:10,547 - {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-10 17:03:10,548 - {control.data:278} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), 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=1), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-10 17:03:10,549 - {control.data:297} - {DEBUG:MainThread} - graph
{'config': {'duration': 120}}
2023-01-10 17:03:10,549 - {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-10 17:03:10,549 - {control.data:297} - {DEBUG:MainThread} - all
{'get': {'power': 0, 'exported': 0, 'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0}, 'config': {'configured': True}}
2023-01-10 17:03:10,549 - {control.data:297} - {DEBUG:MainThread} - pv1
{'get': {'daily_exported': 0, 'monthly_exported': 0, 'yearly_exported': 0, 'fault_str': 'Kein Fehler.', 'fault_state': 0, 'power': 0, 'exported': 0, 'currents': [0.0, 0.0, 0.0]}, 'config': {'max_ac_out': 12000}}
2023-01-10 17:03:10,550 - {control.data:297} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.35', 'current_commit': '2023-01-10 11:20:30 +0100 [d489ed16]', 'current_branch': 'master', 'current_branch_commit': '2023-01-10 11:20:30 +0100 [d489ed16]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'module_update_completed': True}
2023-01-10 17:03:10,550 - {control.data:310} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.178.36'}}
2023-01-10 17:03:10,551 - {control.data:312} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-10 17:03:10,552 - {control.data:312} - {DEBUG:MainThread} - component1
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-10 17:03:10,552 - {control.data:312} - {DEBUG:MainThread} - component2
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-01-10 17:03:10,552 - {control.data:284} - {DEBUG:MainThread} - 

2023-01-10 17:03:10,552 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus-Start
2023-01-10 17:03:10,553 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-10 17:03:10,556 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-10 17:03:10,559 - {control.counter:159} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-10 17:03:10,561 - {control.counter:407} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-10 17:03:10,561 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-10 17:03:10,562 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-10 17:03:10,562 - {control.counter:141} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-10 17:03:10,564 - {helpermodules.graph:56} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/graph.py", line 27, in pub_graph_data
    dataline.update({"grid": _convert_to_kW(data.data.counter_data[evu_counter].data["get"]["power"])})
KeyError: 'power'
2023-01-10 17:03:10,567 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})

PV: 9,86kWp an E3DC S10 13kWh
LP1: openWB Series2 standard+
Kia EV6
Nutzung von Tibber
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: E3DC in 2.0

Beitrag von LenaK »

ist gefixt, bitte ein Update machen.
Jens
Beiträge: 106
Registriert: Fr Jul 16, 2021 6:19 pm

Re: E3DC in 2.0

Beitrag von Jens »

Ja, Werte kommen an. Vielen Dank!
PV: 9,86kWp an E3DC S10 13kWh
LP1: openWB Series2 standard+
Kia EV6
Nutzung von Tibber
Gero
Beiträge: 2366
Registriert: Sa Feb 20, 2021 9:55 am

Re: E3DC in 2.0

Beitrag von Gero »

Hab gestern mal geupdated und nun kommen diese Fehler hier:
2023-01-11 16:30:01,516 - {helpermodules.setdata:287} - {ERROR:Thread-6} - Payload ungültig: Topic openWB/set/counter/0/get/daily_imported, Payload -9534517.15096934 liegt in keinem der angegebenen Wertebereiche.
2023-01-11 19:41:29,242 - {helpermodules.setdata:811} - {WARNING:Thread-6} - Kein Zähler 4 mit gültiger Konfiguration gefunden.
Die Konfiguration habe ich nach dem Update nicht neu gemacht. Die Reihenfolge ist also geblieben. Die letzte müsste Speicher sein: SoC stimmt mit dem 1.9er Wert überein, nur geladen wurden heute in der 2.0 66Wh und in der 1.9 0,03kWh. Aber zählen die IDs nicht von 0, womit Speicher dann 3 wäre? Ah, ich hab's: Ich hatte gestern mal einen Ladepunkt angelegt, aber nicht gespeichert. Der scheint also ohne Speichern unvollständig geblieben zu sein.

Leider geht mein main.log nur bis kurz vor Mitternacht, so dass ich nicht überprüfen kann, ob die Meldung mit dem daily_imported am nächsten Tag nicht mehr auftaucht. Das scheint noch ein Problem mit dem logging zu sein, dass der Wrapper nicht ganz funktioniert. Ich hätte erwartet, dass die Boot-Meldungen weggeschoben werden, wenn die Loglänge soundsoviel Zeilen erreicht. Es ist aber so, dass das Logging einfach aufhört, dafür aber die Boot-Meldungen erhalten bleiben.

Das hat ja alles nix mehr mit e3dc zu tun, aber nun bin ich hier in diesem Thread. 2023-01-11 13:44:22 +0100 [330b9b1f]

Hab' nun mal einen reboot gemacht und die Fehlermeldung

Code: Alles auswählen

2023-01-12 09:53:48,586 - {helpermodules.subdata:420} - {ERROR:Thread-5} - Fehler im subdata-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/subdata.py", line 417, in process_chargepoint_template_topic
    var["cpt"+index].data = dataclass_from_dict(chargepoint.CpTemplateData, payload)
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in dataclass_from_dict
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in <listcomp>
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 36, in _get_argument_value
    return _dataclass_from_dict_recurse(value, arg_spec.annotations.get(argument_name))
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 40, in _dataclass_from_dict_recurse
    return dataclass_from_dict(requested_type, value) \
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in dataclass_from_dict
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 20, in <listcomp>
    return cls(*[_get_argument_value(arg_spec, index, args) for index in range(1, len(arg_spec.args))])
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 36, in _get_argument_value
    return _dataclass_from_dict_recurse(value, arg_spec.annotations.get(argument_name))
  File "/var/www/html/openWB/packages/dataclass_utils/_dataclass_from_dict.py", line 41, in _dataclass_from_dict_recurse
    if isinstance(value, dict) and not issubclass(requested_type, dict) \
TypeError: issubclass() arg 1 must be a class

nährt den Verdacht, dass mit dem nicht-speichern (Ich hab' auch nicht auf Verwerfen geklickt) ein kaputter Ladepunkt angelegt wurde. Die daily_imported-Meldung ist weg.
openWB-series2, openWB-Buchse, E3/DC S10pro+19.5kWh, 30kWp Ost-Süd, Model 3 und Ion
Antworten