Seite 1 von 7

Rückmeldungen 2.1.6 Beta 1

Verfasst: Do Okt 24, 2024 1:09 pm
von LenaK
Die Ankündigung findet Ihr hier: https://forum.openwb.de/viewtopic.php?t=9475

Mit Problemen bei Inbetriebnahme / Anschluss oder Hardwareproblemen mit openWB-Hardware bitte direkt über die Support-Funktion unter System -> Support an openWB wenden (Notfalls auch per Mail an support@openwb.de).
Im Forum kann durchaus mal etwas untergehen. Das führt zu Frust und soll nicht sein.

Bitte keine Mehrfach-Meldung per Mail, Support-Ticket und Forum.
Das spart auf unserer Seite Supportzeit und bringt erfahrungsgemäß keine Beschleunigung des Vorgangs.


Bitte bei Problemen immer einen Logauszug posten:
  • Dazu unter System->Fehlersuche das Debuglevel auf Details stellen und mindestens zwei komplette Durchläufe von # ***Start*** bis # ***Start*** aus dem Main-Log kopieren, während das Problem auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
    Alternativ das Log hier: https://paste.openwb.de/ hochladen und den Link im Thread posten. Die Logs werden dort automatisch nach 90 Tagen gelöscht. Bitte keine gezippten Logfiles hochladen!
  • Logauszüge bitte als Codeblock posten (Schaltfläche "</>" über dem Editor-Fenster).
  • Bei Problemen mit dem internen Ladepunkt zusätzlich einen Auszug aus dem Log des internen Ladepunkts, bei Problemen mit dem Soc aus dem Soc-Log posten.
  • Bei Problemen mit dem UI/Darstellung bitte ein Theme verwenden, das von openWB gepflegt wird (wird bei der Themeauswahl angezeigt).
  • Bei Peaks in den Diagrammen bitte ein Main-Log im Level Details zum fraglichen Zeitpunkt und das Tageslog aus http://<ip der openWB>/openWB/data/daily_log/<JJJJMMDD>.json von dem Tag, an dem Peak aufgetreten ist.
Screenshots ersetzen keinen Logauszug!
Für Beiträge wie "Funktion XY geht nicht mehr! Woran kann das liegen?" ohne Logs gibt es von uns keine Hilfestellung.

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Do Okt 24, 2024 2:09 pm
von Ihaglc
zum neuen Master 2024-10-24 13:49:07 +0200 [a12993069]
Der Pytonfehler in dem Nachrichtenfenster erscheint nicht mehr

Zum Problem 3phasiges Laden wird zuvor 1phasig gestartet:
Das Problem besteht weiterhin im
https://paste.openwb.de/ODjDhXyi7H8Or1Q

Vorzeichenfehler bei Sigenergy Batterie

Verfasst: Do Okt 24, 2024 2:15 pm
von cjungde
Ich habe mir die Sigenergy Daten etwas genauer angesehen und einen Vorzeichenfehler entdeckt:
In der Datei: packages/modules/devices/sigenergy/bat.py in Zeile 26 steht:

Code: Alles auswählen

power = client.read_holding_registers(30037, ModbusDataType.INT_32, unit=unit) * -1
Das "* -1" ist nicht notwendig, die Daten kommen richtig vom System.
Im Screenshot sieht man den Tag an dem ich es in meinem Code geändert habe: bis ca 13 Uhr ist die Nutzung der Batterie als positiver Wert dargestellt und das Laden geht in den negativen Bereich
Sigenergy.jpg
(221.21 KiB) Noch nie heruntergeladen
im Bild heute ist es richtig:
Sigenergy-2.jpg
(227.93 KiB) Noch nie heruntergeladen

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Do Okt 24, 2024 2:29 pm
von Elchkopp
Bei mir wurde die Ladung vermeintlich mitten im Ladevorgang beendet (für mich ohne ersichtlichen Grund).

So ca. 15:08 Uhr:
Screenshot 2024-10-24 162208.png
(121.1 KiB) Noch nie heruntergeladen

Log-Auszug von dem Zeitraum:
https://paste.openwb.de/qdE9yZH4V8Chu44


Und ob die Ladung nun ruhiger verläuft, das vermag ich nicht wirklich zu beurteilen. Für mein Empfinden nicht - aber das in der Hinsicht sehr auffällige Fahrzeug (Tesla) war bisher noch nicht wieder angeschlossen.

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Do Okt 24, 2024 3:27 pm
von Frank-H
PV-Laden mit Speicherbeachtung:
Screenshot 2024-10-24 171754.png
(31.77 KiB) Noch nie heruntergeladen
Wenn der PV-Überschuss unter 6 A geht, startet der Abschalttimer (2:30) und zählt auf 0 runter. Danach schaltet die Ladung jedoch nicht ab, sondern geht bei unverändert niedrigem PV-Ertrag weiter aus der Batterie und beginnt erneut, herunterzuzählen. Irgendwann, wenn die PV-Energie unter dem Hausverbrauch ist, wird tatsächlich abgeschaltet.

Das Ganze sieht grafisch dann so aus, wobei ich zum Ende manuell auf Stop geschaltet habe, sonst wäre das weitergelaufen:
Screenshot 2024-10-24 172556.png
Screenshot 2024-10-24 172556.png (21.05 KiB) 789 mal betrachtet
Hier mal ein etwas längeres Log dazu:

https://paste.openwb.de/kDoMYAR1d8MI6iL

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Fr Okt 25, 2024 8:33 am
von LenaK
Ihaglc hat geschrieben: Do Okt 24, 2024 2:09 pm zum neuen Master 2024-10-24 13:49:07 +0200 [a12993069]
Der Pytonfehler in dem Nachrichtenfenster erscheint nicht mehr

Zum Problem 3phasiges Laden wird zuvor 1phasig gestartet:
Das Problem besteht weiterhin im
https://paste.openwb.de/ODjDhXyi7H8Or1Q
PR https://github.com/openWB/core/pull/1974 kommt in nächster Version, da potenzielle Nebeneffekte auftreten können: Manche Autos brauchen nach Ladestart sehr lange, bis sie mit 3 Phasen laden, dann darf nicht vorher nochmal umgeschaltet werden. Es wird nun nach Ladestart in den Zustand WAIT_FOR_USING_PHASES gegangen und die Mindestzeit zwischen Umschaltungen abgewartet.

Das Verhalten wird dadurch verursacht, dass dein Auto mehrere Zyklen einphasig lädt, bis es auf drei Phasen umschaltet.

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Fr Okt 25, 2024 10:00 am
von LenaK
Elchkopp hat geschrieben: Do Okt 24, 2024 2:29 pm Bei mir wurde die Ladung vermeintlich mitten im Ladevorgang beendet (für mich ohne ersichtlichen Grund).

So ca. 15:08 Uhr:
Screenshot 2024-10-24 162208.png


Log-Auszug von dem Zeitraum:
https://paste.openwb.de/qdE9yZH4V8Chu44


Und ob die Ladung nun ruhiger verläuft, das vermag ich nicht wirklich zu beurteilen. Für mein Empfinden nicht - aber das in der Hinsicht sehr auffällige Fahrzeug (Tesla) war bisher noch nicht wieder angeschlossen.
Das ist die Anwort der Pro auf den HTTP-Request:

Code: Alles auswählen

