Feedback Beta 2

Fragen zur Nutzung, Features, usw..
Elchkopp
Beiträge: 442
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Feedback Beta 2

Beitrag von Elchkopp »

Ich hatte nämlich unter der Woche beim letzten Test der Beta2 folgende Fehlermeldung beim Laden des Autos:
Screenshot 2023-02-28 101630.jpg
Vielleicht resultiert daraus ja auch dieses komische Lademuster:
Screenshot 2023-02-28 101456.jpg
Wohlgemerkt: im Modus PV-Laden - er hätte eigentlich nicht mal anfangen dürfen.

Hier noch der main.log zum obigen Beitrag:
Main_log.txt
(53.52 KiB) 27-mal heruntergeladen
Elchkopp
Beiträge: 442
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Feedback Beta 2

Beitrag von Elchkopp »

Die Fehlermeldung "Die maximale Entladeleistung des Wechselrichters ist erreicht" kommt heute wieder:
Screenshot 2023-03-05 095417.png
Screenshot 2023-03-05 095430.png
main_log.txt
(111.32 KiB) 21-mal heruntergeladen
Wo kann ich nach dem Fehler suchen? Ich stehe da auf dem Schlauch, da ich weit von der maximalen Entladeleistung des WR entfernt bin - in meinen Augen...

Und er fängt an zu Laden, obwohl für mich ersichtlich nicht genug Überschuss vorhanden ist - schon gar keine 30s lang. Und er stoppt die Ladung auch nicht nach 600s (so eingestellt), sondern zieht aus der Batterie weiter.
Screenshot 2023-03-05 101513.png
main_log.txt
(1.02 MiB) 22-mal heruntergeladen
Elchkopp
Beiträge: 442
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Feedback Beta 2

Beitrag von Elchkopp »

Nächstes Auto dran, nächstes Problem:

PV-Laden mit Prio auf Batterie startet zwar die Ladung, wenn die Batterie ihren maximalen Ladestrom mit 5kW erreicht hat (und die PV-Leitung bei 8kW) liegt, aber sie regelt nicht herunter, sondern beginnt mit 3p/16A und verbleibt auf dem hohen Niveau, ohne wieder herunter zu regeln.
Im Diagramm ganz rechts schön zu sehen (ab ca. 14:13 Uhr).
Screenshot 2023-03-05 141941.png
Anbei der die Log-Datei:
main_log.txt
(326.73 KiB) 23-mal heruntergeladen
Ich bin ehrlich gesagt gerade etwas frustriert, denn für mich ist die Beta-Version praktisch nicht verwendbar, da insbesondere die Funktion PV-Laden weder mit dem einen noch mit dem anderen Auto funktioniert. Ob es am Auto liegt (Tesla Model 3, Cupra Born) oder an der Konfiguration - ich weiß es nicht. Ich habe alles nach Besten Wissen und Gewissen konfiguriert und eingestellt. Auch so wie in der 1.9er-Version. Und ich hatte auch gehofft, das zumindest diese grundsätzlichen Funktionen in der Beta funktionieren würden. Schade.

Ich muss jetzt Zwangsweise kommende Woche wieder auf die 1.9er-Version umsteigen und die Beta2 still legen, da ich auf eine funktionierende Ladestelle Zuhause angewiesen bin. Bis Montag werde ich aber noch warten - falls ihr Euch auf die Box aufschalten wollt.

Gruß
Sascha
gvz
Beiträge: 72
Registriert: So Sep 12, 2021 8:28 am
Wohnort: Grevenbroich

Re: Feedback Beta 2

Beitrag von gvz »

LenaK hat geschrieben: Fr Mär 03, 2023 2:50 pm Du hast für PV-Laden einen Mindeststrom konfiguriert, mit dem wird auch geladen, wenn kein Überschuss vorhanden ist.
Upps.
Funfact: Nach Deinem vernichtenden Einwand habe ich in zig Menus gesucht, wo ich noch mal "Min-PV" statt "PV" konfiguriert haben könnte. Es hat eine Weile gebraucht, bis ich es direkt auf der "Startseite" gefunden habe. "Minimalstrom 6 A" habe ich 2-3-Mal für "Ist doch richtig - unter 6 A geht nicht" abgehakt, bis ich realisiert habe, dass der Schieberegler auch noch einen Takken nach links auf 0 A gestellt werden kann.

1-phasig Überschussladen lief heute sauber, ich hoffe auf 2/3-P-Tage.

P.S.: Was mir sehr gut gefällt, ist die Info-Box, welche "Gedanken" sich gerade die Open-WB macht: Ladestrom unterschritten, Abschaltezeitspanne wird abgewartet, u.s.w. Für mich könnte das auch noch ausführlicher sein, in dem Sinne, dass auch z.B. "20 / 480 s" bis zu einer 480-Sekunden Abschaltezeit hochgezählt wird.
OpenWB S2 (Touchscreen, RFID, Zähler, 11kW), 10 kWp PV ohne Speicher, ID.3
Maxify23
Beiträge: 116
Registriert: Do Apr 15, 2021 8:53 am
Wohnort: Rastede

Re: Feedback Beta 2

Beitrag von Maxify23 »

LenaK hat geschrieben: Fr Mär 03, 2023 3:00 pm
Aventinus hat geschrieben: Mo Feb 27, 2023 10:35 am Hallo zusammen,

ich hab beim testen zwei Themen festgestellt.
Ich hab einen Sungrow SH10RT mit BYD-Speicher. Als Ladepunkt nuzte ich die Series 2 Standard +.

1. Die Batterieleistung des SH10RT wird ohne Vorzeichen auf dem Modbus bereitgestellt. Ich vermute, das wird so in der OpenWB übernommen. Somit wird sowohl Ladung als auch Entladung als Ladung im Graph und in der Anzeige dargestellt.
2. Die PV-Ladung wurde sofort beim Einstecken gestartet, obwohl ich als Einschalt SoC 75% eingestellt habe.

Punkt 1 ist zumindest unschön. Punkt 2 stört micht schon ;)

VG Aventinus

Code: Alles auswählen

