Rückmeldungen 2.1.2 Beta 4

Fragen zur Nutzung, Features, usw..
MatzeL
Beiträge: 49
Registriert: Mi Mai 17, 2023 6:58 pm

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von MatzeL »

Hallo bereits mit dem Beta 3 ist mir aufgefallen, dass der SoC vom Fahrzeug immer wieder auf 0 gesetzt wird.

Bei einer Ladestandsänderung wird der neue SoC per MQTT übertragen und auch verwendet, jedoch kurze Zeit später mit 0 überschrieben.
PV Ladung 2.1.2 B4 SoC Bug.PNG
PV: Fronius Symo Speicher: Victron Auto: Skoda Enyaq mit ME3.6

openWB Pro + openWB Standalone mit Display
MatzeL
Beiträge: 49
Registriert: Mi Mai 17, 2023 6:58 pm

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von MatzeL »

Der Ladevorgang startet nicht, wenn die Sofortladen bei anstecken bereits ausgewählt ist.
PV: Fronius Symo Speicher: Victron Auto: Skoda Enyaq mit ME3.6

openWB Pro + openWB Standalone mit Display
Elchkopp
Beiträge: 579
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von Elchkopp »

MatzeL hat geschrieben: Do Nov 23, 2023 9:28 pm Der Ladevorgang startet nicht, wenn die Sofortladen bei anstecken bereits ausgewählt ist.
Startet die Walbox nicht oder nimmt das Auto die angebotene Leistung nicht an?
LenaK
Beiträge: 1125
Registriert: Fr Jan 22, 2021 6:40 am

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von LenaK »

MatzeL hat geschrieben: Do Nov 23, 2023 3:19 pm Hallo bereits mit dem Beta 3 ist mir aufgefallen, dass der SoC vom Fahrzeug immer wieder auf 0 gesetzt wird.

Bei einer Ladestandsänderung wird der neue SoC per MQTT übertragen und auch verwendet, jedoch kurze Zeit später mit 0 überschrieben.

PV Ladung 2.1.2 B4 SoC Bug.PNG
Mit welcher Version getestet? Das wurde zwischenzeitlich behoben.

Bitte das Debuglevel auf Details stellen und mindestens einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem Main-Log und SoC-Log unter System->Fehlersuche posten, wenn das Problem auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
ChristianM
Beiträge: 153
Registriert: Di Okt 22, 2019 9:42 am

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von ChristianM »

Ich hatte es schon bei der Beta 3 gemeldet: Regelmäßig zeigt er einen Fehler an:

Code: Alles auswählen