2024-10-24 15:08:50,619 - {modules.common.req:32} - {DEBUG:set values cp3} - Get-Response: {"date":"2024:10:24-15:08:50","timestamp":1729775330,"powers":[0,0,0],"power_all":0,"currents":[0,0,0],"voltages":[235.92,235.85,235.66],"frequency":50,"imported":4079021,"exported":1865,"plug_state":true,"charge_state":true,"phases_actual":1,"phases_target":1,"phases_in_use":1,"offered_current":13.5,"evse_signaling":"basic+fake_highlevel_dc","v2g_ready":0,"soc_value":19,"soc_timestamp":1729772026,"vehicle_id":"00:7D:FA:07:92:E8","rfid_tag":null,"rfid_timestamp":null,"serial":"668549"}
offered_current ist der Strom, den die EVSE der Pro freigegeben hat. Bis zum Abstecken war der nicht 0A.

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Fr Okt 25, 2024 11:24 am
von Elchkopp
LenaK hat geschrieben: Fr Okt 25, 2024 10:00 am Das ist die Anwort der Pro auf den HTTP-Request:

Code: Alles auswählen

2024-10-24 15:08:50,619 - {modules.common.req:32} - {DEBUG:set values cp3} - Get-Response: {"date":"2024:10:24-15:08:50","timestamp":1729775330,"powers":[0,0,0],"power_all":0,"currents":[0,0,0],"voltages":[235.92,235.85,235.66],"frequency":50,"imported":4079021,"exported":1865,"plug_state":true,"charge_state":true,"phases_actual":1,"phases_target":1,"phases_in_use":1,"offered_current":13.5,"evse_signaling":"basic+fake_highlevel_dc","v2g_ready":0,"soc_value":19,"soc_timestamp":1729772026,"vehicle_id":"00:7D:FA:07:92:E8","rfid_tag":null,"rfid_timestamp":null,"serial":"668549"}
offered_current ist der Strom, den die EVSE der Pro freigegeben hat. Bis zum Abstecken war der nicht 0A.
Also Auto.… mein letztes Auto mit VW-ID-Technik :evil:

Danke für die Rückmeldung!

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Fr Okt 25, 2024 2:23 pm
von Mailoh
Ich habe nun einmal die aktuellste Version aufgespielt.
Die unruhige Ladung bei vollem Überschuss sieht nun sehr gut aus, konnte nun auch die empfohlenen Einstellungen von 17A auf 16A zurücknehmen.
Was nur sehr auffällig ist, dass die Ladung bei zu wenig Überschuss und aktuell 1kW erlaubte Akkuentladung extrem wild wird.
Log hänge ich an, die Seite für ein längeres Logprotokoll öffnet sich bei mir nicht. :?
Während der gesamten Zeit war niemand zu Hause.
Bildschirmfoto 2024-10-25 um 15.54.58.png
(178.21 KiB) Noch nie heruntergeladen

Code: Alles auswählen