2023-02-27 11:05:14,199 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-02-27 11:05:14,200 - {control.algorithm.algorithm:72} - {DEBUG:MainThread} - Ladepunkt 4: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-02-27 11:05:14,201 - {control.ev:484} - {DEBUG:MainThread} - Genutzter Strom: 6.05A, Überschuss: -4W, benötigte neue Leistung: -3220W
2023-02-27 11:05:14,203 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:14,204 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-02-27 11:05:14,209 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:14,211 - {control.counter:161} - {DEBUG:MainThread} - Zähler 0: [34.05, 34.05, 34.05]A verbleibende Ströme, 21216.07W verbleibende Leistung
2023-02-27 11:05:14,211 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:14,215 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-02-27 11:05:14,221 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [4]
2023-02-27 11:05:14,221 - {control.algorithm.additional_current:26} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:14,222 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:14,223 - {control.counter:190} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-02-27 11:05:14,224 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-02-27 11:05:14,225 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-02-27 11:05:14,225 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-02-27 11:05:14,240 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 57.97999999998137 counter 956976.99
2023-02-27 11:05:14,243 - {control.process:106} - {INFO:MainThread} - LP4: set current 6 A
2023-02-27 11:05:14,244 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:14,266 - {control.counter:178} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-02-27 11:05:14,764 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-02-27 11:05:20,925 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-02-27 11:05:20,926 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-02-27 11:05:20,987 - {modules.devices.sungrow.device:59} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.sungrow.counter.SungrowCounter object at 0x72607c88>, 'component2': <modules.devices.sungrow.bat.SungrowBat object at 0x71d44580>, 'component5': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71dd1520>}
2023-02-27 11:05:20,990 - {modules.devices.sungrow.device:59} - {DEBUG:device1} - Start device reading {'component6': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71d65a90>}
2023-02-27 11:05:20,992 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:20,996 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:21,019 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492310.8442104, power=4, imported=8898.39708403558, exported=149.14826261947155)
2023-02-27 11:05:21,021 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282629, power1: 4, power2: -2
2023-02-27 11:05:21,022 - {modules.common.simcount._calculate:26} - {DEBUG:device0} - power changed sign. Total energy: 0.00282629, exported energy: -0.000942097
2023-02-27 11:05:21,023 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0.00376839 Wh, exported: 0.000942097 Wh, new state: SimCounterState(timestamp=1677492321.0188632, power=-2, imported=8898.400852425511, exported=149.14920471695442)
2023-02-27 11:05:21,024 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[229.3, 230.3, 231.7], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.400852425511, exported=149.14920471695442, power=-2, frequency=499.5)
2023-02-27 11:05:21,028 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:21,069 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492310.8875792, power=431, imported=25041.278335825104, exported=0)
2023-02-27 11:05:21,070 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282835, power1: 431, power2: 411
2023-02-27 11:05:21,071 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.19073
2023-02-27 11:05:21,071 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.19073 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1677492321.069634, power=411, imported=25042.46907056209, exported=0)
2023-02-27 11:05:21,073 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=25042.46907056209, exported=0, power=411, soc=28)
2023-02-27 11:05:21,090 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:21,101 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492310.905314, power=-1273, imported=0.0, exported=25010.11212266156)
2023-02-27 11:05:21,102 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283237, power1: -1273, power2: -1316
2023-02-27 11:05:21,103 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -3.6665
2023-02-27 11:05:21,103 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 3.6665 Wh, new state: SimCounterState(timestamp=1677492321.101843, power=-1316, imported=0.0, exported=25013.778624601753)
2023-02-27 11:05:21,106 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1316, exported=25013.778624601753, dc_power=None)
2023-02-27 11:05:23,998 - {pymodbus.client.sync:218} - {ERROR:device1} - Connection to (192.168.178.69, 502) failed: timed out
2023-02-27 11:05:24,016 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:24,017 - {modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=25042.46907056209, exported=0, power=411, soc=28)
2023-02-27 11:05:24,019 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:24,027 - {modules.common.component_context:24} - {DEBUG:component5} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:24,029 - {modules.common.store._api:26} - {DEBUG:component5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1316, exported=25013.778624601753, dc_power=None)
2023-02-27 11:05:24,030 - {modules.common.store._api:30} - {DEBUG:component5} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1316, exported=25013.778624601753, dc_power=None)
2023-02-27 11:05:24,039 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:24,112 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:24,113 - {modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[229.3, 230.3, 231.7], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.400852425511, exported=149.14920471695442, power=-2, frequency=499.5)
2023-02-27 11:05:24,286 - {control.counter:131} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [40.06, 40.06, 40.06]
2023-02-27 11:05:24,287 - {control.counter:153} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 25361.2
2023-02-27 11:05:24,293 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-02-27 11:05:24,294 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-02-27 11:05:24,298 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:24,302 - {control.chargepoint:867} - {DEBUG:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6.06
2023-02-27 11:05:24,305 - {control.bat_all:145} - {INFO:MainThread} - -50W verbliebende Speicher-Leistung
2023-02-27 11:05:24,307 - {control.counter_all:83} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -456.20000000000005W, Berücksichtigte Komponenten neben EVU [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]
2023-02-27 11:05:24,309 - {control.data:334} - {DEBUG:MainThread} - bat2
BatData(get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25042.47, exported=0, fault_state=0, fault_str='Kein Fehler.', power=411))
2023-02-27 11:05:24,310 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25041.28, exported=0, power=431), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-02-27 11:05:24,310 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=52.97, daily_exported=0, power=1359.2, imported=956979.98, exported=0))
2023-02-27 11:05:24,312 - {control.data:334} - {DEBUG:MainThread} - cp4
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=35), currents=[6.06, 0.0, 0.0], daily_imported=52.97, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=956979.98, phases_in_use=1, plug_state=True, power=1359.2, rfid_timestamp=None, rfid=None, state_str='Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.', voltages=[226.38, 231.37, 231.18]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=956919.01, imported_at_plugtime=956919.01, imported_since_mode_switch=57.97999999998137, imported_since_plugged=57.97999999998137, range_charged=0.30515789473674404, time_charged='0:03', timestamp_start_charging='02/27/2023, 11:02:43'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/27/2023, 11:02:33', required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71dba808>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.52', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-02-27 11:05:24,314 - {control.data:334} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-02-27 11:05:24,315 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[229.3, 230.3, 231.7], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=499.5, daily_exported=11.61398080994323, daily_imported=2011.043484660061, imported=8898.400852425511, exported=149.14920471695442, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=-2), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=25361.2, raw_currents_left=[40.06, 40.06, 40.06], surplus_power_left=0, state_str=''))
2023-02-27 11:05:24,316 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=2697.1645038501174))
2023-02-27 11:05:24,317 - {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='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=0, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=6, limit=Limit(selected='soc', amount=1000, soc=80))))
2023-02-27 11:05:24,318 - {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=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[6, 6, 6], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=35, soc_timestamp='02/27/2023, 11:02:44', force_soc_update=False, range=101.0, fault_state=0, fault_str='Kein Fehler.'))
2023-02-27 11:05:24,321 - {control.data:334} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-02-27 11:05:24,325 - {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=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2)
2023-02-27 11:05:24,326 - {control.data:314} - {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=17000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=70, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=75, 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.3327, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-02-27 11:05:24,326 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-02-27 11:05:24,327 - {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-02-27 11:05:24,328 - {control.data:334} - {DEBUG:MainThread} - pv5
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25013.779, fault_state=0, fault_str='Kein Fehler.', power=-1316))
2023-02-27 11:05:24,328 - {control.data:334} - {DEBUG:MainThread} - pv6
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='', power=0))
2023-02-27 11:05:24,329 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25010.112, power=-1273))
2023-02-27 11:05:24,330 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.28', 'current_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_branch': 'master', 'current_branch_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1677492314, 'time': '11:05:14', 'grid': 0.004, 'house-power': 0.0, 'charging-all': 1.36, 'pv-all': 1.273, 'cp4-power': 1.36, 'ev0-soc': 35, 'bat-all-power': 0.443, 'bat-all-soc': 28}, 'module_update_completed': True}
2023-02-27 11:05:24,337 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'SH10RT', 'type': 'sungrow', 'id': 0, 'configuration': {'ip_address': '192.168.178.49', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:24,338 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 0, 'configuration': {'version': 0}}
2023-02-27 11:05:24,338 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-02-27 11:05:24,339 - {control.data:349} - {DEBUG:MainThread} - component5
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': {}}
2023-02-27 11:05:24,339 - {control.data:347} - {DEBUG:MainThread} - device1
{'name': 'SG10RT', 'type': 'sungrow', 'id': 1, 'configuration': {'ip_address': '192.168.178.69', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:24,340 - {control.data:349} - {DEBUG:MainThread} - component6
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 6, 'configuration': {}}
2023-02-27 11:05:24,340 - {control.data:321} - {DEBUG:MainThread} - 

Code: Alles auswählen

2023-02-27 11:05:43,704 - {control.algorithm.algorithm:26} - {DEBUG:MainThread} - # Algorithmus
2023-02-27 11:05:43,705 - {control.algorithm.algorithm:72} - {DEBUG:MainThread} - Ladepunkt 4: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-02-27 11:05:43,706 - {control.ev:484} - {DEBUG:MainThread} - Genutzter Strom: 6.05A, Überschuss: -11W, benötigte neue Leistung: -3220W
2023-02-27 11:05:43,712 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:43,716 - {control.algorithm.algorithm:32} - {DEBUG:MainThread} - **Mindestrom setzen**
2023-02-27 11:05:43,721 - {control.algorithm.min_current:18} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:43,722 - {control.counter:161} - {DEBUG:MainThread} - Zähler 0: [34.05, 34.05, 34.05]A verbleibende Ströme, 21206.19W verbleibende Leistung
2023-02-27 11:05:43,723 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:43,727 - {control.algorithm.algorithm:34} - {DEBUG:MainThread} - **Sollstrom setzen**
2023-02-27 11:05:43,733 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [4]
2023-02-27 11:05:43,734 - {control.algorithm.additional_current:26} - {DEBUG:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, False), Zähler 0
2023-02-27 11:05:43,736 - {control.algorithm.common:87} - {DEBUG:MainThread} - LP4: Stromstärke 6A
2023-02-27 11:05:43,737 - {control.counter:190} - {DEBUG:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-02-27 11:05:43,738 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-02-27 11:05:43,739 - {control.algorithm.algorithm:45} - {DEBUG:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-02-27 11:05:43,739 - {control.process:22} - {DEBUG:MainThread} - # Ladung starten.
2023-02-27 11:05:43,740 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 68.96999999997206 counter 956987.98
2023-02-27 11:05:43,743 - {control.process:106} - {INFO:MainThread} - LP4: set current 6 A
2023-02-27 11:05:43,752 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:43,818 - {control.counter:178} - {DEBUG:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-02-27 11:05:44,259 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-02-27 11:05:50,454 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-02-27 11:05:50,455 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-02-27 11:05:50,516 - {modules.devices.sungrow.device:59} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.sungrow.counter.SungrowCounter object at 0x72607c88>, 'component2': <modules.devices.sungrow.bat.SungrowBat object at 0x71d44580>, 'component5': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71dd1520>}
2023-02-27 11:05:50,519 - {modules.devices.sungrow.device:59} - {DEBUG:device1} - Start device reading {'component6': <modules.devices.sungrow.inverter.SungrowInverter object at 0x71d65a90>}
2023-02-27 11:05:50,521 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:50,523 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:50,547 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492340.383921, power=11, imported=8898.418267951458, exported=149.15090295355233)
2023-02-27 11:05:50,549 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282319, power1: 11, power2: 2
2023-02-27 11:05:50,550 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0.0183507
2023-02-27 11:05:50,551 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0.0183507 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1677492350.547388, power=2, imported=8898.436618656067, exported=149.15090295355233)
2023-02-27 11:05:50,553 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[229.6, 230.7, 231.5], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.436618656067, exported=149.15090295355233, power=2, frequency=499.4)
2023-02-27 11:05:50,564 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:50,607 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492340.4349313, power=368, imported=25044.60025995549, exported=0)
2023-02-27 11:05:50,608 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028258, power1: 368, power2: 357
2023-02-27 11:05:50,609 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.02435
2023-02-27 11:05:50,609 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.02435 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1677492350.6077933, power=357, imported=25045.624610648316, exported=0)
2023-02-27 11:05:50,612 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=25045.624610648316, exported=0, power=357, soc=28)
2023-02-27 11:05:50,618 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:50,629 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1677492340.457031, power=-1334, imported=0.0, exported=25020.882190252534)
2023-02-27 11:05:50,630 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282567, power1: -1334, power2: -1361
2023-02-27 11:05:50,631 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -3.80758
2023-02-27 11:05:50,631 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 3.80758 Wh, new state: SimCounterState(timestamp=1677492350.6294258, power=-1361, imported=0.0, exported=25024.6897741217)
2023-02-27 11:05:50,633 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1361, exported=25024.6897741217, dc_power=None)
2023-02-27 11:05:53,527 - {pymodbus.client.sync:218} - {ERROR:device1} - Connection to (192.168.178.69, 502) failed: timed out
2023-02-27 11:05:53,544 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Sungrow Speicher']
2023-02-27 11:05:53,545 - {modules.common.store._api:30} - {DEBUG:component2} - Saving BatState(imported=25045.624610648316, exported=0, power=357, soc=28)
2023-02-27 11:05:53,548 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-02-27 11:05:53,552 - {modules.common.component_context:24} - {DEBUG:component5} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:53,553 - {modules.common.store._api:26} - {DEBUG:component5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1361, exported=25024.6897741217, dc_power=None)
2023-02-27 11:05:53,554 - {modules.common.store._api:30} - {DEBUG:component5} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1361, exported=25024.6897741217, dc_power=None)
2023-02-27 11:05:53,557 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['Sungrow Wechselrichter']
2023-02-27 11:05:53,640 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['Sungrow Zähler']
2023-02-27 11:05:53,641 - {modules.common.store._api:30} - {DEBUG:component0} - Saving CounterState(voltages=[229.6, 230.7, 231.5], powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], power_factors=[0.0, 0.0, 0.0], imported=8898.436618656067, exported=149.15090295355233, power=2, frequency=499.4)
2023-02-27 11:05:53,812 - {control.counter:131} - {DEBUG:MainThread} - Verbleibende Ströme an Zähler 0: [40.07, 40.07, 40.07]
2023-02-27 11:05:53,814 - {control.counter:153} - {DEBUG:MainThread} - Verbleibende Leistung an Zähler 0: 25359.84
2023-02-27 11:05:53,821 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-02-27 11:05:53,823 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-02-27 11:05:53,827 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.
2023-02-27 11:05:53,828 - {control.chargepoint:867} - {DEBUG:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 6.07
2023-02-27 11:05:53,831 - {control.bat_all:145} - {INFO:MainThread} - -50W verbliebende Speicher-Leistung
2023-02-27 11:05:53,834 - {control.counter_all:83} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -355.8399999999999W, Berücksichtigte Komponenten neben EVU [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]
2023-02-27 11:05:53,836 - {control.data:334} - {DEBUG:MainThread} - bat2
BatData(get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25045.62, exported=0, fault_state=0, fault_str='Kein Fehler.', power=357))
2023-02-27 11:05:53,839 - {control.data:305} - {DEBUG:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=28, daily_exported=0, daily_imported=1969.19, imported=25044.6, exported=0, power=368), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-02-27 11:05:53,844 - {control.data:306} - {DEBUG:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=52.97, daily_exported=0, power=1361.84, imported=956991.03, exported=0))
2023-02-27 11:05:53,845 - {control.data:334} - {DEBUG:MainThread} - cp4
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=35), currents=[6.07, 0.0, 0.0], daily_imported=52.97, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=956991.03, phases_in_use=1, plug_state=True, power=1361.84, rfid_timestamp=None, rfid=None, state_str='Für eine korrekte Funktion des Lastmanagements muss der Anschluss der Phasen für diesen Ladepunkt an die Phasen der EVU angegeben werden. Andernfalls wird der benötigte Strom auf allen 3 Phasen vorgehalten, was ggf eine unnötige Reduktion der Ladeleistung zur Folge hat.', voltages=[226.65, 231.4, 230.95]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=956919.01, imported_at_plugtime=956919.01, imported_since_mode_switch=68.96999999997206, imported_since_plugged=68.96999999997206, range_charged=0.36299999999985294, time_charged='0:03', timestamp_start_charging='02/27/2023, 11:02:43'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/27/2023, 11:02:33', required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71d8b058>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.52', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-02-27 11:05:53,846 - {control.data:334} - {DEBUG:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-02-27 11:05:53,853 - {control.data:334} - {DEBUG:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[229.6, 230.7, 231.5], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=499.4, daily_exported=11.61398080994323, daily_imported=2011.043484660061, imported=8898.436618656067, exported=149.15090295355233, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=2), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=25359.84, raw_currents_left=[40.07, 40.07, 40.07], surplus_power_left=0, state_str=''))
2023-02-27 11:05:53,854 - {control.data:310} - {DEBUG:MainThread} - counter_all_data
CounterAllData(get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 2, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 6, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=2697.1645038501174))
2023-02-27 11:05:53,854 - {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='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=0, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=6, limit=Limit(selected='soc', amount=1000, soc=80))))
2023-02-27 11:05:53,855 - {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=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=6, required_currents=[6, 6, 6], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=35, soc_timestamp='02/27/2023, 11:02:44', force_soc_update=False, range=101.0, fault_state=0, fault_str='Kein Fehler.'))
2023-02-27 11:05:53,856 - {control.data:334} - {DEBUG:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2), et_num=0)), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-02-27 11:05:53,857 - {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=19, min_current=6, max_current_single_phase=32, battery_capacity=58, nominal_difference=2)
2023-02-27 11:05:53,860 - {control.data:314} - {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=17000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=70, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=75, 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.3327, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-02-27 11:05:53,861 - {control.data:315} - {DEBUG:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-02-27 11:05:53,862 - {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-02-27 11:05:53,863 - {control.data:334} - {DEBUG:MainThread} - pv5
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25024.69, fault_state=0, fault_str='Kein Fehler.', power=-1361))
2023-02-27 11:05:53,863 - {control.data:334} - {DEBUG:MainThread} - pv6
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='', power=0))
2023-02-27 11:05:53,864 - {control.data:318} - {DEBUG:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=2768.146, monthly_exported=0, yearly_exported=0, exported=25020.882, power=-1334))
2023-02-27 11:05:53,864 - {control.data:334} - {DEBUG:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.28', 'current_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_branch': 'master', 'current_branch_commit': '2023-02-23 10:05:10 +0100 [3864b7e1]', 'current_missing_commits': [], 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1677492343, 'time': '11:05:43', 'grid': 0.011, 'house-power': 0.0, 'charging-all': 1.357, 'pv-all': 1.334, 'cp4-power': 1.357, 'ev0-soc': 35, 'bat-all-power': 0.404, 'bat-all-soc': 28}, 'module_update_completed': True}
2023-02-27 11:05:53,865 - {control.data:347} - {DEBUG:MainThread} - device0
{'name': 'SH10RT', 'type': 'sungrow', 'id': 0, 'configuration': {'ip_address': '192.168.178.49', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:53,866 - {control.data:349} - {DEBUG:MainThread} - component0
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 0, 'configuration': {'version': 0}}
2023-02-27 11:05:53,867 - {control.data:349} - {DEBUG:MainThread} - component2
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-02-27 11:05:53,868 - {control.data:349} - {DEBUG:MainThread} - component5
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': {}}
2023-02-27 11:05:53,868 - {control.data:347} - {DEBUG:MainThread} - device1
{'name': 'SG10RT', 'type': 'sungrow', 'id': 1, 'configuration': {'ip_address': '192.168.178.69', 'port': 502, 'modbus_id': 1}}
2023-02-27 11:05:53,871 - {control.data:349} - {DEBUG:MainThread} - component6
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 6, 'configuration': {}}
2023-02-27 11:05:53,872 - {control.data:321} - {DEBUG:MainThread} - 

Die Speicherbeachtung wurde überarbeitet, bitte ein Update machen.
Falls das noch nicht geholfen hat. Es soll nur die IP des Lan Ports (hinter WII NET) zur Modbus Auslesung verwendet werden. Der WII Net gibt noch nicht das Register zur Unterscheidung Speicher ENT/BE-Ladung weiter.

Falls das nicht Hilft Wechselrichter und WII Net Updaten.

Ansonsten bitte ne PN
Sungrow SH 10 hybrid WR mit automatischer Notstromumschaltung
Qcells G9 10,5 KWp
BYD HVM 11 kWh
OpenWB Series 2 Duo
GoE Charger Homefix 11kW
Nissan eNV200 (40 kWh)
Renault Zoe (22kWh)

geplant Vaillant oder Wolf Wärmepumpe
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: Feedback Beta 2

Beitrag von LenaK »

gvz hat geschrieben: Sa Feb 25, 2023 8:24 pm Moin, heute habe ich auch einen neuen Anlauf mit OpenWB 2.0 gemacht. Ich hatte das Image der Beta 1 heruntergeladen, da musste ich noch etwas schrauben, bis das System Dinge wie ein Update machen wollte. Das beschreibe ich aber nicht (außer, Ihr wollt es), weil es ja ein Testing- und kein Entwicklungsproblem ist.

Hinweis 1: Ich habe mein Image auf MacOS mit dem Raspi Imager geschrieben, der erlaubt, u.a. eine WLAN-Config direkt auf der SD-Karte zu setzen. Damit läuft bei mir OpenWB 2.0 sauber auf einem Raspi Zero (PI 3A+) über Wifi.

Kurze System-Beschreibung:
LP ist eine OpenWB Series 2 mit Zähler, RFID, Display und allem Klimmbimm zur Umschaltung auf 192.168.0.5 als Slave. Die Ausführung ist 11 kW.
Das Haus ist simpel gestrickt: Die PV-Produktion wird in FHEM zusammengerechnet und per MQTT propagiert. Ein Speicher existiert nicht. Der Zähler wird per OBIS-Kopf ausgelesen und ebenfalls per MQTT propagiert.

Ich werde nun schauen, ob ich PV-Laden sauber zum Laufen kriege, und ob die Bugs in der 1.9, die mich mehrfach nervten (z.B. 1/3-Phasen-Flapping) behoben sind bzw. behebbar sind.

Bug 1: Keine Steuerung möglich
Es ist zwar ein Benutzerfehler, aber bevor im Support dafür Anrufe auflaufen, ist es sicherlich sinnvoll, es zu beheben. Ich hatte unter Konfiguration -> Lastmanagement -> MQTT-Wechselrichter nichts eingestellt. So stand dort unter "Maximale Ausgangsleistung des Wechselrichters" der Default-Wert von "0". Im Ergebnis passiert beim Klick auf "Sofort Laden" absolut nichts: Kein Fehler, nix. Im main.log gibt es aber folgende Exception:

Code: Alles auswählen

2023-02-25 20:18:00,590 - {control.algorithm.algorithm:48} - {ERROR:MainThread} - Fehler im Algorithmus-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/algorithm/algorithm.py", line 33, in calc_current
    self.min_current.set_min_current()
  File "/var/www/html/openWB/packages/control/algorithm/min_current.py", line 24, in set_min_current
    available_currents, limit = Loadmanagement().get_available_currents(missing_currents, counter)
  File "/var/www/html/openWB/packages/control/loadmanagement.py", line 26, in get_available_currents
    available_currents, limit_power = self._limit_by_power(
  File "/var/www/html/openWB/packages/control/loadmanagement.py", line 81, in _limit_by_power
    currents[i] = available_currents[i] / sum(available_currents) * raw_power_left / 230
Da die ganze Beschreibung des "MQTT-Wechselrichters" nicht unbedingt nach "essential" wirkt, würde sich jemand ohne Logfile-Lesekenntnis und "Ah! Division bei Zero"-Verständnis wohl schwer tun.

Ansonsten freue ich mich, wie sauber der Code auf den ersten Blick aussieht, wie aufgeräumt das alte Chaos der Variablenbenennung ist, und wie viel Zeit mehr mit OpenWB 2.0 der Raspi für echte Arbeit statt Shell-Starts hat!
Sicher, dass es an der Maximalen Ausgangsleistung des Wechselrichters liegt? Hier funktioniert es und den Abschnitt, den Du gepostet hast, hat damit nichts zu tun.
Davon abgesehen, bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn der Fehler auftritt. Die Exception ist oben nämlich abgeschnitten.
gbggbg
Beiträge: 16
Registriert: Fr Mai 28, 2021 1:58 pm

Re: Feedback Beta 2

Beitrag von gbggbg »

Hallo,

zwei Sachen sind mir heute aufgefallen:

Zum Einen zeigt der Live-Status diese Einbrüche an sobald EVU-Bezug stattfindet. Sofern noch PV dabei oder Speicher-only sieht das auf den ersten Blick ohne Peaks aus - das kann ich aber jetzt nicht 100% sagen, da der Graph zuwenig anzeigt.
System ist E3DC mit Speicher. Lademodus ist Sofortladen 3p.
openWB_2_peaks.PNG
In der Tagesauswertung sieht man die leider nicht mehr, da hier scheinbar eine Aggregierung stattfindet bleiben nur die kleinen Dellen übrig. Dadurch sieht man so ein Verhalten im Nachgang natürlich und kann dem möglichen so nicht nachgehen.
openWB_2_peaks_auswertung.PNG
Vielleicht gehört das mit den Peaks auch so, das kann ich jetzt nicht beurteilen - aber spontan könnte ich mich jetzt nicht erinnern das in der 1.9x in der Form gesehen zu haben.

Hierzu auch mal noch das Log zu einem der Datenpunkte.

Code: Alles auswählen

2023-03-08 18:08:40,776 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00273113, power1: 0, power2: 0
2023-03-08 18:08:40,776 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-03-08 18:08:40,776 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1678295320.7755, power=0, imported=0.0, exported=699321.4507714184)
2023-03-08 18:08:40,777 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=699321.4507714184, dc_power=None)
2023-03-08 18:08:40,785 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['E3DC Speicher']
2023-03-08 18:08:40,785 - {modules.common.store._api:30} - {INFO:component1} - Saving BatState(imported=279738.0756270727, exported=250645.05264673024, power=0, soc=0)
2023-03-08 18:08:40,787 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['E3DC Wechselrichter']
2023-03-08 18:08:40,790 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['E3DC externer Wechselrichter']
2023-03-08 18:08:40,793 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=690639.8943461055, dc_power=None)
2023-03-08 18:08:40,793 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-08 18:08:40,801 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=699321.4507714184, dc_power=None)
2023-03-08 18:08:40,805 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=690639.8943461055, dc_power=None)
2023-03-08 18:08:40,807 - {modules.common.store._api:30} - {INFO:cp4} - Saving ChargepointState(voltages=[0.0, 0.0, 0.0], currents=[10.426, 10.515, 10.536], power_factors=[0.0, 0.0, 0.0], imported=2630778, exported=1282, power=6944.7, phases_in_use=3, charge_state=True, plug_state=False, rfid=--)
2023-03-08 18:08:40,809 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=699321.4507714184, dc_power=None)
2023-03-08 18:08:40,888 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-03-08 18:08:40,889 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[2496, 2506, 2685], currents=[10.852173913043478, 10.895652173913044, 11.673913043478262], power_factors=[0.0, 0.0, 0.0], imported=83335.98421853871, exported=729343.4393863154, power=7687, frequency=50)
2023-03-08 18:08:40,980 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 0W
2023-03-08 18:08:40,980 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (200W) subtrahieren: -200
2023-03-08 18:08:40,981 - {control.bat_all:149} - {INFO:MainThread} - -200W verbliebende Speicher-Leistung
2023-03-08 18:08:40,984 - {control.counter:131} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [32.58, 32.62, 31.869999999999997]A
2023-03-08 18:08:40,985 - {control.counter:153} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 22257.7W
2023-03-08 18:08:40,986 - {modules.common.component_context:24} - {DEBUG:MainThread} - Update Komponente ['Ladepunkt']
2023-03-08 18:08:40,987 - {modules.chargepoints.openwb_pro.chargepoint_module:89} - {DEBUG:MainThread} - Die openWB-Pro unterstützt keine RFID-Tags.
2023-03-08 18:08:40,988 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: RFID ist nicht aktiviert.
2023-03-08 18:08:40,988 - {control.ev:217} - {DEBUG:MainThread} - EV 0 zurückgesetzt.
2023-03-08 18:08:41,005 - {control.chargelog:146} - {DEBUG:MainThread} - Neuer Ladelogeintrag: {'chargepoint': {'id': 4, 'name': 'Garage'}, 'vehicle': {'id': 0, 'name': 'Standard-Fahrzeug', 'chargemode': 'instant_charging', 'prio': True, 'rfid': None}, 'time': {'begin': '03/08/2023, 14:33:40', 'end': '03/08/2023, 18:08:40', 'time_charged': '3:35'}, 'data': {'range_charged': 147.2, 'imported_since_mode_switch': 25025.0, 'imported_since_plugged': 25025.0, 'power': 1.93, 'costs': 13.76}}
2023-03-08 18:08:41,011 - {control.data:334} - {INFO:MainThread} - bat1
BatData(get=Get(soc=0, daily_exported=11147.26, daily_imported=11259.8, imported=279738.08, exported=250645.05, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-03-08 18:08:41,013 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=0, daily_exported=11147.26, daily_imported=11259.8, imported=279738.08, exported=250645.05, power=0), set=Set(charging_power_left=-200, switch_on_soc_reached=False))
2023-03-08 18:08:41,014 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=24593, daily_exported=0, power=6944.7, imported=2630778, exported=1282))
2023-03-08 18:08:41,016 - {control.data:334} - {INFO:MainThread} - cp4
ChargepointData(get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[10.43, 10.52, 10.54], daily_imported=24593, daily_exported=0, exported=1282, fault_str='Kein Fehler.', fault_state=0, imported=2630778, phases_in_use=3, plug_state=False, power=6944.7, rfid_timestamp=None, rfid=None, state_str='RFID ist nicht aktiviert.', voltages=[0.0, 0.0, 0.0]), 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=3, plug_state_prev=True, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x72b7f958>), config=Config(connection_module={'type': 'openwb_pro', 'name': 'openWB Pro', 'configuration': {'ip_address': '192.168.1.56'}}, power_module={}, ev=0, name='Garage', type='openwb_pro', template=1, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-08 18:08:41,017 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-03-08 18:08:41,017 - {control.data:334} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=16, name='Ladeprofil 11kW keine Sperre', rfid_enabling=False, valid_tags=[])
2023-03-08 18:08:41,018 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[34, 34, 34], max_total_power=23000), get=Get(powers=[2496, 2506, 2685], currents=[10.85, 10.9, 11.67], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50, daily_exported=66.242414532, daily_imported=9702.59991382775, imported=83335.98421853871, exported=729343.4393863154, fault_state=0, fault_str='Kein Fehler.', power=7687), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=22257.7, raw_currents_left=[32.58, 32.62, 31.869999999999997], surplus_power_left=0, state_str=''))
2023-03-08 18:08:41,018 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'inverter', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=742.3000000000002, invalid_home_consumption=0, daily_yield_home_consumption=8921.21149929575))
2023-03-08 18:08:41,019 - {control.data:334} - {INFO: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-03-08 18:08:41,019 - {control.data:334} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil Arbeit', disable_after_unplug=False, prio=True, load_default=False, time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=16, min_current=6, feed_in_limit=True, min_soc=40, max_soc=80), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, True, False, False]), current=14, name='Arbeit Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=85, soc_scheduled=80), time='05:15')}), instant_charging=InstantCharging(current=11, limit=Limit(selected='amount', amount=30000, soc=35))))
2023-03-08 18:08:41,021 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Enyaq iV80', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=82, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=3, prio=True, 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='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-03-08 18:08:41,023 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=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-03-08 18:08:41,025 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='Enyaq iV80', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=82, nominal_difference=2)
2023-03-08 18:08:41,026 - {control.data:314} - {INFO: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=5, phases_to_use=0, rundown_power=1000, rundown_soc=30, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=100, switch_on_delay=30, switch_on_soc=50, 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=3), unbalanced_load_limit=16, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=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.55, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-08 18:08:41,027 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-08 18:08:41,027 - {control.data:316} - {INFO: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-03-08 18:08:41,029 - {control.data:334} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=15000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=11821.181, monthly_exported=0, yearly_exported=0, exported=690639.894, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-03-08 18:08:41,029 - {control.data:334} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=15000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=12169.213, monthly_exported=0, yearly_exported=0, exported=699321.451, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-03-08 18:08:41,030 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=23990.394, monthly_exported=0, yearly_exported=0, exported=1389961.345, power=0))
2023-03-08 18:08:41,030 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.156', 'current_commit': '2023-03-03 14:51:54 +0100 [34739c9a]', 'current_branch': 'master', 'current_branch_commit': '2023-03-03 14:51:54 +0100 [34739c9a]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1678295311, 'time': '18:08:31', 'grid': 7.739, 'house-power': 0.788, 'charging-all': 6.951, 'pv-all': -0.0, 'cp4-power': 6.951, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'module_update_completed': True}
2023-03-08 18:08:41,030 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.1.59'}}
2023-03-08 18:08:41,030 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-08 18:08:41,031 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-03-08 18:08:41,031 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-03-08 18:08:41,031 - {control.data:349} - {INFO:MainThread} - component3
{'name': 'E3DC externer Wechselrichter', 'type': 'external_inverter', 'id': 3, 'configuration': {}}
2023-03-08 18:08:41,031 - {control.data:321} - {INFO:MainThread} - 