2023-11-24 09:32:03,561 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 12
2023-11-24 09:32:03,609 - {modules.common.fault_state:55} - {ERROR:Internal Chargepoint} - Ladepunkt 1: FaultState FaultStateLevel.ERROR, FaultStr modules.internal_chargepoint_handler.chargepoint_module <class 'modules.common.fault_state.FaultState'> ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 65, in get_values
    voltages = self.__client.meter_client.get_voltages()
  File "/var/www/html/openWB/packages/modules/common/sdm.py", line 43, in get_voltages
    return self.client.read_input_registers(0x00, [ModbusDataType.FLOAT_32]*3, unit=self.id)
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 143, in read_input_registers
    return self.__read_registers(self.delegate.read_input_registers, address, types, byteorder, wordorder, **kwargs)
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 242, in update
    state = self.module.get_values(phase_switch_cp_active, rfid_data.last_tag)[0]
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 125, in get_values
    raise FaultState.error(__name__ + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ('modules.internal_chargepoint_handler.chargepoint_module <class \'modules.common.fault_state.FaultState\'> ("modules.common.modbus <class \'modules.common.fault_state.FaultState\'> (\'modules.common.modbus Modbus Error: [Input/Output] No Response received from the remote unit/Unable to decode response\', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)', <FaultStateLevel.ERROR: 2>)
zut
Beiträge: 491
Registriert: Di Feb 23, 2021 9:34 pm

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von zut »

LenaK hat geschrieben: Fr Nov 24, 2023 8:34 am
MatzeL hat geschrieben: Do Nov 23, 2023 3:19 pm Hallo bereits mit dem Beta 3 ist mir aufgefallen, dass der SoC vom Fahrzeug immer wieder auf 0 gesetzt wird.

Bei einer Ladestandsänderung wird der neue SoC per MQTT übertragen und auch verwendet, jedoch kurze Zeit später mit 0 überschrieben.

PV Ladung 2.1.2 B4 SoC Bug.PNG
Mit welcher Version getestet? Das wurde zwischenzeitlich behoben.
Ich halte es für wahrscheinlich, dass das Verhalten das gleiche ist wie von mir (DerHerrW) hier https://github.com/openWB/core/issues/1 ... 1824949554 beschrieben. Ich bin noch auf Version 2023-11-21 12:36:53 +0100 [8009e5a8b], aber da sollte der fix schon drin sein?
LenaK
Beiträge: 1125
Registriert: Fr Jan 22, 2021 6:40 am

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von LenaK »

Nasdero hat geschrieben: Do Nov 23, 2023 6:32 am
LenaK hat geschrieben: Mi Nov 22, 2023 12:01 pm
Nasdero hat geschrieben: Mi Nov 22, 2023 8:36 am

Wenn er berechnet wird, dann erkenne ich das an den Nachkommastellen, oder? Nichts negatives aufgefallen, die Sonne scheint im Moment, beobachte ich und falls es nicht passt, bekommst du eine Rückmeldung in Beta 4.
Bitte nochmal mit dem aktuellen Master testen.
Der SOC passt grob, der berechnete war ca. 1,3% höher, geladen wurden bis dahin 12,49 kWh ~25%.
Die Spitzen sind weniger geworden. Ich hab das main.log und main.log1 gesichert.
Ich hatte um ca. 7:22Uhr das Laden am Corsa unterbrochen und hab mir auch den SOC am EV angeschaut.
20231123_Zielladen.jpg

2.1.2-Beta.4
2023-11-22 13:01:10 +0100 [a327c63a4]
Bitte nochmal mit dem Master testen. Es wird nicht sofort mit Maximalstrom geladen, wenn der Termin in Gefahr ist, sondern ein neuer Strom berechnet.
Mario78
Beiträge: 5
Registriert: Do Sep 21, 2023 7:50 am

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von Mario78 »

Unter "Einstellungen" - Optionale Hardware gibt es jetzt ja die Funktion "Display Standby".
Hier wurde der Wert "Immer an" neu hinzugefügt.

Allerdings ist bei mir diese Einstellung immer noch ohne Erfolg.
Display geht immer aus. Unabhängig davon ob ein Fahrzeug angesteckt ist oder nicht. Auch geht nach wie vor das Display nicht an, sobald ein Fahrzeug verbunden wird.

Aktuell verwende ich ein OpenWB Std+ als Master und eine 2. OpenWB Std+ als Slave.
AnDaL
Beiträge: 198
Registriert: Do Dez 23, 2021 1:11 pm

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von AnDaL »

Hallo,

habe eben festgestellt das meine SoC Wert auf "0" steht und dadurch mein Auto läd. Das ist nicht gut.
Dashboard.jpg
Fahrzeug Profil.jpg
Main.log

Code: Alles auswählen

2023-11-24 18:18:51,642 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 43 counter 3149740
2023-11-24 18:18:51,652 - {control.process:111} - {INFO:MainThread} - LP2: set current 10 A, state CHARGING_ALLOWED
2023-11-24 18:18:51,654 - {modules.common.component_context:24} - {DEBUG:set current cp2} - Update Komponente ['Ladepunkt']
2023-11-24 18:18:51,661 - {urllib3.connectionpool:227} - {DEBUG:set current cp2} - Starting new HTTP connection (1): 192.168.5.111:80
2023-11-24 18:18:51,678 - {urllib3.connectionpool:452} - {DEBUG:set current cp2} - http://192.168.5.111:80 "POST /connect.php HTTP/1.1" 200 20
2023-11-24 18:18:51,682 - {modules.common.req:11} - {DEBUG:set current cp2} - Get-Response: OK Value:10 accepted
2023-11-24 18:18:51,689 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-11-24 18:18:51,908 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-24 18:18:55,932 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-24 18:19:00,945 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-11-24 18:19:00,946 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-11-24 18:19:01,009 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['SMA Home Manager Zähler']
2023-11-24 18:19:01,010 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device1} - Start device reading {'component1': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x715e3370>}
2023-11-24 18:19:01,012 - {modules.common.component_context:24} - {DEBUG:set values cp2} - Update Komponente ['Ladepunkt']
2023-11-24 18:19:01,020 - {urllib3.connectionpool:227} - {DEBUG:set values cp2} - Starting new HTTP connection (1): 192.168.5.111:80
2023-11-24 18:19:01,022 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-11-24 18:19:01,053 - {urllib3.connectionpool:452} - {DEBUG:set values cp2} - http://192.168.5.111:80 "GET /connect.php HTTP/1.1" 200 497
2023-11-24 18:19:01,057 - {modules.common.req:11} - {DEBUG:set values cp2} - Get-Response: {"date":"2023:11:24-18:19:01","timestamp":1700846341,"powers":[1894.4,0,5.5],"power_all":1897,"currents":[9.304,0.035,0.04],"voltages":[224.5,229.49,229.63],"frequency":49.98,"imported":3149745,"exported":2659,"plug_state":true,"charge_state":true,"phases_actual":1,"phases_target":1,"phases_in_use":1,"offered_current":10,"evse_signaling":"unclear\n","v2g_ready":0,"soc_value":24,"soc_timestamp":1700827315,"vehicle_id":"E0:0E:E1:02:56:45","rfid_tag":null,"rfid_timestamp":null,"serial":"386723"}
2023-11-24 18:19:01,058 - {modules.common.store._api:26} - {DEBUG:set values cp2} - Raw data ChargepointState(currents=[9.304, 0.035, 0.04], powers=[1894.4, 0, 5.5], voltages=[224.5, 229.49, 229.63], frequency=49.98, imported=3149745, exported=2659, power=1897, phases_in_use=1, charge_state=True, plug_state=True, rfid=E0:0E:E1:02:56:45, power_factors=[0.0, 0.0, 0.0], soc=24, soc_timestamp=1700827315, evse_current=10)
2023-11-24 18:19:01,653 - {modules.devices.sma_sunny_boy.inverter:72} - {DEBUG:device1} - WR 192.168.5.130: InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=55960394, dc_power=4294967296)
2023-11-24 18:19:01,654 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=55960394, dc_power=4294967296)
2023-11-24 18:19:01,949 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SMA Home Manager Zähler']
2023-11-24 18:19:01,950 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[2.233, 1.054, 10.35], powers=[340.7, 172.1, 2097.5], voltages=[229.314, 228.224, 226.881], power_factors=[0.764, 0.753, 0.905], imported=57381658.8, exported=30363077.2, power=2610.3, frequency=50)
2023-11-24 18:19:01,953 - {modules.devices.sma_shm.device:29} - {DEBUG:device0} - All components updated
2023-11-24 18:19:01,962 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-11-24 18:19:01,964 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=55960394, dc_power=None)
2023-11-24 18:19:01,966 - {modules.common.component_context:24} - {DEBUG:update values cp2} - Update Komponente ['Ladepunkt']
2023-11-24 18:19:01,967 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=55960394, dc_power=None)
2023-11-24 18:19:01,969 - {modules.common.store._api:30} - {INFO:update values cp2} - Saving ChargepointState(currents=[9.304, 0.035, 0.04], powers=[1894.4, 0, 5.5], voltages=[224.5, 229.49, 229.63], frequency=49.98, imported=3149745, exported=2659, power=1897, phases_in_use=1, charge_state=True, plug_state=True, rfid=E0:0E:E1:02:56:45, power_factors=[0.0, 0.0, 0.0], soc=24, soc_timestamp=1700827315, evse_current=10)
2023-11-24 18:19:02,096 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SMA Home Manager Zähler']
2023-11-24 18:19:02,097 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[2.233, 1.054, 10.35], powers=[340.7, 172.1, 2097.5], voltages=[229.314, 228.224, 226.881], power_factors=[0.764, 0.753, 0.905], imported=57381658.8, exported=30363077.2, power=2610.3, frequency=50)
2023-11-24 18:19:02,240 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-11-24 18:19:02,243 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [42.07, 33.99, 24.689999999999998]A
2023-11-24 18:19:02,243 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23286.7W
2023-11-24 18:19:02,246 - {modules.common.component_context:24} - {DEBUG:MainThread} - Update Komponente ['Ladepunkt']
2023-11-24 18:19:02,246 - {modules.chargepoints.openwb_pro.chargepoint_module:88} - {DEBUG:MainThread} - Die openWB-Pro unterstützt keine RFID-Tags.
2023-11-24 18:19:02,247 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 2: Nach Ladestart wird kein anderer RFID-Tag akzeptiert.
2023-11-24 18:19:02,250 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-11-24 18:19:02,250 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-11-24 18:19:02,252 - {control.ev:580} - {DEBUG:MainThread} - Keine Ladung, da kein Zeitfenster für Zeitladen aktiv ist.
2023-11-24 18:19:02,255 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 2, EV: Kona (EV-Nr.1): Theoretisch benötigter Strom 10A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 9.3
2023-11-24 18:19:02,258 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1700846331.5807896, power=726.3999999999999, imported=1952144.1278138855, exported=0)
2023-11-24 18:19:02,259 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00296594, power1: 726.4, power2: 713.3
2023-11-24 18:19:02,260 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.13503
2023-11-24 18:19:02,261 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 2.13503 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1700846342.258157, power=713.3000000000002, imported=1952146.262842485, exported=0)
2023-11-24 18:19:02,264 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, switch_on_soc_reached=False))
2023-11-24 18:19:02,265 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=2784, daily_exported=5, power=1897, imported=3149745, exported=2659))
2023-11-24 18:19:02,266 - {control.data:266} - {INFO:MainThread} - cp2
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, imported_at_plan_start=3149697, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=10, required_currents=[10, 0.0, 0.0], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), 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=[9.3, 0.04, 0.04], daily_imported=2784, daily_exported=5, evse_current=10, exported=2659, fault_str='Kein Fehler.', fault_state=0, imported=3149745, phases_in_use=1, plug_state=True, power=1897, rfid_timestamp=None, rfid=None, soc=24, soc_timestamp=1700827315, state_str='Nach Ladestart wird kein anderer RFID-Tag akzeptiert.', voltages=[224.5, 229.49, 229.63]), set=Set(change_ev_permitted=[True, ''], charging_ev=1, charging_ev_prev=1, current=10, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=3149697, imported_at_plugtime=3149697, imported_since_mode_switch=43, imported_since_plugged=43, range_charged=0.27741935483870966, time_charged='0:01', timestamp_start_charging='11/24/2023, 18:17:21'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='11/24/2023, 16:44:51', required_power=2300.0, rfid='E0:0E:E1:02:56:45', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7575abb0>), config=Config(configuration={'ip_address': '192.168.5.111', 'duo_num': 0}, ev=1, name='Garage', type='openwb_pro', template=1, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=2))
2023-11-24 18:19:02,267 - {control.data:266} - {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-11-24 18:19:02,268 - {control.data:266} - {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='openWB Pro', rfid_enabling=True, valid_tags=['E0:0E:E1:02:56:45'])
2023-11-24 18:19:02,269 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[340.7, 172.1, 2097.5], currents=[2.23, 1.05, 10.35], voltages=[229.31, 228.22, 226.88], power_factors=[0.76, 0.75, 0.91], unbalanced_load=0, frequency=50, daily_exported=0.0, daily_imported=31765.199999996, imported=57381658.8, exported=30363077.2, fault_state=0, fault_str='Kein Fehler.', power=2610.3), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23286.7, raw_currents_left=[42.07, 33.99, 24.689999999999998], surplus_power_left=0, state_str=''))
2023-11-24 18:19:02,270 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=713.3000000000002, invalid_home_consumption=0, daily_yield_home_consumption=29684.1428060276, imported_home_consumption=1952146.262842485, disengageable_smarthome_power=0))
2023-11-24 18:19:02,271 - {control.data:266} - {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='pv_charging', pv_charging=PvCharging(min_soc_current=8, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2023-11-24 18:19:02,273 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Kona-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, False, False, False, False, False]), time=['06:45', '07:15'], name='Vorklimatisierung Mo-Di 6:45-7:15', current=7, limit=Limit(selected='none', amount=1000, soc=55))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=25, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=10, name='Zielladen morgens 6:30', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=55, soc_scheduled=50), time='06:30')}), instant_charging=InstantCharging(current=11, limit=Limit(selected='soc', amount=1000, soc=60))))
2023-11-24 18:19:02,280 - {control.data:266} - {INFO: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=17000, min_current=6, max_current_single_phase=16, battery_capacity=82000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-11-24 18:19:02,284 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Kona-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=15500, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=85, nominal_difference=3, keep_charge_active_duration=40), et_num=0), soc_error_counter=3), charge_template=1, ev_template=1, name='Kona', tag_id=['E0:0E:E1:02:56:45'], get=Get(soc=0, soc_timestamp='11/24/2023, 18:17:03', force_soc_update=False, range=0, fault_state=2, fault_str="<class 'TypeError'> unsupported operand type(s) for -: 'int' and 'NoneType'"))
2023-11-24 18:19:02,285 - {control.data:266} - {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=17000, min_current=6, max_current_single_phase=16, battery_capacity=82000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-11-24 18:19:02,288 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Kona-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=15500, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=85, nominal_difference=3, keep_charge_active_duration=40)
2023-11-24 18:19:02,291 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=3000, phase_switch_delay=1, phases_to_use=0, rundown_power=0, rundown_soc=100, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1350), scheduled_charging=ScheduledCharging(phases_to_use=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='', mqtt_bridge=False, price_kwh=0.305, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-11-24 18:19:02,292 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-11-24 18:19:02,296 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-11-24 18:19:02,296 - {control.data:248} - {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=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x75772d18>), led=Led(active=False), rfid=Rfid(active=True))
2023-11-24 18:19:02,298 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=675, monthly_exported=0, yearly_exported=0, exported=55960394, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-11-24 18:19:02,300 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=675, monthly_exported=0, yearly_exported=0, exported=55960394, power=0))
2023-11-24 18:19:02,302 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.5.110', 'current_commit': '2023-11-22 13:01:10 +0100 [a327c63a4]', 'current_branch': 'master', 'current_branch_commit': '2023-11-22 13:01:10 +0100 [a327c63a4]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'release_train': 'master', 'version': '2.1.2-Beta.4', 'lastlivevaluesJson': {'timestamp': 1700846331, 'time': '18:18:51', 'grid': 2.622, 'house-power': 0.726, 'charging-all': 1.895, 'pv-all': -0.0, 'cp2-power': 1.895, 'ev1-soc': 0}, 'debug_level': 10, 'module_update_completed': True}
2023-11-24 18:19:02,303 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SMA Home Manager', 'type': 'sma_shm', 'id': 0, 'configuration': {}}
2023-11-24 18:19:02,303 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SMA Home Manager Zähler', 'type': 'counter', 'id': 0, 'configuration': {'serials': None}}
2023-11-24 18:19:02,304 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 1, 'configuration': {'ip_address': '192.168.5.130'}}
2023-11-24 18:19:02,304 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'hybrid': False, 'version': 0}}
2023-11-24 18:19:02,304 - {control.data:253} - {INFO:MainThread} - 