024-10-25 14:52:00,454 - {root:69} - {INFO:MainThread} - # ***Start*** 
2024-10-25 14:52:00,455 - {root:70} - {DEBUG:MainThread} - Threads: [<_MainThread(MainThread, started 1992481152)>, <Thread(Thread-1, started daemon 1967490112)>, <Thread(Internal Chargepoint, started 1953735744)>, <Thread(Subdata, started 1878266944)>, <Thread(Setdata, started 1868559424)>, <Thread(Commands, started 1858073664)>, <Thread(SoC, started 1847587904)>, <Thread(Internal Chargepoint, started 1837102144)>, <Thread(Modbus Control Server, started 1826616384)>, <Thread(ChargepointStateUpdate cp 30, started 1818223680)>, <Thread(smarthome, started 1784652864)>]
2024-10-25 14:52:00,534 - {modules.common.component_context:58} - {DEBUG:device14} - Update Komponenten ['Huawei Zähler', 'Huawei Master Wechselrichter', ' Huawei Luna', 'Huawei Slave Wechselrichter']
2024-10-25 14:52:00,539 - {modules.common.component_context:26} - {DEBUG:set values cp30} - Update Komponente ['Ladepunkt']
2024-10-25 14:52:00,576 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente ['Huawei Zähler']
2024-10-25 14:52:00,611 - {modules.common.simcount._simcount:42} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1729860710.5628238, power=79, imported=1789032.1584708155, exported=15498004.036942437)
2024-10-25 14:52:00,614 - {modules.common.simcount._calculate:11} - {DEBUG:device14} - time passed: 0.00279129, power1: 79, power2: -12
2024-10-25 14:52:00,616 - {modules.common.simcount._calculate:24} - {DEBUG:device14} - power changed sign. Total energy: 0.0935082, exported energy: -0.00220849
2024-10-25 14:52:00,619 - {modules.common.simcount._simcount:65} - {DEBUG:device14} - imported: 0.0957167 Wh, exported: 0.00220849 Wh, new state: SimCounterState(timestamp=1729860720.6114628, power=-12, imported=1789032.2541874766, exported=15498004.03915093)
2024-10-25 14:52:00,622 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data CounterState(currents=[-0.18, 0.16, -0.16], powers=[-0.003, 0.017, -0.026], voltages=[237.8, 237.3, 238.2], power_factors=[0.0, 0.0, 0.0], imported=1789032.2541874766, exported=15498004.03915093, power=-12, frequency=50)
2024-10-25 14:52:00,634 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente ['Huawei Master Wechselrichter']
2024-10-25 14:52:00,675 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4784, exported=16134720, dc_power=None)
2024-10-25 14:52:00,690 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente [' Huawei Luna']
2024-10-25 14:52:00,712 - {modules.common.simcount._simcount:42} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1729860710.6033514, power=-1361, imported=2176323.2794915983, exported=1581297.4085580388)
2024-10-25 14:52:00,713 - {modules.common.simcount._calculate:11} - {DEBUG:device14} - time passed: 0.00280807, power1: -1361, power2: -706
2024-10-25 14:52:00,713 - {modules.common.simcount._calculate:27} - {DEBUG:device14} - power did not change sign. Total energy: -2.90214
2024-10-25 14:52:00,714 - {modules.common.simcount._simcount:65} - {DEBUG:device14} - imported: 0 Wh, exported: 2.90214 Wh, new state: SimCounterState(timestamp=1729860720.712419, power=-706, imported=2176323.2794915983, exported=1581300.3107028848)
2024-10-25 14:52:00,715 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data BatState(imported=2176323.2794915983, exported=1581300.3107028848, power=-706, soc=95.0)
2024-10-25 14:52:00,724 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente ['Huawei Slave Wechselrichter']
2024-10-25 14:52:00,741 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4794, exported=19141140, dc_power=None)
2024-10-25 14:52:00,749 - {modules.common.component_context:26} - {DEBUG:component33} - Update Komponente [' Huawei Luna']
2024-10-25 14:52:00,763 - {modules.common.store._api:31} - {INFO:component33} - Saving BatState(imported=2176323.2794915983, exported=1581300.3107028848, power=-706, soc=95.0)
2024-10-25 14:52:00,975 - {modules.common.component_context:26} - {DEBUG:component32} - Update Komponente ['Huawei Master Wechselrichter']
2024-10-25 14:52:00,976 - {modules.common.store._api:26} - {DEBUG:component32} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4078, exported=16729742.969999999, dc_power=None)
2024-10-25 14:52:00,977 - {modules.common.store._api:31} - {INFO:component32} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4078, exported=16729742.969999999, dc_power=None)
2024-10-25 14:52:00,984 - {modules.common.component_context:26} - {DEBUG:component35} - Update Komponente ['Huawei Slave Wechselrichter']
2024-10-25 14:52:00,985 - {modules.common.store._api:26} - {DEBUG:component35} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4794, exported=19141140, dc_power=None)
2024-10-25 14:52:00,986 - {modules.common.store._api:31} - {INFO:component35} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4794, exported=19141140, dc_power=None)
2024-10-25 14:52:00,992 - {modules.common.component_context:26} - {DEBUG:update values cp30} - Update Komponente ['Ladepunkt']
2024-10-25 14:52:01,044 - {modules.common.component_context:26} - {DEBUG:component31} - Update Komponente ['Huawei Zähler']
2024-10-25 14:52:01,044 - {modules.common.store._api:31} - {INFO:component31} - Saving CounterState(currents=[-0.18, 0.16, -0.16], powers=[-0.003, 0.017, -0.026], voltages=[237.8, 237.3, 238.2], power_factors=[0.0, 0.0, 0.0], imported=1789032.2541874766, exported=15498004.03915093, power=-12, frequency=50)
2024-10-25 14:52:01,188 - {control.counter:159} - {INFO:MainThread} - Verbleibende Ströme an Zähler 31: [63.3, 63.05, 63.370000000000005]A
2024-10-25 14:52:01,189 - {control.counter:186} - {INFO:MainThread} - Verbleibende Leistung an Zähler 31: 43383.12W
2024-10-25 14:52:01,191 - {control.chargepoint.chargepoint:549} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-10-25 14:52:01,192 - {control.chargepoint.chargepoint:532} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-10-25 14:52:01,199 - {control.chargepoint.chargepoint:707} - {INFO:MainThread} - LP 30, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 3, Priorität: True, max. Ist-Strom: 13.21
2024-10-25 14:52:01,201 - {control.bat_all:320} - {DEBUG:MainThread} - Speicher-Leistung nicht begrenzen, da keine Ladepunkte in einem Lademodus mit Netzbezug sind.
2024-10-25 14:52:01,202 - {control.bat_all:260} - {DEBUG:MainThread} - Erlaubte Entlade-Leistung nutzen 294W
2024-10-25 14:52:01,205 - {control.bat_all:200} - {INFO:MainThread} - 294W verbleibende Speicher-Leistung
2024-10-25 14:52:01,209 - {modules.common.simcount._simcount:42} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1729860710.9681957, power=270.39999999999964, imported=4888951.3021837445, exported=0)
2024-10-25 14:52:01,210 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00284467, power1: 270.4, power2: 194.88
2024-10-25 14:52:01,212 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.661783
2024-10-25 14:52:01,213 - {modules.common.simcount._simcount:65} - {DEBUG:MainThread} - imported: 0.661783 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1729860721.2089965, power=194.8799999999992, imported=4888951.963967053, exported=0)
2024-10-25 14:52:01,217 - {control.data:266} - {INFO:MainThread} - bat33
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=95, daily_exported=3922.0, daily_imported=9404.0, imported=2176323.28, exported=1581300.31, fault_state=0, fault_str='Kein Fehler.', power=-706, power_limit_controllable=False), set=Set(power_limit=0))
2024-10-25 14:52:01,219 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True, power_limit_mode='no_limit'), get=Get(power_limit_controllable=False, soc=95, daily_exported=3922.0, daily_imported=9404.0, fault_str='Kein Fehler.', fault_state=0, imported=2176323.28, exported=1581300.31, power=-706), set=Set(charging_power_left=294, power_limit=None, regulate_up=False))
2024-10-25 14:52:01,220 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=27893.0, daily_exported=0.0, power=9371.12, imported=1957604.98, exported=0))
2024-10-25 14:52:01,221 - {control.data:266} - {INFO:MainThread} - cp30
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', min_current=6, phases=3, prio=True, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_charge_start=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, charging_current=0, charging_power=0, charging_voltage=0, 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=58.0), currents=[13.12, 13.21, 13.21], daily_imported=27893.0, daily_exported=0.0, error_timestamp=None, evse_current=1335, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1957604.98, phases_in_use=3, plug_state=True, power=9371.12, rfid_timestamp=None, rfid=None, serial_number='230785944', soc=None, soc_timestamp=None, state_str=None, vehicle_id=None, voltages=[237.43, 237.15, 238.08]), set=Set(charging_ev=0, charging_ev_prev=0, current=13.35, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=6.7425, imported_at_mode_switch=1929350.95, imported_at_plugtime=1929350.95, imported_since_mode_switch=28224.0, imported_since_plugged=28224.0, range_charged=166.0235294117647, time_charged='2:34', timestamp_start_charging=1729851440.691161, ev=0, prio=True, rfid=None, serial_number=None, soc_at_start=23.0, soc_at_end=None, range_at_start=110.32, range_at_end=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1729851400.455067, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed6e6a0>, ocpp_transaction_id=None), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=False, id=30, ocpp_chargebox_id=None))
2024-10-25 14:52:01,222 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), charging_type='AC', id=0, max_current_multi_phases=16, max_current_single_phase=16, dc_max_current=435, name='Standard Ladepunkt-Vorlage', disable_after_unplug=False, valid_tags=[])
2024-10-25 14:52:01,224 - {control.data:266} - {INFO:MainThread} - counter31
CounterData(config=Config(max_power_errorcase=7000, max_currents=[50, 50, 50], max_total_power=34000), get=Get(powers=[-0.0, 0.02, -0.03], currents=[-0.18, 0.16, -0.16], voltages=[237.8, 237.3, 238.2], power_factors=[0.0, 0.0, 0.0], frequency=50, daily_exported=8606.0, daily_imported=400.0, imported=1789032.2541874766, exported=15498004.03915093, fault_state=0, fault_str='Kein Fehler.', power=-12), set=Set(error_timer=None, reserved_surplus=0, released_surplus=0, raw_power_left=43383.12, raw_currents_left=[63.3, 63.05, 63.370000000000005], surplus_power_left=0))
2024-10-25 14:52:01,225 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(home_consumption_source_id=None, consider_less_charging=False), get=Get(hierarchy=[{'id': 31, 'type': 'counter', 'children': [{'id': 32, 'type': 'inverter', 'children': [{'id': 33, 'type': 'bat', 'children': []}]}, {'id': 35, 'type': 'inverter', 'children': []}, {'id': 30, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=194.8799999999992, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=7369.0, imported_home_consumption=4888951.963967053, disengageable_smarthome_power=0))
2024-10-25 14:52:01,226 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', prio=True, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(dc_min_current=145, dc_min_soc_current=145, 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=16, dc_current=145, limit=Limit(selected='none', amount=3000, soc=70))))
2024-10-25 14:52:01,227 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=58.0, soc_timestamp=1729860471.503388, force_soc_update=False, range=279.59, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:01,232 - {control.data:266} - {INFO:MainThread} - ev16
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:01,233 - {control.data:266} - {INFO:MainThread} - ev17
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:01,234 - {control.data:266} - {INFO:MainThread} - ev29
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:01,235 - {control.data:266} - {INFO:MainThread} - ev30
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:01,236 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(dc_min_current=0, dc_max_current=0, name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=16, battery_capacity=78000, efficiency=95, nominal_difference=1, keep_charge_active_duration=40)
2024-10-25 14:52:01,238 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), phase_switch_delay=5, pv_charging=PvCharging(bat_power_reserve=500, bat_power_reserve_active=False, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, bat_power_discharge=1000, bat_power_discharge_active=True, min_bat_soc=50, bat_mode='min_soc_bat_mode', switch_off_delay=60, switch_off_threshold=50, switch_on_delay=10, switch_on_threshold=1500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0, phases_to_use_pv=0), 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=None, http_api=False, mqtt_bridge=False, prices=Prices(bat=0.00035999999999999997, cp=0, grid=0.00035999999999999997, pv=0.00035999999999999997), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, override_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-10-25 14:52:01,239 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-10-25 14:52:01,239 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-10-25 14:52:01,241 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=90, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6ed8de38>), led=Led(active=False), rfid=Rfid(active=False), dc_charging=False, ocpp=Ocpp(active=False, url=None, version='ocpp1.6'))
2024-10-25 14:52:01,241 - {control.data:266} - {INFO:MainThread} - pv32
PvData(config=Config(max_ac_out=11000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=27081.0, monthly_exported=588818.25, yearly_exported=9800004.98, exported=16729742.97, fault_state=0, fault_str='Kein Fehler.', power=-4078))
2024-10-25 14:52:01,242 - {control.data:266} - {INFO:MainThread} - pv35
PvData(config=Config(max_ac_out=11000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=24040.0, monthly_exported=611000, yearly_exported=10993390, exported=19141140, fault_state=0, fault_str='Kein Fehler.', power=-4794))
2024-10-25 14:52:01,244 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=51121.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=1199818.25, yearly_exported=20793394.98, exported=35870882.97, power=-8872))
2024-10-25 14:52:01,245 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'backup_cloud': {'backup_before_update': True}, 'ip_address': '192.168.77.14', 'current_commit': '2024-10-24 14:34:49 +0200 [66c6ee4af]', 'current_branch': 'master', 'current_branch_commit': '2024-10-24 14:34:49 +0200 [66c6ee4af]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 65, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.6-Beta.1', 'lastlivevaluesJson': {'timestamp': 1729860711, 'time': '14:51:51', 'grid': 0.079, 'house-power': 0.27, 'charging-all': 10.075, 'pv-all': 8.905, 'cp30-power': 10.075, 'ev0-soc': 58.0, 'bat-all-power': -1.361, 'bat-all-soc': 95}, 'installAssistantDone': True, 'serial_number': None, 'module_update_completed': True}
2024-10-25 14:52:01,246 - {control.data:279} - {INFO:MainThread} - device14
{'name': 'Huawei_Smartlogger', 'type': 'huawei_smartlogger', 'vendor': 'huawei', 'id': 14, 'configuration': {'ip_address': '192.168.77.36', 'port': 502}}
2024-10-25 14:52:01,247 - {control.data:281} - {INFO:MainThread} - component31
{'name': 'Huawei Zähler', 'info': {'manufacturer': None, 'model': None}, 'type': 'counter', 'id': 31, 'configuration': {'modbus_id': 11}}
2024-10-25 14:52:01,248 - {control.data:281} - {INFO:MainThread} - component32
{'name': 'Huawei Master Wechselrichter', 'info': {'manufacturer': None, 'model': None}, 'type': 'inverter', 'id': 32, 'configuration': {'modbus_id': 16}}
2024-10-25 14:52:01,249 - {control.data:281} - {INFO:MainThread} - component33
{'name': ' Huawei Luna', 'info': {'manufacturer': None, 'model': None}, 'type': 'bat', 'id': 33, 'configuration': {'modbus_id': 16}}
2024-10-25 14:52:01,251 - {control.data:281} - {INFO:MainThread} - component35
{'name': 'Huawei Slave Wechselrichter', 'info': {'manufacturer': None, 'model': None}, 'type': 'inverter', 'id': 35, 'configuration': {'modbus_id': 1}}
2024-10-25 14:52:01,253 - {control.data:253} - {INFO:MainThread} - 

