E3DC in 2.0

Fragen zur Nutzung, Features, usw..
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: E3DC in 2.0

Beitrag von LenaK »

Die ID's werden fortlaufend vergeben.

Das Problem mit dem daily_imported könnte mit dem Bug, dass keine Zähler-Werte ankamen, zusammenhängen. Sollte heute weg sein. Sonst bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn der Fehler auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.

Hast Du das Loglevel auf Details stehen? Das Log wird immer auf 10.000 Zeilen gekürzt.
Jens
Beiträge: 103
Registriert: Fr Jul 16, 2021 6:19 pm

Re: E3DC in 2.0

Beitrag von Jens »

Hallo,

Version: 2023-01-19 07:48:19 +0100 [bdff6e82]

Mir ist den letzten Tagen aufgefallen, dass der Hausverbrauch gegenüber der 1.9 falsch berechnet wurde.
Ist zwar heute aufgrund Schnee auf dem Dach nur wenig, dennoch wird PV und Speicher nicht berücksichtigt. ;)
Rest passt.

1.9
openWB_1_9.png
2.0
OpenWB_2_0.png
Nochmals Struktur (Ist hier was falsch ?)
Struktur.png
Struktur.png (11.65 KiB) 345 mal betrachtet

Code: Alles auswählen

- # ***Start*** 
2023-01-19 16:23:50,958 - {soc.modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['E3DC Zähler', 'E3DC Wechselrichter', 'E3DC Speicher']
2023-01-19 16:23:50,959 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-19 16:23:50,964 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Zähler']
2023-01-19 16:23:50,965 - {modules.devices.e3dc.counter:22} - {DEBUG:device0} - Beginning EVU update
2023-01-19 16:23:50,976 - {modules.devices.e3dc.counter:30} - {DEBUG:device0} - meters: [1, 115, 555, 117, 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-19 16:23:50,977 - {modules.devices.e3dc.counter:36} - {DEBUG:device0} - e3dc no farm detected
2023-01-19 16:23:50,978 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 787, powers [115, 555, 117]
2023-01-19 16:23:50,979 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1674141820.2857134, power=787, imported=102104.27884178926, exported=5545.143741970624)
2023-01-19 16:23:50,980 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00297042, power1: 787, power2: 787
2023-01-19 16:23:50,980 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 2.33772
2023-01-19 16:23:50,980 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 2.33772 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1674141830.9792309, power=787, imported=102106.61656351993, exported=5545.143741970624)
2023-01-19 16:23:50,983 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[115, 555, 117], currents=[0.5, 2.4130434782608696, 0.508695652173913], power_factors=[0.0, 0.0, 0.0], imported=102106.61656351993, exported=5545.143741970624, power=787, frequency=50)
2023-01-19 16:23:50,988 - {modules.devices.e3dc.counter:61} - {DEBUG:device0} - Update completed successfully
2023-01-19 16:23:51,000 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Wechselrichter']
2023-01-19 16:23:51,010 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1674141820.321907, power=0, imported=0.0, exported=25752.91875604343)
2023-01-19 16:23:51,011 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00296903, power1: 0, power2: 0
2023-01-19 16:23:51,011 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-19 16:23:51,012 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1674141831.0104125, power=0, imported=0.0, exported=25752.91875604343)
2023-01-19 16:23:51,013 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=25752.91875604343, dc_power=None)
2023-01-19 16:23:51,017 - {soc.modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Speicher']
2023-01-19 16:23:51,031 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1674141820.359208, power=0, imported=9517.32810575062, exported=7951.312236321001)
2023-01-19 16:23:51,032 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00296456, power1: 0, power2: 0
2023-01-19 16:23:51,032 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-01-19 16:23:51,032 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1674141831.0316136, power=0, imported=9517.32810575062, exported=7951.312236321001)
2023-01-19 16:23:51,033 - {soc.modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=9517.32810575062, exported=7951.312236321001, power=0, soc=60)
2023-01-19 16:23:51,039 - {soc.modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['E3DC Wechselrichter']
2023-01-19 16:23:51,042 - {soc.modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=25752.91875604343, dc_power=None)
2023-01-19 16:23:51,043 - {soc.modules.common.store._api:30} - {DEBUG:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=25752.91875604343, dc_power=None)
2023-01-19 16:23:51,044 - {soc.modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['E3DC Speicher']
2023-01-19 16:23:51,046 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-19 16:23:51,049 - {soc.modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=9517.32810575062, exported=7951.312236321001, power=0, soc=60)
2023-01-19 16:23:51,109 - {soc.modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-01-19 16:23:51,110 - {soc.modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[115, 555, 117], currents=[0.5, 2.4130434782608696, 0.508695652173913], power_factors=[0.0, 0.0, 0.0], imported=102106.61656351993, exported=5545.143741970624, power=787, frequency=50)
2023-01-19 16:23:51,179 - {control.counter:137} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [30.5, 28.59, 30.49]
2023-01-19 16:23:51,179 - {control.counter:166} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 21213
2023-01-19 16:23:51,184 - {control.chargepoint:349} - {INFO:MainThread} - LP 3: Keine Ladung, da kein Auto angesteckt ist.
2023-01-19 16:23:51,187 - {control.bat_all:145} - {INFO:MainThread} - 0W verbliebende Speicher-Leistung
2023-01-19 16:23:51,193 - {control.data:334} - {DEBUG:MainThread} - bat2
BatData(get=Get(soc=60, daily_exported=238.22, daily_imported=0.0, imported=9517.33, exported=7951.31, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-01-19 16:23:51,194 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=60, daily_exported=238.22, daily_imported=0.0, imported=9517.33, exported=7951.31, power=0), set=Set(charging_power_left=0, switch_on_soc_reached=False))
2023-01-19 16:23:51,195 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0, power=0, imported=5415595.7, exported=0))
2023-01-19 16:23:51,197 - {control.data:334} - {DEBUG:MainThread} - cp3
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=58), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5415595.7, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[228.18, 236.13, 231.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x713cb700>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.60', 'duo_num': 1}}, power_module={}, ev=1, name='Skoda Enyaq IV60', type='external_openwb', template=1, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-01-19 16:23:51,198 - {control.data:334} - {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-19 16:23:51,198 - {control.data:334} - {DEBUG:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-19 16:23:51,198 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[32, 32, 32], max_total_power=22000), get=Get(powers=[115, 555, 117], currents=[0.5, 2.41, 0.51], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50, daily_exported=2.393260997203, daily_imported=6929.69173899397, imported=102106.61656351993, exported=5545.143741970624, fault_state=0, fault_str='Kein Fehler.', power=787), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=21213, raw_currents_left=[30.5, 28.59, 30.49], surplus_power_left=0, state_str=''))
2023-01-19 16:23:51,199 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=787, invalid_home_consumption=0, daily_yield_home_consumption=6927.298477996767))
2023-01-19 16:23:51,199 - {control.data:334} - {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-19 16:23:51,200 - {control.data:334} - {DEBUG:MainThread} - ct1
ChargeTemplateData(name='Skoda Enyaq IV60', 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=14, min_current=0, feed_in_limit=False, min_soc=25, max_soc=85), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=6, name='Zielladen Jens', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=75, soc_scheduled=90), time='10:00')}), instant_charging=InstantCharging(current=14, limit=Limit(selected='soc', amount=1000, soc=80))))
2023-01-19 16:23:51,202 - {control.data:334} - {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-19 16:23:51,202 - {control.data:334} - {DEBUG:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Skoda Enyaq IV60', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=22, min_current=6, max_current_single_phase=16, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=3, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=1, ev_template=1, name='Skoda Enyaq IV60', tag_id=[], get=Get(soc=58, soc_timestamp='01/19/2023, 07:55:21', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-01-19 16:23:51,203 - {control.data:334} - {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-19 16:23:51,203 - {control.data:334} - {DEBUG:MainThread} - et1
EvTemplateData(name='Skoda Enyaq IV60', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=22, min_current=6, max_current_single_phase=16, battery_capacity=58, nominal_difference=2)
2023-01-19 16:23:51,203 - {control.data:314} - {DEBUG:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, rundown_power=2900, rundown_soc=75, switch_off_delay=60, switch_off_soc=75, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=90, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=3), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.31, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-01-19 16:23:51,204 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-01-19 16:23:51,205 - {control.data:316} - {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-19 16:23:51,205 - {control.data:334} - {DEBUG:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=194.329, monthly_exported=0, yearly_exported=0, imported=0, exported=25752.919, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-01-19 16:23:51,205 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=194.329, monthly_exported=0, yearly_exported=0, exported=25752.919, power=0))
2023-01-19 16:23:51,205 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.35', 'current_commit': '2023-01-19 07:48:19 +0100 [bdff6e82]', 'current_branch': 'master', 'current_branch_commit': '2023-01-19 07:48:19 +0100 [bdff6e82]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.101.1', 'datastore_version': 6, 'lastlivevaluesJson': {'timestamp': 1674141820, 'time': '16:23:40', 'grid': 0.787, 'house-power': 0.787, 'charging-all': 0.0, 'pv-all': -0.0, 'cp3-power': 0.0, 'ev1-soc': 58, 'bat-all-power': 0.0, 'bat-all-soc': 60}, 'module_update_completed': True}
2023-01-19 16:23:51,206 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.178.36'}}
2023-01-19 16:23:51,206 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-01-19 16:23:51,206 - {control.data:349} - {DEBUG:MainThread} - component1
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-01-19 16:23:51,206 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-01-19 16:23:51,207 - {control.data:321} - {DEBUG:MainThread} - 

2023-01-19 16:23:51,207 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-01-19 16:23:51,208 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-01-19 16:23:51,211 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-01-19 16:23:51,214 - {control.counter:203} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-01-19 16:23:51,215 - {control.counter:466} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-01-19 16:23:51,215 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-01-19 16:23:51,215 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-01-19 16:23:51,217 - {soc.modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-01-19 16:23:51,234 - {control.counter:191} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-01-19 16:23:51,457 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-01-19 16:24:00,560 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-01-19 16:24:00,561 - {root:61} - {INFO:MainThread} - # ***Start*** 
Gruß
Jens
PV: 9,86kWp an E3DC S10 13kWh
LP1: openWB Series2 standard+
Kia EV6
Nutzung von Tibber
Antworten