2023-11-24 18:19:02,305 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-11-24 18:19:02,305 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 2: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-11-24 18:19:02,306 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-11-24 18:19:02,306 - {control.counter:198} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2725.3W
2023-11-24 18:19:02,308 - {control.ev:449} - {DEBUG:MainThread} - Genutzter Strom: 9.3A, Überschuss: -2725.3W, benötigte neue Leistung: -460W
2023-11-24 18:19:02,309 - {control.counter:198} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2725.3W
2023-11-24 18:19:02,310 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-11-24 18:19:02,313 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-11-24 18:19:02,314 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [36.07, 33.99, 24.689999999999998]A verbleibende Ströme, 21906.7W verbleibende Leistung
2023-11-24 18:19:02,316 - {control.algorithm.common:95} - {INFO:MainThread} - LP2: Stromstärke 6A
2023-11-24 18:19:02,318 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-11-24 18:19:02,323 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [2]
2023-11-24 18:19:02,326 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-11-24 18:19:02,327 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [32.07, 33.99, 24.689999999999998]A verbleibende Ströme, 20986.7W verbleibende Leistung
2023-11-24 18:19:02,330 - {control.algorithm.common:95} - {INFO:MainThread} - LP2: Stromstärke 10A
2023-11-24 18:19:02,331 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-11-24 18:19:02,332 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-11-24 18:19:02,333 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-11-24 18:19:02,334 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-11-24 18:19:02,335 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 48 counter 3149745
2023-11-24 18:19:02,337 - {control.process:111} - {INFO:MainThread} - LP2: set current 10 A, state CHARGING_ALLOWED
2023-11-24 18:19:02,339 - {modules.common.component_context:24} - {DEBUG:set current cp2} - Update Komponente ['Ladepunkt']
2023-11-24 18:19:02,344 - {urllib3.connectionpool:227} - {DEBUG:set current cp2} - Starting new HTTP connection (1): 192.168.5.111:80
2023-11-24 18:19:02,363 - {urllib3.connectionpool:452} - {DEBUG:set current cp2} - http://192.168.5.111:80 "POST /connect.php HTTP/1.1" 200 20
2023-11-24 18:19:02,367 - {modules.common.req:11} - {DEBUG:set current cp2} - Get-Response: OK Value:10 accepted
2023-11-24 18:19:02,369 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-11-24 18:19:02,581 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-24 18:19:05,619 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-11-24 18:19:10,631 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-11-24 18:19:10,633 - {root:74} - {INFO:MainThread} - # ***Start*** 
SoC.log