2024-10-25 14:52:01,254 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-10-25 14:52:01,255 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 30: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-10-25 14:52:01,257 - {control.chargepoint.chargepoint:549} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-10-25 14:52:01,258 - {control.ev:500} - {DEBUG:MainThread} - Genutzter Strom: 13.21A, Überschuss: 306W, benötigte neue Leistung: 0W
2024-10-25 14:52:01,260 - {control.ev:523} - {DEBUG:MainThread} - Keine Phasenumschaltung, da ausreichend Überschuss für mehrphasiges Laden zur Verfügung steht.
2024-10-25 14:52:01,262 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-10-25 14:52:01,266 - {control.algorithm.min_current:21} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - True, Zähler 31
2024-10-25 14:52:01,267 - {control.counter:197} - {DEBUG:MainThread} - Zähler 31: [57.3, 57.05, 57.370000000000005]A verbleibende Ströme, 39243.12W verbleibende Leistung
2024-10-25 14:52:01,268 - {control.algorithm.common:80} - {INFO:MainThread} - LP30: Stromstärke 6A
2024-10-25 14:52:01,271 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Soll-Strom setzen**
2024-10-25 14:52:01,273 - {control.counter:253} - {DEBUG:MainThread} - Anpassen des Regelbereichs 0W
2024-10-25 14:52:01,275 - {control.counter:518} - {DEBUG:MainThread} - Zähler 31: Begrenzung der verbleibenden Leistung auf 5537.120000000003W
2024-10-25 14:52:01,276 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-10-25 14:52:01,279 - {control.algorithm.filter_chargepoints:102} - {DEBUG:MainThread} - Geordnete Ladepunkte [30]
2024-10-25 14:52:01,281 - {control.algorithm.surplus_controlled:48} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - True, Zähler 31
2024-10-25 14:52:01,282 - {control.loadmanagement:82} - {DEBUG:MainThread} - Leistungsüberschreitung auf 5537.120000000003W korrigieren: [10.0, 10.0, 10.0]
2024-10-25 14:52:01,285 - {control.counter:204} - {DEBUG:MainThread} - Zähler 31: [49.949999999999996, 49.699999999999996, 50.02]A verbleibende Ströme, 465.62000000000353W verbleibender Überschuss
2024-10-25 14:52:01,288 - {control.algorithm.common:80} - {INFO:MainThread} - LP30: Stromstärke 13.35A
2024-10-25 14:52:01,290 - {control.process:26} - {INFO:MainThread} - # Ladung starten.
2024-10-25 14:52:01,294 - {control.process:109} - {INFO:MainThread} - LP30: set current 13.35 A, state CHARGING_ALLOWED
2024-10-25 14:52:01,304 - {modules.common.component_context:26} - {DEBUG:set current cp30} - Update Komponente ['Ladepunkt']
2024-10-25 14:52:01,677 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 1581300.31, vorherige Payload: 1581297.41
2024-10-25 14:52:01,678 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -706, vorherige Payload: -1361
2024-10-25 14:52:01,683 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/set/charging_power_left, Payload 294, vorherige Payload: -361
2024-10-25 14:52:01,692 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/power, Payload 9371.12, vorherige Payload: 10074.6
2024-10-25 14:52:01,695 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/imported, Payload 1957604.98, vorherige Payload: 1957574.95
2024-10-25 14:52:01,698 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/home_consumption, Payload 194.8799999999992, vorherige Payload: 270.39999999999964
2024-10-25 14:52:01,706 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/imported_home_consumption, Payload 4888951.963967053, vorherige Payload: 4888951.3021837445
2024-10-25 14:52:04,418 - {modules.update_soc:106} - {DEBUG:SoC} - cp.num 30 cp.data.get Get(charge_state=True, charging_current=0, charging_power=0, charging_voltage=0, 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=58.0), currents=[13.12, 13.21, 13.21], daily_imported=27893.0, daily_exported=0.0, error_timestamp=None, evse_current=1335, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1957604.98, phases_in_use=3, plug_state=True, power=9371.12, rfid_timestamp=None, rfid=None, serial_number='230785944', soc=None, soc_timestamp=None, state_str="Ladevorgang wurde gestartet... (bei Problemen: Prüfe bitte zuerst in den Einstellungen 'Ladeeinstellungen' und 'Konfiguration'.)", vehicle_id=None, voltages=[237.43, 237.15, 238.08])
2024-10-25 14:52:04,419 - {modules.update_soc:107} - {DEBUG:SoC} - 1 soc_from_cp: None, timestamp_soc_from_cp: None
2024-10-25 14:52:05,720 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-10-25 14:52:10,737 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-10-25 14:52:10,738 - {helpermodules.utils._thread_handler:40} - {ERROR:MainThread} - Thread smarthome ist bereits aktiv und wird nicht erneut gestartet.
2024-10-25 14:52:10,738 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-10-25 14:52:10,739 - {root:69} - {INFO:MainThread} - # ***Start*** 
2024-10-25 14:52:10,739 - {root:70} - {DEBUG:MainThread} - Threads: [<_MainThread(MainThread, started 1992481152)>, <Thread(Thread-1, started daemon 1967490112)>, <Thread(Internal Chargepoint, started 1953735744)>, <Thread(Subdata, started 1878266944)>, <Thread(Setdata, started 1868559424)>, <Thread(Commands, started 1858073664)>, <Thread(SoC, started 1847587904)>, <Thread(Internal Chargepoint, started 1837102144)>, <Thread(Modbus Control Server, started 1826616384)>, <Thread(ChargepointStateUpdate cp 30, started 1818223680)>, <Thread(smarthome, started 1784652864)>]
2024-10-25 14:52:10,775 - {modules.common.component_context:58} - {DEBUG:device14} - Update Komponenten ['Huawei Zähler', 'Huawei Master Wechselrichter', ' Huawei Luna', 'Huawei Slave Wechselrichter']
2024-10-25 14:52:10,777 - {modules.common.component_context:26} - {DEBUG:set values cp30} - Update Komponente ['Ladepunkt']
2024-10-25 14:52:10,783 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente ['Huawei Zähler']
2024-10-25 14:52:10,810 - {modules.common.simcount._simcount:42} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1729860720.6114628, power=-12, imported=1789032.2541874766, exported=15498004.03915093)
2024-10-25 14:52:10,811 - {modules.common.simcount._calculate:11} - {DEBUG:device14} - time passed: 0.00283298, power1: -12, power2: 17
2024-10-25 14:52:10,812 - {modules.common.simcount._calculate:24} - {DEBUG:device14} - power changed sign. Total energy: 0.00708244, exported energy: -0.0070336
2024-10-25 14:52:10,813 - {modules.common.simcount._simcount:65} - {DEBUG:device14} - imported: 0.014116 Wh, exported: 0.0070336 Wh, new state: SimCounterState(timestamp=1729860730.8101811, power=17, imported=1789032.2683035186, exported=15498004.046184529)
2024-10-25 14:52:10,814 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data CounterState(currents=[0.17, 0.14, -0.14], powers=[0.007, 0.029, -0.019], voltages=[237.3, 237.8, 238.3], power_factors=[0.0, 0.0, 0.0], imported=1789032.2683035186, exported=15498004.046184529, power=17, frequency=50)
2024-10-25 14:52:10,816 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente ['Huawei Master Wechselrichter']
2024-10-25 14:52:10,835 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4744, exported=16134730, dc_power=None)
2024-10-25 14:52:10,848 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente [' Huawei Luna']
2024-10-25 14:52:10,877 - {modules.common.simcount._simcount:42} - {DEBUG:device14} - Previous state: SimCounterState(timestamp=1729860720.712419, power=-706, imported=2176323.2794915983, exported=1581300.3107028848)
2024-10-25 14:52:10,883 - {modules.common.simcount._calculate:11} - {DEBUG:device14} - time passed: 0.00282359, power1: -706, power2: -666
2024-10-25 14:52:10,885 - {modules.common.simcount._calculate:27} - {DEBUG:device14} - power did not change sign. Total energy: -1.93698
2024-10-25 14:52:10,885 - {modules.common.simcount._simcount:65} - {DEBUG:device14} - imported: 0 Wh, exported: 1.93698 Wh, new state: SimCounterState(timestamp=1729860730.8773496, power=-666, imported=2176323.2794915983, exported=1581302.247686879)
2024-10-25 14:52:10,887 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data BatState(imported=2176323.2794915983, exported=1581302.247686879, power=-666, soc=95.0)
2024-10-25 14:52:10,890 - {modules.common.component_context:26} - {DEBUG:device14} - Update Komponente ['Huawei Slave Wechselrichter']
2024-10-25 14:52:10,903 - {modules.common.store._api:26} - {DEBUG:device14} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4791, exported=19141160, dc_power=None)
2024-10-25 14:52:10,906 - {modules.common.component_context:26} - {DEBUG:component33} - Update Komponente [' Huawei Luna']
2024-10-25 14:52:10,907 - {modules.common.store._api:31} - {INFO:component33} - Saving BatState(imported=2176323.2794915983, exported=1581302.247686879, power=-666, soc=95.0)
2024-10-25 14:52:10,949 - {modules.common.component_context:26} - {DEBUG:component32} - Update Komponente ['Huawei Master Wechselrichter']
2024-10-25 14:52:10,950 - {modules.common.store._api:26} - {DEBUG:component32} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4078, exported=16729751.03, dc_power=None)
2024-10-25 14:52:10,952 - {modules.common.store._api:31} - {INFO:component32} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4078, exported=16729751.03, dc_power=None)
2024-10-25 14:52:10,953 - {modules.common.component_context:26} - {DEBUG:component35} - Update Komponente ['Huawei Slave Wechselrichter']
2024-10-25 14:52:10,955 - {modules.common.component_context:26} - {DEBUG:update values cp30} - Update Komponente ['Ladepunkt']
2024-10-25 14:52:10,958 - {modules.common.store._api:26} - {DEBUG:component35} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4791, exported=19141160, dc_power=None)
2024-10-25 14:52:10,967 - {modules.common.store._api:31} - {INFO:component35} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4791, exported=19141160, dc_power=None)
2024-10-25 14:52:11,008 - {modules.common.component_context:26} - {DEBUG:component31} - Update Komponente ['Huawei Zähler']
2024-10-25 14:52:11,009 - {modules.common.store._api:31} - {INFO:component31} - Saving CounterState(currents=[0.17, 0.14, -0.14], powers=[0.007, 0.029, -0.019], voltages=[237.3, 237.8, 238.3], power_factors=[0.0, 0.0, 0.0], imported=1789032.2683035186, exported=15498004.046184529, power=17, frequency=50)
2024-10-25 14:52:11,185 - {control.counter:159} - {INFO:MainThread} - Verbleibende Ströme an Zähler 31: [62.93, 63.1, 63.32]A
2024-10-25 14:52:11,185 - {control.counter:186} - {INFO:MainThread} - Verbleibende Leistung an Zähler 31: 43347.65W
2024-10-25 14:52:11,202 - {control.chargepoint.chargepoint:549} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-10-25 14:52:11,203 - {control.chargepoint.chargepoint:532} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-10-25 14:52:11,206 - {control.chargepoint.chargepoint:707} - {INFO:MainThread} - LP 30, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 3, Priorität: True, max. Ist-Strom: 13.24
2024-10-25 14:52:11,208 - {control.bat_all:320} - {DEBUG:MainThread} - Speicher-Leistung nicht begrenzen, da keine Ladepunkte in einem Lademodus mit Netzbezug sind.
2024-10-25 14:52:11,209 - {control.bat_all:260} - {DEBUG:MainThread} - Erlaubte Entlade-Leistung nutzen 334W
2024-10-25 14:52:11,210 - {control.bat_all:200} - {INFO:MainThread} - 334W verbleibende Speicher-Leistung
2024-10-25 14:52:11,213 - {modules.common.simcount._simcount:42} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1729860721.2089965, power=194.8799999999992, imported=4888951.963967053, exported=0)
2024-10-25 14:52:11,215 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00277896, power1: 194.88, power2: 187.35
2024-10-25 14:52:11,223 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.531101
2024-10-25 14:52:11,228 - {modules.common.simcount._simcount:65} - {DEBUG:MainThread} - imported: 0.531101 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1729860731.2132454, power=187.35000000000036, imported=4888952.495067614, exported=0)
2024-10-25 14:52:11,231 - {control.data:266} - {INFO:MainThread} - bat33
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=95, daily_exported=3922.0, daily_imported=9404.0, imported=2176323.28, exported=1581302.25, fault_state=0, fault_str='Kein Fehler.', power=-666, power_limit_controllable=False), set=Set(power_limit=0))
2024-10-25 14:52:11,232 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True, power_limit_mode='no_limit'), get=Get(power_limit_controllable=False, soc=95, daily_exported=3922.0, daily_imported=9404.0, fault_str='Kein Fehler.', fault_state=0, imported=2176323.28, exported=1581302.25, power=-666), set=Set(charging_power_left=334, power_limit=None, regulate_up=False))
2024-10-25 14:52:11,233 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=27893.0, daily_exported=0.0, power=9364.65, imported=1957629.03, exported=0))
2024-10-25 14:52:11,236 - {control.data:266} - {INFO:MainThread} - cp30
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', min_current=6, phases=3, prio=True, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_charge_start=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, charging_current=0, charging_power=0, charging_voltage=0, 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=58.0), currents=[13.1, 13.24, 13.18], daily_imported=27893.0, daily_exported=0.0, error_timestamp=None, evse_current=1335, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1957629.03, phases_in_use=3, plug_state=True, power=9364.65, rfid_timestamp=None, rfid=None, serial_number='230785944', soc=None, soc_timestamp=None, state_str=None, vehicle_id=None, voltages=[236.9, 237.53, 237.97]), set=Set(charging_ev=0, charging_ev_prev=0, current=13.35, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=6.7425, imported_at_mode_switch=1929350.95, imported_at_plugtime=1929350.95, imported_since_mode_switch=28254.030000000028, imported_since_plugged=28254.030000000028, range_charged=166.2001764705884, time_charged='2:34', timestamp_start_charging=1729851440.691161, ev=0, prio=True, rfid=None, serial_number=None, soc_at_start=23.0, soc_at_end=None, range_at_start=110.32, range_at_end=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1729851400.455067, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed6f718>, ocpp_transaction_id=None), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=False, id=30, ocpp_chargebox_id=None))
2024-10-25 14:52:11,240 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), charging_type='AC', id=0, max_current_multi_phases=16, max_current_single_phase=16, dc_max_current=435, name='Standard Ladepunkt-Vorlage', disable_after_unplug=False, valid_tags=[])
2024-10-25 14:52:11,241 - {control.data:266} - {INFO:MainThread} - counter31
CounterData(config=Config(max_power_errorcase=7000, max_currents=[50, 50, 50], max_total_power=34000), get=Get(powers=[0.01, 0.03, -0.02], currents=[0.17, 0.14, -0.14], voltages=[237.3, 237.8, 238.3], power_factors=[0.0, 0.0, 0.0], frequency=50, daily_exported=8606.0, daily_imported=400.0, imported=1789032.2683035186, exported=15498004.046184529, fault_state=0, fault_str='Kein Fehler.', power=17), set=Set(error_timer=None, reserved_surplus=0, released_surplus=0, raw_power_left=43347.65, raw_currents_left=[62.93, 63.1, 63.32], surplus_power_left=0))
2024-10-25 14:52:11,242 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(home_consumption_source_id=None, consider_less_charging=False), get=Get(hierarchy=[{'id': 31, 'type': 'counter', 'children': [{'id': 32, 'type': 'inverter', 'children': [{'id': 33, 'type': 'bat', 'children': []}]}, {'id': 35, 'type': 'inverter', 'children': []}, {'id': 30, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=187.35000000000036, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=7369.0, imported_home_consumption=4888952.495067614, disengageable_smarthome_power=0))
2024-10-25 14:52:11,245 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', prio=True, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(dc_min_current=145, dc_min_soc_current=145, 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=16, dc_current=145, limit=Limit(selected='none', amount=3000, soc=70))))
2024-10-25 14:52:11,248 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=58.0, soc_timestamp=1729860471.503388, force_soc_update=False, range=279.59, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:11,250 - {control.data:266} - {INFO:MainThread} - ev16
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:11,256 - {control.data:266} - {INFO:MainThread} - ev17
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:11,257 - {control.data:266} - {INFO:MainThread} - ev29
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:11,259 - {control.data:266} - {INFO:MainThread} - ev30
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-10-25 14:52:11,269 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(dc_min_current=0, dc_max_current=0, name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=16, battery_capacity=78000, efficiency=95, nominal_difference=1, keep_charge_active_duration=40)
2024-10-25 14:52:11,270 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), phase_switch_delay=5, pv_charging=PvCharging(bat_power_reserve=500, bat_power_reserve_active=False, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, bat_power_discharge=1000, bat_power_discharge_active=True, min_bat_soc=50, bat_mode='min_soc_bat_mode', switch_off_delay=60, switch_off_threshold=50, switch_on_delay=10, switch_on_threshold=1500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0, phases_to_use_pv=0), 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=None, http_api=False, mqtt_bridge=False, prices=Prices(bat=0.00035999999999999997, cp=0, grid=0.00035999999999999997, pv=0.00035999999999999997), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, override_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-10-25 14:52:11,272 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-10-25 14:52:11,274 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-10-25 14:52:11,275 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=90, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6edca700>), led=Led(active=False), rfid=Rfid(active=False), dc_charging=False, ocpp=Ocpp(active=False, url=None, version='ocpp1.6'))
2024-10-25 14:52:11,276 - {control.data:266} - {INFO:MainThread} - pv32
PvData(config=Config(max_ac_out=11000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=27081.0, monthly_exported=588818.25, yearly_exported=9800004.98, exported=16729751.03, fault_state=0, fault_str='Kein Fehler.', power=-4078))
2024-10-25 14:52:11,277 - {control.data:266} - {INFO:MainThread} - pv35
PvData(config=Config(max_ac_out=11000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=24040.0, monthly_exported=611000, yearly_exported=10993390, exported=19141160, fault_state=0, fault_str='Kein Fehler.', power=-4791))
2024-10-25 14:52:11,278 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=51121.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=1199818.25, yearly_exported=20793394.98, exported=35870911.03, power=-8869))
2024-10-25 14:52:11,279 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'backup_cloud': {'backup_before_update': True}, 'ip_address': '192.168.77.14', 'current_commit': '2024-10-24 14:34:49 +0200 [66c6ee4af]', 'current_branch': 'master', 'current_branch_commit': '2024-10-24 14:34:49 +0200 [66c6ee4af]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 65, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.6-Beta.1', 'lastlivevaluesJson': {'timestamp': 1729860721, 'time': '14:52:01', 'grid': -0.012, 'house-power': 0.195, 'charging-all': 9.371, 'pv-all': 8.872, 'cp30-power': 9.371, 'ev0-soc': 58.0, 'bat-all-power': -0.706, 'bat-all-soc': 95}, 'installAssistantDone': True, 'serial_number': None, 'module_update_completed': True}
2024-10-25 14:52:11,281 - {control.data:279} - {INFO:MainThread} - device14
{'name': 'Huawei_Smartlogger', 'type': 'huawei_smartlogger', 'vendor': 'huawei', 'id': 14, 'configuration': {'ip_address': '192.168.77.36', 'port': 502}}
2024-10-25 14:52:11,282 - {control.data:281} - {INFO:MainThread} - component31
{'name': 'Huawei Zähler', 'info': {'manufacturer': None, 'model': None}, 'type': 'counter', 'id': 31, 'configuration': {'modbus_id': 11}}
2024-10-25 14:52:11,283 - {control.data:281} - {INFO:MainThread} - component32
{'name': 'Huawei Master Wechselrichter', 'info': {'manufacturer': None, 'model': None}, 'type': 'inverter', 'id': 32, 'configuration': {'modbus_id': 16}}
2024-10-25 14:52:11,284 - {control.data:281} - {INFO:MainThread} - component33
{'name': ' Huawei Luna', 'info': {'manufacturer': None, 'model': None}, 'type': 'bat', 'id': 33, 'configuration': {'modbus_id': 16}}
2024-10-25 14:52:11,285 - {control.data:281} - {INFO:MainThread} - component35
{'name': 'Huawei Slave Wechselrichter', 'info': {'manufacturer': None, 'model': None}, 'type': 'inverter', 'id': 35, 'configuration': {'modbus_id': 1}}
2024-10-25 14:52:11,286 - {control.data:253} - {INFO:MainThread} - 