2023-03-08 18:08:41,032 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-08 18:08:41,032 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-08 18:08:41,037 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-08 18:08:41,041 - {control.counter:190} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-03-08 18:08:41,042 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-03-08 18:08:41,042 - {control.algorithm.algorithm:45} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-03-08 18:08:41,043 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-08 18:08:41,047 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-08 18:08:41,056 - {urllib3.connectionpool:227} - {DEBUG:cp4} - Starting new HTTP connection (1): 192.168.1.56:80
2023-03-08 18:08:41,071 - {urllib3.connectionpool:452} - {DEBUG:cp4} - http://192.168.1.56:80 "POST /connect.php HTTP/1.1" 200 19
2023-03-08 18:08:41,073 - {modules.common.req:11} - {DEBUG:cp4} - Get-Response: OK Value:0 accepted
2023-03-08 18:08:41,075 - {control.counter:178} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-08 18:08:41,350 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-08 18:08:50,418 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-08 18:08:50,419 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-08 18:08:50,478 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['E3DC Zähler', 'E3DC Speicher', 'E3DC Wechselrichter', 'E3DC externer Wechselrichter']
2023-03-08 18:08:50,480 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-08 18:08:50,487 - {urllib3.connectionpool:227} - {DEBUG:cp4} - Starting new HTTP connection (1): 192.168.1.56:80
2023-03-08 18:08:50,489 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Zähler']
2023-03-08 18:08:50,489 - {modules.devices.e3dc.counter:22} - {DEBUG:device0} - Beginning EVU update
2023-03-08 18:08:50,497 - {modules.devices.e3dc.counter:30} - {DEBUG:device0} - meters: [1, 179, 194, 384, 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-03-08 18:08:50,498 - {modules.devices.e3dc.counter:36} - {DEBUG:device0} - e3dc no farm detected
2023-03-08 18:08:50,498 - {modules.devices.e3dc.counter:38} - {DEBUG:device0} - power: 757, powers [179, 194, 384]
2023-03-08 18:08:50,498 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1678295320.6800365, power=7687, imported=83335.98421853871, exported=729343.4393863154)
2023-03-08 18:08:50,499 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00272748, power1: 7687, power2: 757
2023-03-08 18:08:50,499 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 11.5154
2023-03-08 18:08:50,499 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 11.5154 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1678295330.4989486, power=757, imported=83347.49962036859, exported=729343.4393863154)
2023-03-08 18:08:50,501 - {urllib3.connectionpool:452} - {DEBUG:cp4} - http://192.168.1.56:80 "GET /connect.php HTTP/1.1" 200 341
2023-03-08 18:08:50,501 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[230.0, 230.0, 230.0], powers=[179, 194, 384], currents=[0.7782608695652173, 0.8434782608695652, 1.6695652173913043], power_factors=[0.0, 0.0, 0.0], imported=83347.49962036859, exported=729343.4393863154, power=757, frequency=50)
2023-03-08 18:08:50,503 - {modules.common.req:11} - {DEBUG:cp4} - Get-Response: {"date":"2023:03:08-17:08:50","timestamp":1678295330,"powers":[85.2,0,0],"power_all":0,"currents":[0.12,0,0],"imported":2630789,"exported":1282,"plug_state":true,"charge_state":false,"phases_actual":0,"phases_target":3,"phases_in_use":3,"offered_current":0,"evse_signaling":"basic iec61851","v2g_ready":0,"vehicle_id":"--","serial":"575747"}
2023-03-08 18:08:50,504 - {modules.devices.e3dc.counter:61} - {DEBUG:device0} - Update completed successfully
2023-03-08 18:08:50,509 - {modules.common.store._api:26} - {DEBUG:cp4} - Raw data ChargepointState(voltages=[0.0, 0.0, 0.0], currents=[0.12, 0, 0], power_factors=[0.0, 0.0, 0.0], imported=2630789, exported=1282, power=0, phases_in_use=3, charge_state=False, plug_state=True, rfid=--)
2023-03-08 18:08:50,511 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Speicher']
2023-03-08 18:08:50,531 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1678295320.7032945, power=0, imported=279738.0756270727, exported=250645.05264673024)
2023-03-08 18:08:50,532 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00273008, power1: 0, power2: 0
2023-03-08 18:08:50,532 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-03-08 18:08:50,532 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1678295330.5315893, power=0, imported=279738.0756270727, exported=250645.05264673024)
2023-03-08 18:08:50,533 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=279738.0756270727, exported=250645.05264673024, power=0, soc=0)
2023-03-08 18:08:50,536 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC Wechselrichter']
2023-03-08 18:08:50,547 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1678295320.7124727, power=0, imported=0.0, exported=690639.8943461055)
2023-03-08 18:08:50,547 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00273191, power1: 0, power2: 0
2023-03-08 18:08:50,548 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-03-08 18:08:50,548 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1678295330.547343, power=0, imported=0.0, exported=690639.8943461055)
2023-03-08 18:08:50,549 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=690639.8943461055, dc_power=None)
2023-03-08 18:08:50,550 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['E3DC externer Wechselrichter']
2023-03-08 18:08:50,561 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1678295320.7755, power=0, imported=0.0, exported=699321.4507714184)
2023-03-08 18:08:50,561 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00271827, power1: 0, power2: 0
2023-03-08 18:08:50,562 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-03-08 18:08:50,562 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1678295330.5612571, power=0, imported=0.0, exported=699321.4507714184)
2023-03-08 18:08:50,565 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=699321.4507714184, dc_power=None)
2023-03-08 18:08:50,571 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['E3DC Speicher']
2023-03-08 18:08:50,572 - {modules.common.store._api:30} - {INFO:component1} - Saving BatState(imported=279738.0756270727, exported=250645.05264673024, power=0, soc=0)
2023-03-08 18:08:50,575 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['E3DC Wechselrichter']
2023-03-08 18:08:50,578 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=690639.8943461055, dc_power=None)
2023-03-08 18:08:50,578 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=690639.8943461055, dc_power=None)
2023-03-08 18:08:50,581 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['E3DC externer Wechselrichter']
2023-03-08 18:08:50,582 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=699321.4507714184, dc_power=None)
2023-03-08 18:08:50,584 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=699321.4507714184, dc_power=None)
2023-03-08 18:08:50,587 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-08 18:08:50,589 - {modules.common.store._api:30} - {INFO:cp4} - Saving ChargepointState(voltages=[0.0, 0.0, 0.0], currents=[0.12, 0, 0], power_factors=[0.0, 0.0, 0.0], imported=2630789, exported=1282, power=0, phases_in_use=3, charge_state=False, plug_state=True, rfid=--)
2023-03-08 18:08:50,677 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['E3DC Zähler']
2023-03-08 18:08:50,677 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[230.0, 230.0, 230.0], powers=[179, 194, 384], currents=[0.7782608695652173, 0.8434782608695652, 1.6695652173913043], power_factors=[0.0, 0.0, 0.0], imported=83347.49962036859, exported=729343.4393863154, power=757, frequency=50)
2023-03-08 18:08:50,780 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 0W
2023-03-08 18:08:50,780 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (200W) subtrahieren: -200
2023-03-08 18:08:50,780 - {control.bat_all:149} - {INFO:MainThread} - -200W verbliebende Speicher-Leistung
2023-03-08 18:08:50,782 - {control.counter:131} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [32.34, 32.16, 31.33]A
2023-03-08 18:08:50,790 - {control.counter:153} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 22243W
2023-03-08 18:08:50,791 - {control.chargepoint:816} - {DEBUG:MainThread} - SoC nach Anstecken
2023-03-08 18:08:50,792 - {modules.common.component_context:24} - {DEBUG:MainThread} - Update Komponente ['Ladepunkt']
2023-03-08 18:08:50,793 - {modules.chargepoints.openwb_pro.chargepoint_module:89} - {DEBUG:MainThread} - Die openWB-Pro unterstützt keine RFID-Tags.
2023-03-08 18:08:50,798 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: RFID ist nicht aktiviert.
2023-03-08 18:08:50,805 - {control.chargepoint:921} - {DEBUG:MainThread} - SoC nach EV-Wechsel
2023-03-08 18:08:50,806 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-08 18:08:50,806 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-03-08 18:08:50,808 - {control.ev:366} - {DEBUG:MainThread} - Änderung des Lademodus
2023-03-08 18:08:50,811 - {control.chargepoint:868} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 11A, Lademodus instant_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: True, max. Ist-Strom: 0.12
2023-03-08 18:08:50,814 - {control.data:334} - {INFO:MainThread} - bat1
BatData(get=Get(soc=0, daily_exported=11147.26, daily_imported=11259.8, imported=279738.08, exported=250645.05, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-03-08 18:08:50,816 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=0, daily_exported=11147.26, daily_imported=11259.8, imported=279738.08, exported=250645.05, power=0), set=Set(charging_power_left=-200, switch_on_soc_reached=False))
2023-03-08 18:08:50,816 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=24593, daily_exported=0, power=0, imported=2630789, exported=1282))
2023-03-08 18:08:50,817 - {control.data:334} - {INFO:MainThread} - cp4
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, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[0.12, 0, 0], daily_imported=24593, daily_exported=0, exported=1282, fault_str='Kein Fehler.', fault_state=0, imported=2630789, phases_in_use=3, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str='RFID ist nicht aktiviert.', voltages=[0.0, 0.0, 0.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, 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=3, plug_state_prev=False, plug_time='03/08/2023, 18:08:50', required_power=7590, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x72b795b0>), config=Config(connection_module={'type': 'openwb_pro', 'name': 'openWB Pro', 'configuration': {'ip_address': '192.168.1.56'}}, power_module={}, ev=0, name='Garage', type='openwb_pro', template=1, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-08 18:08:50,817 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-03-08 18:08:50,818 - {control.data:334} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=16, name='Ladeprofil 11kW keine Sperre', rfid_enabling=False, valid_tags=[])
2023-03-08 18:08:50,819 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[34, 34, 34], max_total_power=23000), get=Get(powers=[179, 194, 384], currents=[0.78, 0.84, 1.67], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50, daily_exported=66.242414532, daily_imported=9702.59991382775, imported=83347.49962036859, exported=729343.4393863154, fault_state=0, fault_str='Kein Fehler.', power=757), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=22243, raw_currents_left=[32.34, 32.16, 31.33], surplus_power_left=0, state_str=''))
2023-03-08 18:08:50,819 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'bat', 'children': []}, {'id': 2, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'inverter', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=757, invalid_home_consumption=0, daily_yield_home_consumption=8921.21149929575))
2023-03-08 18:08:50,820 - {control.data:334} - {INFO: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-03-08 18:08:50,820 - {control.data:334} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil Arbeit', disable_after_unplug=False, prio=True, load_default=False, time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=16, min_current=6, feed_in_limit=True, min_soc=40, max_soc=80), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, True, False, False]), current=14, name='Arbeit Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=85, soc_scheduled=80), time='05:15')}), instant_charging=InstantCharging(current=11, limit=Limit(selected='amount', amount=30000, soc=35))))
2023-03-08 18:08:50,820 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Enyaq iV80', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=82, nominal_difference=2), et_num=1), soc_error_counter=0), control_parameter=ControlParameter(required_current=11, required_currents=[11, 11, 11], phases=3, prio=True, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=1, ev_template=1, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-03-08 18:08:50,823 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=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-03-08 18:08:50,827 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='Enyaq iV80', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=82, nominal_difference=2)
2023-03-08 18:08:50,828 - {control.data:314} - {INFO: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=5, phases_to_use=0, rundown_power=1000, rundown_soc=30, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=100, switch_on_delay=30, switch_on_soc=50, 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=3), unbalanced_load_limit=16, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=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.55, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-08 18:08:50,828 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-08 18:08:50,828 - {control.data:316} - {INFO: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-03-08 18:08:50,829 - {control.data:334} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=15000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=11821.181, monthly_exported=0, yearly_exported=0, exported=690639.894, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-03-08 18:08:50,829 - {control.data:334} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=15000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=12169.213, monthly_exported=0, yearly_exported=0, exported=699321.451, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-03-08 18:08:50,829 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=23990.394, monthly_exported=0, yearly_exported=0, exported=1389961.345, power=0))
2023-03-08 18:08:50,830 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.156', 'current_commit': '2023-03-03 14:51:54 +0100 [34739c9a]', 'current_branch': 'master', 'current_branch_commit': '2023-03-03 14:51:54 +0100 [34739c9a]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1678295321, 'time': '18:08:41', 'grid': 7.687, 'house-power': 0.742, 'charging-all': 6.945, 'pv-all': -0.0, 'cp4-power': 6.945, 'bat-all-power': 0.0, 'bat-all-soc': 0}, 'module_update_completed': True}
2023-03-08 18:08:50,832 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'E3DC', 'type': 'e3dc', 'id': 0, 'configuration': {'address': '192.168.1.59'}}
2023-03-08 18:08:50,836 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'E3DC Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-08 18:08:50,837 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'E3DC Speicher', 'type': 'bat', 'id': 1, 'configuration': {}}
2023-03-08 18:08:50,837 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'E3DC Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {}}
2023-03-08 18:08:50,837 - {control.data:349} - {INFO:MainThread} - component3
{'name': 'E3DC externer Wechselrichter', 'type': 'external_inverter', 'id': 3, 'configuration': {}}
2023-03-08 18:08:50,837 - {control.data:321} - {INFO:MainThread} - 