Code: Alles auswählen

2023-11-24 17:47:06,941 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev1} - Vehicle Instance <class 'modules.vehicles.kia.config.KIA'>
2023-11-24 17:47:06,942 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev1} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=25)
2023-11-24 17:47:06,944 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev1} - Vehicle Update Data VehicleUpdateData(plug_state=True, charge_state=False, imported=3149697, battery_capacity=39000, efficiency=85, soc_from_cp=24, timestamp_soc_from_cp=1700827315)
2023-11-24 17:47:06,945 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev1} - General Config GeneralVehicleConfig(use_soc_from_cp=True, request_interval_charging=30, request_interval_not_charging=120, request_only_plugged=True)
2023-11-24 17:47:06,947 - {modules.common.component_context:24} - {DEBUG:fetch soc_ev1} - Update Komponente ['KIA / Hyundai (experimental)']
2023-11-24 17:47:06,953 - {modules.common.fault_state:55} - {ERROR:fetch soc_ev1} - KIA / Hyundai (experimental): FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> unsupported operand type(s) for -: 'int' and 'NoneType', Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 112, in _get_carstate_by_source
    return CarState(soc=calc_soc.calc_soc(vehicle_update_data,
  File "/var/www/html/openWB/packages/modules/vehicles/common/calc_soc/calc_soc.py", line 13, in calc_soc
    imported_since_start = vehicle_update_data.imported - imported_start
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

2023-11-24 18:17:03,605 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev1} - Vehicle Instance <class 'modules.vehicles.kia.config.KIA'>
2023-11-24 18:17:03,608 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev1} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=25)
2023-11-24 18:17:03,612 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev1} - Vehicle Update Data VehicleUpdateData(plug_state=True, charge_state=False, imported=3149697, battery_capacity=39000, efficiency=85, soc_from_cp=24, timestamp_soc_from_cp=1700827315)
2023-11-24 18:17:03,614 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev1} - General Config GeneralVehicleConfig(use_soc_from_cp=True, request_interval_charging=30, request_interval_not_charging=120, request_only_plugged=True)
2023-11-24 18:17:03,617 - {modules.common.component_context:24} - {DEBUG:fetch soc_ev1} - Update Komponente ['KIA / Hyundai (experimental)']
2023-11-24 18:17:03,620 - {modules.common.fault_state:55} - {ERROR:fetch soc_ev1} - KIA / Hyundai (experimental): FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> unsupported operand type(s) for -: 'int' and 'NoneType', Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
    car_state = self._get_carstate_by_source(vehicle_update_data, source)
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 112, in _get_carstate_by_source
    return CarState(soc=calc_soc.calc_soc(vehicle_update_data,
  File "/var/www/html/openWB/packages/modules/vehicles/common/calc_soc/calc_soc.py", line 13, in calc_soc
    imported_since_start = vehicle_update_data.imported - imported_start
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
Gruß Andi

openWB Pro 3.2.1
openWB Standalone Version: 2.1.5-Alpha.1: 2024-06-25 14:47:05 +0200 [2adeb6bc6] Master

PV: 6.120 kWp, SMA STP 6000Tl-20, SMA EM, kein Speicher
EV: Kona (MJ21) 39,2 kWh
C7a
Beiträge: 31
Registriert: Do Okt 07, 2021 10:04 am

Re: Rückmeldungen 2.1.2 Beta 4

Beitrag von C7a »

Eine Frage bzgl. Auslesen SOC.
Welches SOC Modul muss ich nehmen damit ich nur den SOC der über die openWB Pro ausgelesen wird in der Standalone angezeigt werden kann.
Hintergrund der Frage:
Ich verwende 2 Pro´s und wir Fahren einen VW ID.3 und einen Audi Q4.
Der VW funktioniert super, entweder über das ID Modul (auslesen SOC) oder mit durch anstecken.
beim Audi allerdings gibt es kein Modul (möchte auch keine Drittanbieter) und ich hab das Manuele SOC Modul und MQTT Modul getestet. Beides funktioniert nicht.
Wenn ich kein SOC Modul auswähle, kann ich auch die Option SOC aus der Pro auslesen nicht aktivieren.
Für mein Verständnis müsste das aber über diesen Weg gehen, oder?

Grüße
PV 22 Nord/Ost/Süd/West
SE 17k
openWB series 2
openWB pro
Gesperrt