2024-10-25 14:52:11,287 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-10-25 14:52:11,288 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 30: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-10-25 14:52:11,288 - {control.chargepoint.chargepoint:549} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-10-25 14:52:11,289 - {control.ev:500} - {DEBUG:MainThread} - Genutzter Strom: 13.24A, Überschuss: 317W, benötigte neue Leistung: 0W
2024-10-25 14:52:11,290 - {control.ev:523} - {DEBUG:MainThread} - Keine Phasenumschaltung, da ausreichend Überschuss für mehrphasiges Laden zur Verfügung steht.
2024-10-25 14:52:11,291 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-10-25 14:52:11,294 - {control.algorithm.min_current:21} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - True, Zähler 31
2024-10-25 14:52:11,295 - {control.counter:197} - {DEBUG:MainThread} - Zähler 31: [56.93, 57.1, 57.32]A verbleibende Ströme, 39207.65W verbleibende Leistung
2024-10-25 14:52:11,296 - {control.algorithm.common:80} - {INFO:MainThread} - LP30: Stromstärke 6A
2024-10-25 14:52:11,297 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Soll-Strom setzen**
2024-10-25 14:52:11,299 - {control.counter:253} - {DEBUG:MainThread} - Anpassen des Regelbereichs -115.0W
2024-10-25 14:52:11,300 - {control.counter:518} - {DEBUG:MainThread} - Zähler 31: Begrenzung der verbleibenden Leistung auf 5426.6500000000015W
2024-10-25 14:52:11,300 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-10-25 14:52:11,302 - {control.algorithm.filter_chargepoints:102} - {DEBUG:MainThread} - Geordnete Ladepunkte [30]
2024-10-25 14:52:11,303 - {control.algorithm.surplus_controlled:48} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - True, Zähler 31
2024-10-25 14:52:11,303 - {control.loadmanagement:82} - {DEBUG:MainThread} - Leistungsüberschreitung auf 5426.6500000000015W korrigieren: [10.0, 10.0, 10.0]
2024-10-25 14:52:11,304 - {control.counter:204} - {DEBUG:MainThread} - Zähler 31: [49.065289855072464, 49.235289855072466, 49.455289855072465]A verbleibende Ströme, 0.0W verbleibender Überschuss
2024-10-25 14:52:11,305 - {control.algorithm.common:80} - {INFO:MainThread} - LP30: Stromstärke 13.864710144927539A
2024-10-25 14:52:11,305 - {control.algorithm.surplus_controlled:148} - {DEBUG:MainThread} - Ungenutzten Soll-Strom aufschlagen ergibt 13.974710144927537A.
2024-10-25 14:52:11,306 - {control.process:26} - {INFO:MainThread} - # Ladung starten.
2024-10-25 14:52:11,308 - {control.process:109} - {INFO:MainThread} - LP30: set current 13.97 A, state CHARGING_ALLOWED
2024-10-25 14:52:11,322 - {modules.common.component_context:26} - {DEBUG:set current cp30} - Update Komponente ['Ladepunkt']
2024-10-25 14:52:11,656 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 1581302.25, vorherige Payload: 1581300.31
2024-10-25 14:52:11,658 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -666, vorherige Payload: -706
2024-10-25 14:52:11,659 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/set/charging_power_left, Payload 334, vorherige Payload: 294
2024-10-25 14:52:11,661 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/power, Payload 9364.65, vorherige Payload: 9371.12
2024-10-25 14:52:11,662 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/imported, Payload 1957629.03, vorherige Payload: 1957604.98
2024-10-25 14:52:11,664 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/home_consumption, Payload 187.35000000000036, vorherige Payload: 194.8799999999992
2024-10-25 14:52:11,665 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/imported_home_consumption, Payload 4888952.495067614, vorherige Payload: 4888951.963967053
2024-10-25 14:52:14,439 - {modules.update_soc:106} - {DEBUG:SoC} - cp.num 30 cp.data.get Get(charge_state=True, charging_current=0, charging_power=0, charging_voltage=0, 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=58.0), currents=[13.06, 13.18, 13.17], daily_imported=27893.0, daily_exported=0.0, error_timestamp=None, evse_current=1335, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1957640.99, phases_in_use=3, plug_state=True, power=9341.59, rfid_timestamp=None, rfid=None, serial_number='230785944', soc=None, soc_timestamp=None, state_str="Ladevorgang wurde gestartet... (bei Problemen: Prüfe bitte zuerst in den Einstellungen 'Ladeeinstellungen' und 'Konfiguration'.)", vehicle_id=None, voltages=[236.95, 237.46, 238.06])
2024-10-25 14:52:14,440 - {modules.update_soc:107} - {DEBUG:SoC} - 1 soc_from_cp: None, timestamp_soc_from_cp: None
2024-10-25 14:52:15,679 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-10-25 14:52:20,694 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-10-25 14:52:20,696 - {helpermodules.utils._thread_handler:40} - {ERROR:MainThread} - Thread smarthome ist bereits aktiv und wird nicht erneut gestartet.
2024-10-25 14:52:20,700 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-10-25 14:52:20,701 - {root:69} - {INFO:MainThread} - # ***Start*** 
/code]