2023-03-08 18:08:50,838 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-08 18:08:50,838 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-08 18:08:50,840 - {control.algorithm.min_current:19} - {INFO:MainThread} - Mode-Tuple (<Chargemode.INSTANT_CHARGING: 'instant_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, True), Zähler 0
2023-03-08 18:08:50,841 - {control.counter:161} - {DEBUG:MainThread} - Zähler 0: [26.340000000000003, 26.159999999999997, 25.33]A verbleibende Ströme, 18103W verbleibende Leistung
2023-03-08 18:08:50,841 - {control.algorithm.common:87} - {INFO:MainThread} - LP4: Stromstärke 6A
2023-03-08 18:08:50,844 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-08 18:08:50,847 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [4]
2023-03-08 18:08:50,848 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple (<Chargemode.INSTANT_CHARGING: 'instant_charging'>, <Chargemode.INSTANT_CHARGING: 'instant_charging'>, True), Zähler 0
2023-03-08 18:08:50,849 - {control.counter:161} - {DEBUG:MainThread} - Zähler 0: [21.340000000000003, 21.159999999999997, 20.33]A verbleibende Ströme, 14653W verbleibende Leistung
2023-03-08 18:08:50,849 - {control.algorithm.common:87} - {INFO:MainThread} - LP4: Stromstärke 11A
2023-03-08 18:08:50,851 - {control.counter:190} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-03-08 18:08:50,851 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-03-08 18:08:50,851 - {control.algorithm.algorithm:45} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-03-08 18:08:50,852 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-08 18:08:50,854 - {control.chargelog:37} - {DEBUG:MainThread} - imported_at_plugtime 2630789
2023-03-08 18:08:50,855 - {control.chargelog:42} - {DEBUG:MainThread} - imported_at_mode_switch 2630789
2023-03-08 18:08:50,858 - {control.cp_interruption:29} - {DEBUG:MainThread} - Thread zur CP-Unterbrechung an LP4 gestartet.
2023-03-08 18:08:50,861 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Control-Pilot-Unterbrechung für 4s.
2023-03-08 18:08:50,862 - {control.process:106} - {INFO:MainThread} - LP4: set current 11 A
2023-03-08 18:08:50,864 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-08 18:08:50,868 - {urllib3.connectionpool:227} - {DEBUG:cp4} - Starting new HTTP connection (1): 192.168.1.56:80
2023-03-08 18:08:50,883 - {urllib3.connectionpool:452} - {DEBUG:cp4} - http://192.168.1.56:80 "POST /connect.php HTTP/1.1" 200 20
2023-03-08 18:08:50,884 - {modules.common.req:11} - {DEBUG:cp4} - Get-Response: OK Value:11 accepted
2023-03-08 18:08:50,887 - {control.counter:178} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-08 18:08:51,141 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-08 18:09:00,222 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-08 18:09:00,223 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-08 18:09:00,277 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['E3DC Zähler', 'E3DC Speicher', 'E3DC Wechselrichter', 'E3DC externer Wechselrichter'] 


Der zweite Punkt ist die Anzeigekonfiguration des Live-Graphen. Wenn man sich hier Kennlinien ausblendet bleibt das auch alles soweit eingestellt. Man kann minutenlang scrollen, Sachen auf- und zuklappen etc., aber sobald ich einmal den Tab auch nur 1sec wechsle (nicht schließe, in dem Fall aktuellster Firefox als auch Edge) und wieder auf die openWB zurückwechsle wird alles auf Defaulteinstellungen zurückgesetzt.
Dachte erst das wäre ggf. irgendeine Hibernate und Refresh Funktion für inaktive Tabs im Firefox falls es sowas gibt, aber es tritt im Edge genauso auf. Daher macht das also die openWB?

NACHTRAG:
Sofortladen war auf Energiemenge 30kWh eingestellt. Im Ladelog sind jedoch zwei Ladeeinträge enthalten obwohl das Fahrzeug dauerhaft angeschlossen war.
Haargenau zum Zeitpunkt des zweiten Peaks/Einbruch zu welchem ich auch die Logs angefügt hatte wurde die Ladung nach ~25kWh beendet und ein paar msec/sec später ein neuer Ladevorgang gestartet welcher nun jedoch nicht nach weiteren 5kWh gestoppt ist sondern nochmal ca. 15kWh geladen bis das Fahrzeug dann bei 80% gestoppt hat.
Daraus folgere ich, dass das Ladelimit hier zurückgesetzt wurde und neu beginnt und somit äußerst unschön ist. Beim ersten Peak/Einbruch hat es keine Eintragung im Ladelog erzeugt.
Zuletzt geändert von gbggbg am Mi Mär 08, 2023 9:09 pm, insgesamt 1-mal geändert.
gvz
Beiträge: 72
Registriert: So Sep 12, 2021 8:28 am
Wohnort: Grevenbroich

Re: Feedback Beta 2

Beitrag von gvz »

LenaK hat geschrieben: Mi Mär 08, 2023 10:52 am
gvz hat geschrieben: Sa Feb 25, 2023 8:24 pm ...

Code: Alles auswählen

2023-02-25 20:18:00,590 - {control.algorithm.algorithm:48} - {ERROR:MainThread} - Fehler im Algorithmus-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/algorithm/algorithm.py", line 33, in calc_current
    self.min_current.set_min_current()
  File "/var/www/html/openWB/packages/control/algorithm/min_current.py", line 24, in set_min_current
    available_currents, limit = Loadmanagement().get_available_currents(missing_currents, counter)
  File "/var/www/html/openWB/packages/control/loadmanagement.py", line 26, in get_available_currents
    available_currents, limit_power = self._limit_by_power(
  File "/var/www/html/openWB/packages/control/loadmanagement.py", line 81, in _limit_by_power
    currents[i] = available_currents[i] / sum(available_currents) * raw_power_left / 230
...
Sicher, dass es an der Maximalen Ausgangsleistung des Wechselrichters liegt? Hier funktioniert es und den Abschnitt, den Du gepostet hast, hat damit nichts zu tun.
Davon abgesehen, bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn der Fehler auftritt. Die Exception ist oben nämlich abgeschnitten.
Ich kann den Fehler nicht direkt nachstellen (Versuch: Maximale Leistung des WR wieder auf 0, sowohl einphasige PV-Laden wie auch mehrphasiges Sofortladen gestartet, keine Exception. Aktuellste SW von gestern (07.03.).
Überhaupt funktioniert im Moment alles so gut, bis auf die fehlende Sonne :-)
OpenWB S2 (Touchscreen, RFID, Zähler, 11kW), 10 kWp PV ohne Speicher, ID.3
Samoht
Beiträge: 79
Registriert: So Mai 29, 2022 9:53 pm

Re: Feedback Beta 2

Beitrag von Samoht »

Gibt es ein Problem mit den Phasen oder der Phasenumschaltung bei Sofortladen?
Bei mir ist 2023-03-03 14:51:54 +0100 [34739c9a] installiert.

Ich habe an zwei Stellen die Einstellungen gemacht, siehe Screens. Er lädt aber nur 1phasig mit der 2.0er. Wo habe ich etwas übersehen?
Bildschirm­foto 2023-03-09 um 16.05.31.png
Bildschirm­foto 2023-03-09 um 16.04.13.png
Bildschirm­foto 2023-03-09 um 16.04.02.png
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: Feedback Beta 2

Beitrag von LenaK »

Samoht hat geschrieben: Do Mär 09, 2023 3:06 pm Gibt es ein Problem mit den Phasen oder der Phasenumschaltung bei Sofortladen?
Bei mir ist 2023-03-03 14:51:54 +0100 [34739c9a] installiert.

Ich habe an zwei Stellen die Einstellungen gemacht, siehe Screens. Er lädt aber nur 1phasig mit der 2.0er. Wo habe ich etwas übersehen?

Bildschirm­foto 2023-03-09 um 16.05.31.png

Bildschirm­foto 2023-03-09 um 16.04.13.png

Bildschirm­foto 2023-03-09 um 16.04.02.png
Phasenumschaltung im Fahrzeug-Profil aktiviert?

Phasenumschaltung überarbeite ich aktuell.
Gesperrt