Re: Rückmeldungen 2.1.6 Beta 1

Verfasst: Fr Okt 25, 2024 7:05 pm
von raudi
Ich habe nun mal auf den Beta Zweig gewechselt und auf die 2024-10-24 15:06:31 +0200 [49aaf3f35] aktualisiert.

Leider habe ich nach wie vor das Problem mit dem auslesen des SoC mit der openWB Pro.

Während der Aktualisierung war nichts angesteckt, später dann habe ich dann den Enyaq gesteckt, wo ich "Manueller SoC" eingestellt und auch den Haken bei "SoC direkt aus Fahrzeug auslesen" gesetzt habe.

In der GUI wurde nach dem Update immer noch der letzte SoC von 95,84% angezeigt.

PKW wurde angesteckt und SoC leider wieder nicht aktualisiert, man sieht in der openWB an diversen Stellen dann diverse Werte:

Bild

Die connect.php der openWB Pro medet 32%:

Code: Alles auswählen

    "soc_value": 32,
    "soc_timestamp": 1729878366,
Gleiches meldet auch die openWB Standalone via MQTT im entsprechenden Log:

Code: Alles auswählen

2024-10-25 19:51:43,397 - Topic: openWB/chargepoint/6/get/soc, Payload: 32
2024-10-25 19:51:43,398 - Topic: openWB/chargepoint/6/get/soc_timestamp, Payload: 1729878366
An anderer Stelle steht dann jedoch noch der vorherige Wert:

Code: Alles auswählen

2024-10-25 19:51:43,759 - Topic: openWB/chargepoint/6/get/connected_vehicle/soc, Payload: {"fault_str": "Kein Fehler.", "fault_state": 0, "range_charged": 0, "range_unit": "km", "range": 0, "soc": 95.84, "timestamp": 1729878363.644827}
Auch im SoC Log steht an einer Stelle die 32%, meint aber dann kein Update notwendig:

Code: Alles auswählen

2024-10-25 19:46:03,647 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev2} - Vehicle Instance <class 'modules.vehicles.manual.config.ManualSoc'>
2024-10-25 19:46:03,653 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev2} - Calculated SoC-State CalculatedSocState(imported_start=539836, manual_soc=None, soc_start=[b]32[/b])
**2024-10-25 19:46:03,656 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev2} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=77000, efficiency=90, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-10-25 19:46:03,659 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev2} - General Config GeneralVehicleConfig(use_soc_from_cp=True, request_interval_charging=300, request_interval_not_charging=43200, request_only_plugged=True)
2024-10-25 19:46:03,660 - {modules.common.component_context:26} - {DEBUG:fetch soc_ev2} - Update Komponente ['Manueller SoC']
2024-10-25 19:46:03,661 - {modules.common.configurable_vehicle:64} - {DEBUG:fetch soc_ev2} - No soc update necessary.
Irritieren tut mich hier die oben mit ** markierte Zeile, plug_state=False und soc_from_cp=None, ob wohl er 3ms vorher den korrekten SoC geschrieben hat...

Und im Main-Log findet man an diversen Stellen diese Ausgaben:

Code: Alles auswählen

2024-10-25 19:49:54,852 - {modules.update_soc:106} - {DEBUG:SoC} - cp.num 6 cp.data.get Get(charge_state=False, charging_current=0, charging_power=0, charging_voltage=0, 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=95.84), currents=[0, 0, 0], daily_imported=486.0, daily_exported=0.0, error_timestamp=None, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=594514, phases_in_use=3, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='484042', soc=32, soc_timestamp=1729878366, state_str='Keine Ladung, da der maximale Soc bereits erreicht wurde.', vehicle_id='48:31:33:03:57:7F', voltages=[233.35, 235.88, 235.14])
2024-10-25 19:49:54,852 - {modules.update_soc:107} - {DEBUG:SoC} - 1 soc_from_cp: 32, timestamp_soc_from_cp: 1729878366
2024-10-25 19:49:55,820 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
Dort wird zum einen immer soc_from_cp: 32 geschrieben, aber in den Daten dann nach wie vor soc=95.84, wie ich über MQTT kommuniziert.

Hier das Main-Log bis zu diesem Zeitpunkt: https://paste.openwb.de/93h2AeyCViso3D9

Nun habe ich den PKW wieder gezogen und über MQTT den SoC auf "Null" gesetzt:

Code: Alles auswählen

mosquitto_pub -h 192.168.77.70 -t 'openWB/set/vehicle/2/get/soc' -m 0
Nach dem Stecken sah das dann so aus:

Bild

Und das entsprechende SoC Log dazu:

Code: Alles auswählen

2024-10-25 20:46:34,055 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev2} - Vehicle Instance <class 'modules.vehicles.manual.config.ManualSoc'>
2024-10-25 20:46:34,057 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev2} - Calculated SoC-State CalculatedSocState(imported_start=539836, manual_soc=None, soc_start=32)
2024-10-25 20:46:34,059 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev2} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=77000, efficiency=90, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-10-25 20:46:34,072 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev2} - General Config GeneralVehicleConfig(use_soc_from_cp=True, request_interval_charging=300, request_interval_not_charging=43200, request_only_plugged=True)
2024-10-25 20:46:34,075 - {modules.common.component_context:26} - {DEBUG:fetch soc_ev2} - Update Komponente ['Manueller SoC']
2024-10-25 20:46:34,092 - {modules.common.configurable_vehicle:64} - {DEBUG:fetch soc_ev2} - No soc update necessary.
2024-10-25 20:46:43,407 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev2} - Vehicle Instance <class 'modules.vehicles.manual.config.ManualSoc'>
2024-10-25 20:46:43,408 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev2} - Calculated SoC-State CalculatedSocState(imported_start=539836, manual_soc=None, soc_start=32)
2024-10-25 20:46:43,412 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev2} - Vehicle Update Data VehicleUpdateData(plug_state=True, charge_state=False, imported=594514, battery_capacity=77000, efficiency=90, soc_from_cp=32, timestamp_soc_from_cp=1729881988)
2024-10-25 20:46:43,413 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev2} - General Config GeneralVehicleConfig(use_soc_from_cp=True, request_interval_charging=300, request_interval_not_charging=43200, request_only_plugged=True)
2024-10-25 20:46:43,414 - {modules.common.component_context:26} - {DEBUG:fetch soc_ev2} - Update Komponente ['Manueller SoC']
2024-10-25 20:46:43,430 - {modules.common.configurable_vehicle:67} - {DEBUG:fetch soc_ev2} - Requested start soc from chargepoint: 32%
2024-10-25 20:46:43,431 - {modules.common.store._api:26} - {DEBUG:fetch soc_ev2} - Raw data CarState(soc=32, range=None, soc_timestamp=0)
2024-10-25 20:46:43,497 - {modules.common.store._api:31} - {INFO:store soc_ev2} - Saving CarState(soc=32, range=None, soc_timestamp=0)
Und hier noch das Main-Log vom 2. Teil des Tests: https://paste.openwb.de/vvXwnM7A4ooWPQL

Es ist leider immer noch so, dass der SoC beim anstecken nicht übernommen wird, wenn der in der openWB angezeigte SoC "höher" ist, als der SoC im PKW.

Ich hoffe, diese Informationen helfen um das Problem zu identifizieren.