Rückmeldungen 2.1.2 Release Patch 1 & Patch 2

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

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von MatzeL »

openWB hat geschrieben: So Dez 03, 2023 10:14 am Ob die pro das dann übermittelt bzw die Software 2 das nutzt tut eigentlich nichts zur Sache.
Klingt logisch.

Bleibt die Frage, wo ist der Unterschied im Prozess zwischen "Anstecken mit Sofortladen" und "Wechsel von Stopp zu Sofortladen".

Das wird hier im Thread aber wohl zu ot.
Wenn ich für die Frage noch Logs liefern soll, kann ich das gerne machen.
PV: Fronius Symo Speicher: Victron Auto: Skoda Enyaq mit ME3.6

openWB Pro + openWB Standalone mit Display
openWB
Site Admin
Beiträge: 8002
Registriert: So Okt 07, 2018 1:50 pm

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von openWB »

MatzeL hat geschrieben: So Dez 03, 2023 10:42 am
openWB hat geschrieben: So Dez 03, 2023 10:14 am Ob die pro das dann übermittelt bzw die Software 2 das nutzt tut eigentlich nichts zur Sache.
Klingt logisch.

Bleibt die Frage, wo ist der Unterschied im Prozess zwischen "Anstecken mit Sofortladen" und "Wechsel von Stopp zu Sofortladen".

Das wird hier im Thread aber wohl zu ot.
Wenn ich für die Frage noch Logs liefern soll, kann ich das gerne machen.
Der CP State wechselt nochmal. Es ist danach der selbe wie vorher. Das Fahrzeug ignoriert den aber.
Bei einigen Tesla hilft es wenn sie kurz „schlafen“ und beim Erwachen starten Sie dann ohne weiteres zu tun weil das richtige Signal anliegt.
Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
hominidae
Beiträge: 1191
Registriert: Di Sep 03, 2019 4:13 pm

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von hominidae »

Series 2 DUO

Im internen Ladelog taucht immer das hier auf:

Code: Alles auswählen

2023-12-03 16:06:30,055 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-12-03 16:06:30,104 - {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] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <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] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <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 80, in get_values
    plug_state, charge_state, self.set_current_evse = self.__client.evse_client.get_plug_charge_state()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 39, in get_plug_charge_state
    set_current, _, state_number = self.client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  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] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <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] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)\', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)', <FaultStateLevel.ERROR: 2>)

2023-12-03 16:18:14,272 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2023-12-03 16:18:14,321 - {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] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <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))
...die DUO wurde gerade erst nach "Überholung im Werk" neu montiert und in Betrieb genommen.
Beide Zähler und EVSE wurden getauscht, die Kommunikationsplatine nicht (wurde wohl geprüft).
Die Ladung funktioniert, nur der Modbus Fehler taucht im Log ständig, im UI manchmal auf...im Status-UI ist alles i.o.

Ist die Box defekt?
LenaK
Beiträge: 1029
Registriert: Fr Jan 22, 2021 6:40 am

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von LenaK »

hominidae hat geschrieben: Sa Dez 02, 2023 12:42 pm ...Series 2 DUO, 22kW.
Die Box beschränkt den Strom bei 1P laden auf 31A, obwohl im Lastmanagement 63A erlaubt sind, mit der Meldung, dass am EVU-Zähler die Stromstärke überschritten sei :shock:
31,2A sind deutlich weniger als 63A, nach meiner einfachen Rechnung
Bild

Code: Alles auswählen

2023-12-02 13:34:30,055 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-02 13:34:30,089 - {modules.devices.victron.device:54} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.victron.counter.VictronCounter object at 0x71e475b0>, 'component3': <modules.devices.victron.bat.VictronBat object at 0x714cae20>}
2023-12-02 13:34:30,090 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['EVU Victron']
2023-12-02 13:34:30,090 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device1} - Start device reading {'component4': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x71e3bec8>}
2023-12-02 13:34:30,094 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:30,095 - {modules.common.component_context:24} - {DEBUG:set values cp2} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:30,102 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-12-02 13:34:30,147 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1701520461.060132, power=6817, imported=1532546.161117137, exported=2002230.5328001236)
2023-12-02 13:34:30,150 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0025243, power1: 6817, power2: 6768
2023-12-02 13:34:30,151 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 17.1463
2023-12-02 13:34:30,151 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 17.1463 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1701520470.1476054, power=6768, imported=1532563.30741242, exported=2002230.5328001236)
2023-12-02 13:34:30,152 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[31.0, -1.1, 1.1], powers=[6770, -78, 76], voltages=[221.5, 227.1, 227.9], power_factors=[0.0, 0.0, 0.0], imported=1532563.30741242, exported=2002230.5328001236, power=6768, frequency=50)
2023-12-02 13:34:30,156 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Speicher']
2023-12-02 13:34:30,222 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1701520461.1246948, power=562, imported=1162236.3262224467, exported=696324.494234256)
2023-12-02 13:34:30,224 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00252717, power1: 562, power2: 502
2023-12-02 13:34:30,226 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.34446
2023-12-02 13:34:30,237 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.34446 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1701520470.2225196, power=502, imported=1162237.6706787802, exported=696324.494234256)
2023-12-02 13:34:30,240 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=1162237.6706787802, exported=696324.494234256, power=502, soc=34)
2023-12-02 13:34:30,836 - {modules.devices.sma_sunny_boy.inverter:72} - {DEBUG:device1} - WR 192.168.15.111: InverterState(currents=[0.0, 0.0, 0.0], power=-1039, exported=69580039, dc_power=-1042)
2023-12-02 13:34:30,837 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1039, exported=69580039, dc_power=-1042)
2023-12-02 13:34:30,848 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:30,854 - {modules.common.component_context:24} - {DEBUG:update values cp2} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:30,861 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Speicher']
2023-12-02 13:34:30,865 - {modules.common.store._api:30} - {INFO:component3} - Saving BatState(imported=1162237.6706787802, exported=696324.494234256, power=502, soc=34)
2023-12-02 13:34:30,870 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-12-02 13:34:30,875 - {modules.common.store._api:26} - {DEBUG:component4} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1039, exported=69580039, dc_power=None)
2023-12-02 13:34:30,885 - {modules.common.store._api:30} - {INFO:component4} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1039, exported=69580039, dc_power=None)
2023-12-02 13:34:30,954 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU Victron']
2023-12-02 13:34:30,955 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[31.0, -1.1, 1.1], powers=[6770, -78, 76], voltages=[221.5, 227.1, 227.9], power_factors=[0.0, 0.0, 0.0], imported=1532563.30741242, exported=2002230.5328001236, power=6768, frequency=50)
2023-12-02 13:34:31,068 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 1162237.67, vorherige Payload: 1162236.33
2023-12-02 13:34:31,070 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 502, vorherige Payload: 562
2023-12-02 13:34:31,075 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/2/control_parameter/limit, Payload , da der Maximal-Strom an Zähler {} erreicht ist., vorherige Payload: None
2023-12-02 13:34:31,289 - {control.bat_all:213} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: 502W
2023-12-02 13:34:31,290 - {control.bat_all:217} - {DEBUG:MainThread} - Reservierte Ladeleistung (1200W) subtrahieren: -698
2023-12-02 13:34:31,292 - {control.bat_all:173} - {INFO:MainThread} - -698W verbleibende Speicher-Leistung
2023-12-02 13:34:31,298 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [32.0, 64.1, 93.1]A
2023-12-02 13:34:31,300 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42994.21W
2023-12-02 13:34:31,305 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Keine Ladung, da der Ladepunkt gesperrt wurde.
2023-12-02 13:34:31,309 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-02 13:34:31,318 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 2, EV: IONIQ 5 (EV-Nr.2): Theoretisch benötigter Strom 32A, Lademodus instant_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 31.2
2023-12-02 13:34:31,327 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1701520462.174197, power=469.1999999999998, imported=2628798.1739758984, exported=0)
2023-12-02 13:34:31,329 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00254247, power1: 469.2, power2: 542.79
2023-12-02 13:34:31,337 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.28648
2023-12-02 13:34:31,339 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.28648 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1701520471.3270805, power=542.79, imported=2628799.4604518157, exported=0)
2023-12-02 13:34:31,357 - {control.data:266} - {INFO:MainThread} - bat3
BatData(get=Get(soc=34, daily_exported=15.59, daily_imported=1578.77, imported=1162237.67, exported=696324.49, fault_state=0, fault_str='Kein Fehler.', power=502))
2023-12-02 13:34:31,360 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=34, daily_exported=15.59, daily_imported=1578.77, fault_str='Kein Fehler.', fault_state=0, imported=1162237.67, exported=696324.49, power=502), set=Set(charging_power_left=-698, switch_on_soc_reached=False))
2023-12-02 13:34:31,369 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=14126.0, daily_exported=0, power=6762.21, imported=75955.0, exported=0))
2023-12-02 13:34:31,372 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=0, submode='stop', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=56), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=49324.0, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da der Ladepunkt gesperrt wurde.', voltages=[227.89, 219.11, 227.36]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=True, phases_to_use=1, plug_state_prev=True, plug_time='12/02/2023, 12:46:12', required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x757f2f10>), config=Config(configuration={'mode': 'duo', 'ip_address': 'localhost', 'duo_num': 0}, ev=1, name='LP1 - Kabel', type='internal_openwb', template=1, connected_phases=3, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=1))
2023-12-02 13:34:31,374 - {control.data:266} - {INFO:MainThread} - cp2
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, current_plan=None, imported_at_plan_start=None, imported_instant_charging=11994.0, limit=', da der Maximal-Strom an Zähler {} erreicht ist.', phases=1, prio=True, required_current=32, required_currents=[32, 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=55.58), currents=[0.0, 0.0, 31.2], daily_imported=14126.0, daily_exported=0, evse_current=3170, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=26631.0, phases_in_use=1, plug_state=True, power=6762.21, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str=None, voltages=[227.04, 227.73, 219.01]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=31.7, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='instant_charging', imported_at_mode_switch=11994.0, imported_at_plugtime=11994.0, imported_since_mode_switch=14622.0, imported_since_plugged=14622.0, range_charged=86.01176470588236, time_charged='2:09', timestamp_start_charging='12/02/2023, 11:25:11'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/02/2023, 11:23:31', required_power=7360.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x757a9130>), config=Config(configuration={'mode': 'duo', 'ip_address': 'localhost', 'duo_num': 1}, ev=2, name='LP2 - Buchse', type='internal_openwb', template=2, connected_phases=3, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=2))
2023-12-02 13:34:31,380 - {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-Profil', rfid_enabling=False, valid_tags=[])
2023-12-02 13:34:31,382 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=32, max_current_single_phase=32, name='LP1 - Kabel', rfid_enabling=False, valid_tags=[])
2023-12-02 13:34:31,388 - {control.data:266} - {INFO:MainThread} - cpt2
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=2, max_current_multi_phases=32, max_current_single_phase=32, name='LP2 - Buchse', rfid_enabling=False, valid_tags=[])
2023-12-02 13:34:31,391 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[6770, -78, 76], currents=[31.0, -1.1, 1.1], voltages=[221.5, 227.1, 227.9], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50, daily_exported=21.9882844144, daily_imported=28547.5243262229, imported=1532563.30741242, exported=2002230.5328001236, fault_state=0, fault_str='Kein Fehler.', power=6768), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42994.21, raw_currents_left=[32.0, 64.1, 93.1], surplus_power_left=0, state_str=''))
2023-12-02 13:34:31,397 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'cp', 'children': []}, {'id': 3, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=542.79, invalid_home_consumption=0, daily_yield_home_consumption=16819.7303615679, imported_home_consumption=2628799.4604518157, disengageable_smarthome_power=0))
2023-12-02 13:34:31,402 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-02 13:34:31,407 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='IONIQ', disable_after_unplug=True, prio=True, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-02 13:34:31,408 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='IONIQ 5', disable_after_unplug=True, prio=True, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-02 13:34:31,415 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', 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=32, battery_capacity=82000, efficiency=90, nominal_difference=1, 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-12-02 13:34:31,419 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='IONIQ', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=12000, min_current=6, max_current_single_phase=32, battery_capacity=28000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='IONIQ', tag_id=[], get=Get(soc=56, soc_timestamp='12/02/2023, 13:03:52', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-02 13:34:31,423 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='IONIQ 5', 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=32, battery_capacity=72000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='IONIQ 5', tag_id=[], get=Get(soc=56.28, soc_timestamp='12/02/2023, 13:34:25', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-02 13:34:31,426 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', 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=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-02 13:34:31,437 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='IONIQ', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=12000, min_current=6, max_current_single_phase=32, battery_capacity=28000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-02 13:34:31,450 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='IONIQ 5', 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=32, battery_capacity=72000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-02 13:34:31,467 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=1200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=0, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-12-02 13:34:31,468 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-02 13:34:31,479 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-02 13:34:31,481 - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x757a9058>), led=Led(active=False), rfid=Rfid(active=False))
2023-12-02 13:34:31,482 - {control.data:266} - {INFO:MainThread} - pv4
PvData(config=Config(max_ac_out=20000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=3970, monthly_exported=0, yearly_exported=0, exported=69580039, fault_state=0, fault_str='Kein Fehler.', power=-1039))
2023-12-02 13:34:31,486 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=3970, monthly_exported=0, yearly_exported=0, exported=69580039, power=-1039))
2023-12-02 13:34:31,489 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.15.100', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1701520462, 'time': '13:34:22', 'grid': 6.817, 'house-power': 0.469, 'charging-all': 6.834, 'pv-all': 1.048, 'cp1-power': 0.0, 'cp2-power': 6.834, 'ev1-soc': 56, 'ev2-soc': 55.58, 'bat-all-power': 0.562, 'bat-all-soc': 34}, 'module_update_completed': True}
2023-12-02 13:34:31,492 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Victron', 'type': 'victron', 'id': 0, 'configuration': {'ip_address': '192.168.15.101'}}
2023-12-02 13:34:31,493 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'EVU Victron', 'type': 'counter', 'id': 0, 'configuration': {'energy_meter': True, 'modbus_id': 31}}
2023-12-02 13:34:31,495 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Speicher', 'type': 'bat', 'id': 3, 'configuration': {'modbus_id': 100}}
2023-12-02 13:34:31,499 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 1, 'configuration': {'ip_address': '192.168.15.111'}}
2023-12-02 13:34:31,500 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 4, 'configuration': {'hybrid': False, 'version': 0}}
2023-12-02 13:34:31,505 - {control.data:253} - {INFO:MainThread} - 

2023-12-02 13:34:31,508 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-02 13:34:31,510 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-02 13:34:31,517 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.INSTANT_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2023-12-02 13:34:31,520 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [26.0, 64.1, 93.1]A verbleibende Ströme, 41614.21W verbleibende Leistung
2023-12-02 13:34:31,534 - {control.algorithm.common:95} - {INFO:MainThread} - LP2: Stromstärke 6A
2023-12-02 13:34:31,540 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-02 13:34:31,543 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [2]
2023-12-02 13:34:31,546 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.INSTANT_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2023-12-02 13:34:31,549 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [0.0, 64.1, 93.1]A verbleibende Ströme, 35634.21W verbleibende Leistung
2023-12-02 13:34:31,552 - {control.algorithm.common:95} - {INFO:MainThread} - LP2: Stromstärke 32A
2023-12-02 13:34:31,554 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-02 13:34:31,556 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-02 13:34:31,558 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-02 13:34:31,560 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-02 13:34:31,566 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 14637.0 counter 26631.0
2023-12-02 13:34:31,576 - {control.process:111} - {INFO:MainThread} - LP2: set current 32 A, state CHARGING_ALLOWED
2023-12-02 13:34:31,581 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:31,590 - {modules.common.component_context:24} - {DEBUG:set current cp2} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:31,658 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-02 13:34:32,243 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/2/control_parameter/limit, Payload None, vorherige Payload: , da der Maximal-Strom an Zähler {} erreicht ist.
2023-12-02 13:34:32,322 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-02 13:34:35,348 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-02 13:34:40,363 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-02 13:34:40,364 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-02 13:34:40,397 - {modules.devices.victron.device:54} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.victron.counter.VictronCounter object at 0x71e475b0>, 'component3': <modules.devices.victron.bat.VictronBat object at 0x714cae20>}
2023-12-02 13:34:40,402 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device1} - Start device reading {'component4': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x71e3bec8>}
2023-12-02 13:34:40,403 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['EVU Victron']
2023-12-02 13:34:40,404 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:40,405 - {modules.common.component_context:24} - {DEBUG:set values cp2} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:40,408 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-12-02 13:34:40,468 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1701520470.1476054, power=6768, imported=1532563.30741242, exported=2002230.5328001236)
2023-12-02 13:34:40,469 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286695, power1: 6768, power2: 6859
2023-12-02 13:34:40,469 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 19.5339
2023-12-02 13:34:40,470 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 19.5339 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1701520480.4686081, power=6859, imported=1532582.8413435435, exported=2002230.5328001236)
2023-12-02 13:34:40,471 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[31.2, -1.1, 1.1], powers=[6848, -79, 90], voltages=[221.5, 227.1, 227.9], power_factors=[0.0, 0.0, 0.0], imported=1532582.8413435435, exported=2002230.5328001236, power=6859, frequency=50)
2023-12-02 13:34:40,474 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['Speicher']
2023-12-02 13:34:40,486 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1701520470.2225196, power=502, imported=1162237.6706787802, exported=696324.494234256)
2023-12-02 13:34:40,487 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00285107, power1: 502, power2: 537
2023-12-02 13:34:40,488 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 1.48113
2023-12-02 13:34:40,488 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 1.48113 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1701520480.486378, power=537, imported=1162239.1518105569, exported=696324.494234256)
2023-12-02 13:34:40,491 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=1162239.1518105569, exported=696324.494234256, power=537, soc=34)
2023-12-02 13:34:41,071 - {modules.devices.sma_sunny_boy.inverter:72} - {DEBUG:device1} - WR 192.168.15.111: InverterState(currents=[0.0, 0.0, 0.0], power=-1028, exported=69580042, dc_power=-1032)
2023-12-02 13:34:41,072 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1028, exported=69580042, dc_power=-1032)
2023-12-02 13:34:41,082 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:41,089 - {modules.common.component_context:24} - {DEBUG:update values cp2} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:41,094 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Speicher']
2023-12-02 13:34:41,096 - {modules.common.store._api:30} - {INFO:component3} - Saving BatState(imported=1162239.1518105569, exported=696324.494234256, power=537, soc=34)
2023-12-02 13:34:41,098 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-12-02 13:34:41,105 - {modules.common.store._api:26} - {DEBUG:component4} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1028, exported=69580042, dc_power=None)
2023-12-02 13:34:41,108 - {modules.common.store._api:30} - {INFO:component4} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1028, exported=69580042, dc_power=None)
2023-12-02 13:34:41,172 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['EVU Victron']
2023-12-02 13:34:41,174 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[31.2, -1.1, 1.1], powers=[6848, -79, 90], voltages=[221.5, 227.1, 227.9], power_factors=[0.0, 0.0, 0.0], imported=1532582.8413435435, exported=2002230.5328001236, power=6859, frequency=50)
2023-12-02 13:34:41,279 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 1162239.15, vorherige Payload: 1162237.67
2023-12-02 13:34:41,281 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 537, vorherige Payload: 502
2023-12-02 13:34:41,287 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/2/control_parameter/limit, Payload None, vorherige Payload: , da der Maximal-Strom an Zähler {} erreicht ist.
2023-12-02 13:34:41,491 - {control.bat_all:213} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: 537W
2023-12-02 13:34:41,493 - {control.bat_all:217} - {DEBUG:MainThread} - Reservierte Ladeleistung (1200W) subtrahieren: -663
2023-12-02 13:34:41,494 - {control.bat_all:173} - {INFO:MainThread} - -663W verbleibende Speicher-Leistung
2023-12-02 13:34:41,499 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.8, 64.1, 93.38]A
2023-12-02 13:34:41,501 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42972.22W
2023-12-02 13:34:41,508 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Keine Ladung, da der Ladepunkt gesperrt wurde.
2023-12-02 13:34:41,511 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-02 13:34:41,520 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 2, EV: IONIQ 5 (EV-Nr.2): Theoretisch benötigter Strom 32A, Lademodus instant_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 31.48
2023-12-02 13:34:41,553 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1701520471.3270805, power=542.79, imported=2628799.4604518157, exported=0)
2023-12-02 13:34:41,558 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284073, power1: 542.79, power2: 518.78
2023-12-02 13:34:41,559 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.50781
2023-12-02 13:34:41,562 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.50781 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1701520481.5536928, power=518.7799999999997, imported=2628800.968266378, exported=0)
2023-12-02 13:34:41,566 - {control.data:266} - {INFO:MainThread} - bat3
BatData(get=Get(soc=34, daily_exported=15.59, daily_imported=1578.77, imported=1162239.15, exported=696324.49, fault_state=0, fault_str='Kein Fehler.', power=537))
2023-12-02 13:34:41,570 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=34, daily_exported=15.59, daily_imported=1578.77, fault_str='Kein Fehler.', fault_state=0, imported=1162239.15, exported=696324.49, power=537), set=Set(charging_power_left=-663, switch_on_soc_reached=False))
2023-12-02 13:34:41,572 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=14126.0, daily_exported=0, power=6831.22, imported=75976.0, exported=0))
2023-12-02 13:34:41,575 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=0, submode='stop', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=56), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=49324.0, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da der Ladepunkt gesperrt wurde.', voltages=[227.89, 219.09, 227.48]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=True, phases_to_use=1, plug_state_prev=True, plug_time='12/02/2023, 12:46:12', required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x75795880>), config=Config(configuration={'mode': 'duo', 'ip_address': 'localhost', 'duo_num': 0}, ev=1, name='LP1 - Kabel', type='internal_openwb', template=1, connected_phases=3, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=1))
2023-12-02 13:34:41,588 - {control.data:266} - {INFO:MainThread} - cp2
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, current_plan=None, imported_at_plan_start=None, imported_instant_charging=11994.0, limit=None, phases=1, prio=True, required_current=32, required_currents=[32, 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=56.28), currents=[0.0, 0.0, 31.48], daily_imported=14126.0, daily_exported=0, evse_current=3200, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=26652.0, phases_in_use=1, plug_state=True, power=6831.22, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str=None, voltages=[227.12, 227.8, 218.99]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=32, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='instant_charging', imported_at_mode_switch=11994.0, imported_at_plugtime=11994.0, imported_since_mode_switch=14637.0, imported_since_plugged=14637.0, range_charged=86.1, time_charged='2:09', timestamp_start_charging='12/02/2023, 11:25:11'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/02/2023, 11:23:31', required_power=7360.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x757f2e08>), config=Config(configuration={'mode': 'duo', 'ip_address': 'localhost', 'duo_num': 1}, ev=2, name='LP2 - Buchse', type='internal_openwb', template=2, connected_phases=3, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=2))
2023-12-02 13:34:41,590 - {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-Profil', rfid_enabling=False, valid_tags=[])
2023-12-02 13:34:41,594 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=32, max_current_single_phase=32, name='LP1 - Kabel', rfid_enabling=False, valid_tags=[])
2023-12-02 13:34:41,597 - {control.data:266} - {INFO:MainThread} - cpt2
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=2, max_current_multi_phases=32, max_current_single_phase=32, name='LP2 - Buchse', rfid_enabling=False, valid_tags=[])
2023-12-02 13:34:41,604 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[6848, -79, 90], currents=[31.2, -1.1, 1.1], voltages=[221.5, 227.1, 227.9], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50, daily_exported=21.9882844144, daily_imported=28547.5243262229, imported=1532582.8413435435, exported=2002230.5328001236, fault_state=0, fault_str='Kein Fehler.', power=6859), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42972.22, raw_currents_left=[31.8, 64.1, 93.38], surplus_power_left=0, state_str=''))
2023-12-02 13:34:41,607 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'cp', 'children': []}, {'id': 3, 'type': 'bat', 'children': []}, {'id': 4, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=518.7799999999997, invalid_home_consumption=0, daily_yield_home_consumption=16819.7303615679, imported_home_consumption=2628800.968266378, disengageable_smarthome_power=0))
2023-12-02 13:34:41,613 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-02 13:34:41,615 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='IONIQ', disable_after_unplug=True, prio=True, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-02 13:34:41,618 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='IONIQ 5', disable_after_unplug=True, prio=True, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-02 13:34:41,625 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', 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=32, battery_capacity=82000, efficiency=90, nominal_difference=1, 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-12-02 13:34:41,629 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='IONIQ', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=12000, min_current=6, max_current_single_phase=32, battery_capacity=28000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='IONIQ', tag_id=[], get=Get(soc=56, soc_timestamp='12/02/2023, 13:03:52', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-02 13:34:41,632 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='IONIQ 5', 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=32, battery_capacity=72000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='IONIQ 5', tag_id=[], get=Get(soc=56.28, soc_timestamp='12/02/2023, 13:34:25', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-02 13:34:41,633 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', 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=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-02 13:34:41,642 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='IONIQ', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=12000, min_current=6, max_current_single_phase=32, battery_capacity=28000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-02 13:34:41,646 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='IONIQ 5', 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=32, battery_capacity=72000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-02 13:34:41,647 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=1200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=0, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-12-02 13:34:41,652 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-02 13:34:41,673 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-02 13:34:41,682 - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x757b10a0>), led=Led(active=False), rfid=Rfid(active=False))
2023-12-02 13:34:41,684 - {control.data:266} - {INFO:MainThread} - pv4
PvData(config=Config(max_ac_out=20000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=3970, monthly_exported=0, yearly_exported=0, exported=69580042, fault_state=0, fault_str='Kein Fehler.', power=-1028))
2023-12-02 13:34:41,686 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=3970, monthly_exported=0, yearly_exported=0, exported=69580042, power=-1028))
2023-12-02 13:34:41,689 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.15.100', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1701520471, 'time': '13:34:31', 'grid': 6.768, 'house-power': 0.543, 'charging-all': 6.762, 'pv-all': 1.039, 'cp1-power': 0.0, 'cp2-power': 6.762, 'ev1-soc': 56, 'ev2-soc': 56.28, 'bat-all-power': 0.502, 'bat-all-soc': 34}, 'module_update_completed': True}
2023-12-02 13:34:41,692 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Victron', 'type': 'victron', 'id': 0, 'configuration': {'ip_address': '192.168.15.101'}}
2023-12-02 13:34:41,696 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'EVU Victron', 'type': 'counter', 'id': 0, 'configuration': {'energy_meter': True, 'modbus_id': 31}}
2023-12-02 13:34:41,703 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Speicher', 'type': 'bat', 'id': 3, 'configuration': {'modbus_id': 100}}
2023-12-02 13:34:41,708 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 1, 'configuration': {'ip_address': '192.168.15.111'}}
2023-12-02 13:34:41,710 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 4, 'configuration': {'hybrid': False, 'version': 0}}
2023-12-02 13:34:41,712 - {control.data:253} - {INFO:MainThread} - 

2023-12-02 13:34:41,714 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-02 13:34:41,717 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-02 13:34:41,721 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.INSTANT_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2023-12-02 13:34:41,723 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [25.8, 64.1, 93.38]A verbleibende Ströme, 41592.22W verbleibende Leistung
2023-12-02 13:34:41,726 - {control.algorithm.common:95} - {INFO:MainThread} - LP2: Stromstärke 6A
2023-12-02 13:34:41,731 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-02 13:34:41,736 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [2]
2023-12-02 13:34:41,739 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.INSTANT_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2023-12-02 13:34:41,743 - {control.loadmanagement:89} - {DEBUG:MainThread} - Stromüberschreitung [26.0, 0.0, 0.0]W korrigieren: [25.8, 0.0, 0.0]
2023-12-02 13:34:41,751 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 2: Es kann nicht mit der vorgegebenen Stromstärke geladen werden, da der Maximal-Strom an Zähler EVU Victron erreicht ist.
2023-12-02 13:34:41,753 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [0.0, 64.1, 93.38]A verbleibende Ströme, 35658.22W verbleibende Leistung
2023-12-02 13:34:41,757 - {control.algorithm.common:95} - {INFO:MainThread} - LP2: Stromstärke 31.8A
2023-12-02 13:34:41,772 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-02 13:34:41,775 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-02 13:34:41,776 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-02 13:34:41,786 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-02 13:34:41,803 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 14658.0 counter 26652.0
2023-12-02 13:34:41,809 - {control.process:111} - {INFO:MainThread} - LP2: set current 31.8 A, state CHARGING_ALLOWED
2023-12-02 13:34:41,814 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:41,818 - {modules.common.component_context:24} - {DEBUG:set current cp2} - Update Komponente ['Ladepunkt']
2023-12-02 13:34:41,870 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-02 13:34:42,350 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/2/control_parameter/limit, Payload , da der Maximal-Strom an Zähler {} erreicht ist., vorherige Payload: None
2023-12-02 13:34:42,368 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-02 13:34:45,426 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-02 13:34:50,438 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-02 13:34:50,439 - {root:74} - {INFO:MainThread} - # ***Start*** 
Deine openWB ist nicht richtig angeschlossen. Bei einphasiger Ladung sollte die Leistung am Stromzähler des Ladepunkts auf L1 liegen. Bitte wende Dich mit Link auf diesen Forums-Beitrag an den Support.
hominidae
Beiträge: 1191
Registriert: Di Sep 03, 2019 4:13 pm

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von hominidae »

LenaK hat geschrieben: Mo Dez 04, 2023 9:08 am Deine openWB ist nicht richtig angeschlossen. Bei einphasiger Ladung sollte die Leistung am Stromzähler des Ladepunkts auf L1 liegen. Bitte wende Dich mit Link auf diesen Forums-Beitrag an den Support.
Danke habe ich gemacht. Dabei habe ich meinen Elektiker sogar noch darauf hingewiesen, dass sie korrket (sie wurde überholt, also zuerst demontiert) wieder anzuschliessen sei. :(

P.S: der Ladepunkt liegt ja auf L1 (ist aber LP2) und ist auch so konfiguriert....(LP1 ist auf L3 und lädt unauffällig 1P mit 32A).
Vielleicht ist aber auch die Zuleitung falsch angeschlossen (diese openWB ist noch eine mit nur einer Zuleitung).
aiole
Beiträge: 6897
Registriert: Mo Okt 08, 2018 4:51 pm

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von aiole »

Bei Duo mit nur einer Zuleitung gibt es mWn. intern eine Phasenrotation. Bei LP1 ist Phase 1 des LK = L1 und bei LP2 ist Phase 1 des LK = L3. Kannst Du auch innen an der Kabelführung nachprüfen.
Ilchi
Beiträge: 179
Registriert: Di Feb 23, 2021 9:18 am

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von Ilchi »

openWB hat geschrieben: So Dez 03, 2023 9:07 am
MatzeL hat geschrieben: So Dez 03, 2023 8:31 am
openWB hat geschrieben: So Dez 03, 2023 8:21 am Steht die pro denn auf Modus PWM oder Modus PWM mit Fahrzeugerkennung?
Das Verhalten tritt nur im "PWM mit Fahrzeugerkennung" Modus auf. (Die Existenz von ISO15118 ignoriere ich jetzt mal)
Das Problem ist dann wie oben beschrieben der enyaq der die Vorgabe, aufgrund der vorherigen Auslesung des SoC, nicht übernimmt.
Haben andere das Problem auch? Welche FW hat der enyaq?
Ich habe vermutlich das gleiche Thema, aber mit einem sonst so unzickigem Ioniq5 mit aktueller Software. Bei mir wurde jetzt mehrfach im Sofortladen die Ladung nicht gestartet, obwohl die OpenWB durchaus Strom angeboten hat. Ein Klick in der Fahrzeugapp mit "Jetzt Laden" startete dann die Ladung. Ebenso das Umschalten auf Stopp und dann wieder zurück in Sofortladen. Ich muss das mal weiter beobachten und melde mich, wenn ich mehr weiß. Bisher hatte ich nicht wirklich Muße, mich dem Thema zu widmen.
ChristophR
Beiträge: 439
Registriert: So Okt 30, 2022 8:07 am

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von ChristophR »

cjungde hat geschrieben: Sa Dez 02, 2023 2:54 pm Hallo zusammen,

ich brauchte mal einen Tip um weiter zu kommen.

Meine Situation:
Ich habe (hatte) eine funktionierende OpenWB2.1 in einer virtuellen Machine auf meiner Synology laufen und habe diese vor zwei Tagen über das reguläre Setup Menü auf das aktuelle Release 2.1.2 Release Patch 1 aktualisiert.

Anschliessend habe ich die folgende Fehlermeldung bekommen.
OpenWB_Update.jpg

Inzwischen habe die die VM mehrmals neu gestartet. Nach einem Reboot bleiben die modalen Boxen immer noch da.
Die letzte Main.log habe ich angehängt.

Nach meiner unqualifizierten Meinung scheint das Update durchgelaufen zu sein, aber die modalen Boxen bekomme ich nicht weg um die Nutzungsbedingungen zu akzeptieren. Auch mit Tab / Enter komme ich da nicht ran.

Die crypto Fehler im Log sollten - soweit ich es gelesen habe, nicht mein Problem sein, weil ich kein OneDrive verwende.

Was kann noch testen ?
Dankbar für jeden Tip.
Christoph
Das klingt wie das Problem, das ich auch beim Update auf meinem QNAP NAS habe:
https://www.openwb.de/forum/viewtopic.p ... nap#p95198
Das Fehlschlagen der Cryptography ist bestimmt doch das Problem, da das System so nicht funktionsfähig sein wird.

Ein paar Notizen, was ich seinerzeit alles probiert hatte und nicht geholfen hat (Reihenfolge stimmt nicht, bzw. Befehle stammen z.T. aus verschiedenen Versuchen):

Code: Alles auswählen

sudo apt-get install -y libbz2-dev
sudo apt-get install -y liblzma-dev
sudo apt-get install -y libopenblas-dev

sudo apt-get install build-essential libssl-dev libffi-dev python3-dev cargo pkg-config

sudo pip install rust -t .

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo pip install cryptography
Da hilft wohl nur eine neue Installation mit einem anderen OS (Ich hatte das Raspberry Desktop genommen, das geht vermutlich jetzt nicht mehr)
Habe ich aber noch nicht versucht, da ich die VM nicht mehr produktiv nutze.

VG
Christoph
openWB Series 2 Standard+, SW-Version 2
SolarEdge SE10K-RWS, BYD LVS 8, 16,8 kWp.
CUPRA Born
b3n
Beiträge: 24
Registriert: Mi Mai 11, 2022 10:05 pm

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von b3n »

ChristophR hat geschrieben: Di Dez 05, 2023 2:58 pm
cjungde hat geschrieben: Sa Dez 02, 2023 2:54 pm Die crypto Fehler im Log sollten - soweit ich es gelesen habe, nicht mein Problem sein, weil ich kein OneDrive verwende.

Was kann noch testen ?
Dankbar für jeden Tip.
Christoph
Das klingt wie das Problem, das ich auch beim Update auf meinem QNAP NAS habe:
https://www.openwb.de/forum/viewtopic.p ... nap#p95198
Das Fehlschlagen der Cryptography ist bestimmt doch das Problem, da das System so nicht funktionsfähig sein wird.

Ein paar Notizen, was ich seinerzeit alles probiert hatte und nicht geholfen hat (Reihenfolge stimmt nicht, bzw. Befehle stammen z.T. aus verschiedenen Versuchen):

Code: Alles auswählen

sudo apt-get install -y libbz2-dev
sudo apt-get install -y liblzma-dev
sudo apt-get install -y libopenblas-dev

sudo apt-get install build-essential libssl-dev libffi-dev python3-dev cargo pkg-config

sudo pip install rust -t .

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo pip install cryptography
Da hilft wohl nur eine neue Installation mit einem anderen OS (Ich hatte das Raspberry Desktop genommen, das geht vermutlich jetzt nicht mehr)
Habe ich aber noch nicht versucht, da ich die VM nicht mehr produktiv nutze.

VG
Christoph
Ich habe mein System auch auf einer QNAP VM laufen mit raspberry os x86. Nach vielfachem hin und her probieren und nachinstallieren sehe ich ein Fehler beim PIP Package (wird im log auch als n/a markiert). Das scheint bei @cjungde wohl auch der Ansatz gewesen zu sein. Das Paket lässt sich auch nicht in der Art upgraden mit "(sudo) pip install --upgrade pip oder rust bzw. neu installieren ohne den Befehl "--upgrade" oder mit dem get-pip.py Skript, dass bei der Installation von openwb das "neue" Paket unter dem Pfad usr/... als das richtige erkannt wird. Der Fehler bleibt bestehen. Ich sehe auch gerade nicht den Zusammenhang mit der x86 Version statt ARM, aber dafür fehlt mir auch der Einblick.

So wie ich das mit meinem Halbwissen sehe scheint die Ursache möglicherweise darin zu liegen, dass das Paket zu alt (PIP v 20 statt v23, RUST v 1.3.1 statt >1.48.0) ist und/oder an einer falschen Stelle im User openwb liegt, wo es durch ein Upgrade nicht richtig aktualisiert werden kann.
Das soll laut Cryptography Manual wohl die Hauptursache noch vor dem fehlenden/zu alten RUST Compiler sein.
https://cryptography.io/en/latest/installation/#rust

Falls das zutreffen sollte, wäre es hier möglich den PIP Pfad für die openwb in das default directory zu verweisen oder den Fehler anders zu adressieren?

Der Vollständigkeit halber: Das Debug log meldet zusätzlich, dass möglicherweise wegen eines zu alten PIP Pakets ein zur Verfügung gestelltes prebuilt wheel nicht installiert werden kann. Dies macht dann wohl auch keinen RUST Compiler notwendig.

Hier die komplette Fehlermeldung

Code: Alles auswählen

********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
     
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'cryptography.hazmat.bindings._rust' is explicitly added
              to the `packages` configuration field.
     
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
     
              You can read more about "package discovery" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
     
              If you don't want 'cryptography.hazmat.bindings._rust' to be distributed and are
              already explicitly excluding 'cryptography.hazmat.bindings._rust' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
     
              You can read more about "package data files" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
     
     
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
     
      !!
        check.warn(importable)
      /tmp/pip-build-env-sqps7z6n/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cryptography.hazmat.bindings._rust.openssl' is absent from the `packages` configuration.
      !!
     
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'cryptography.hazmat.bindings._rust.openssl' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
     
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'cryptography.hazmat.bindings._rust.openssl' is explicitly added
              to the `packages` configuration field.
     
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
     
              You can read more about "package discovery" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
     
              If you don't want 'cryptography.hazmat.bindings._rust.openssl' to be distributed and are
              already explicitly excluding 'cryptography.hazmat.bindings._rust.openssl' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
     
              You can read more about "package data files" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
     
     
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
     
      !!
        check.warn(importable)
      copying src/cryptography/py.typed -> build/lib.linux-x86_64-cpython-39/cryptography
      creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
      running build_ext
      running build_rust
      <string>:73: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
     
          =============================DEBUG ASSISTANCE=============================
          If you are seeing a compilation error please try the following steps to
          successfully install cryptography:
          1) Upgrade to the latest pip and try again. This will fix errors for most
             users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
          2) Read https://cryptography.io/en/latest/installation/ for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq/
          4) Ensure you have a recent Rust toolchain installed:
             https://cryptography.io/en/latest/installation/#rust
     
          Python: 3.9.2
          platform: Linux-5.10.0-26-amd64-x86_64-with-glibc2.31
          pip: n/a
          setuptools: 69.0.2
          setuptools_rust: 1.8.1
          rustc: n/a
          =============================DEBUG ASSISTANCE=============================
     
      error: can't find Rust compiler
     
      If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
     
      To update pip, run:
     
          pip install --upgrade pip
     
      and then retry package installation.
     
      If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
     
      This package requires Rust >=1.48.0.
      [end of output]

ChristophR
Beiträge: 439
Registriert: So Okt 30, 2022 8:07 am

Re: Rückmeldungen 2.1.2 Release Patch 1

Beitrag von ChristophR »

b3n hat geschrieben: Do Dez 07, 2023 12:31 am
ChristophR hat geschrieben: Di Dez 05, 2023 2:58 pm
cjungde hat geschrieben: Sa Dez 02, 2023 2:54 pm Die crypto Fehler im Log sollten - soweit ich es gelesen habe, nicht mein Problem sein, weil ich kein OneDrive verwende.

Was kann noch testen ?
Dankbar für jeden Tip.
Christoph
Das klingt wie das Problem, das ich auch beim Update auf meinem QNAP NAS habe:
https://www.openwb.de/forum/viewtopic.p ... nap#p95198
Das Fehlschlagen der Cryptography ist bestimmt doch das Problem, da das System so nicht funktionsfähig sein wird.

Ein paar Notizen, was ich seinerzeit alles probiert hatte und nicht geholfen hat (Reihenfolge stimmt nicht, bzw. Befehle stammen z.T. aus verschiedenen Versuchen):

Code: Alles auswählen

sudo apt-get install -y libbz2-dev
sudo apt-get install -y liblzma-dev
sudo apt-get install -y libopenblas-dev

sudo apt-get install build-essential libssl-dev libffi-dev python3-dev cargo pkg-config

sudo pip install rust -t .

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo pip install cryptography
Da hilft wohl nur eine neue Installation mit einem anderen OS (Ich hatte das Raspberry Desktop genommen, das geht vermutlich jetzt nicht mehr)
Habe ich aber noch nicht versucht, da ich die VM nicht mehr produktiv nutze.

VG
Christoph
Ich habe mein System auch auf einer QNAP VM laufen mit raspberry os x86. Nach vielfachem hin und her probieren und nachinstallieren sehe ich ein Fehler beim PIP Package (wird im log auch als n/a markiert). Das scheint bei @cjungde wohl auch der Ansatz gewesen zu sein. Das Paket lässt sich auch nicht in der Art upgraden mit "(sudo) pip install --upgrade pip oder rust bzw. neu installieren ohne den Befehl "--upgrade" oder mit dem get-pip.py Skript, dass bei der Installation von openwb das "neue" Paket unter dem Pfad usr/... als das richtige erkannt wird. Der Fehler bleibt bestehen. Ich sehe auch gerade nicht den Zusammenhang mit der x86 Version statt ARM, aber dafür fehlt mir auch der Einblick.

So wie ich das mit meinem Halbwissen sehe scheint die Ursache möglicherweise darin zu liegen, dass das Paket zu alt (PIP v 20 statt v23, RUST v 1.3.1 statt >1.48.0) ist und/oder an einer falschen Stelle im User openwb liegt, wo es durch ein Upgrade nicht richtig aktualisiert werden kann.
Das soll laut Cryptography Manual wohl die Hauptursache noch vor dem fehlenden/zu alten RUST Compiler sein.
https://cryptography.io/en/latest/installation/#rust

Falls das zutreffen sollte, wäre es hier möglich den PIP Pfad für die openwb in das default directory zu verweisen oder den Fehler anders zu adressieren?

Der Vollständigkeit halber: Das Debug log meldet zusätzlich, dass möglicherweise wegen eines zu alten PIP Pakets ein zur Verfügung gestelltes prebuilt wheel nicht installiert werden kann. Dies macht dann wohl auch keinen RUST Compiler notwendig.

Hier die komplette Fehlermeldung

Code: Alles auswählen

********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
     
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'cryptography.hazmat.bindings._rust' is explicitly added
              to the `packages` configuration field.
     
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
     
              You can read more about "package discovery" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
     
              If you don't want 'cryptography.hazmat.bindings._rust' to be distributed and are
              already explicitly excluding 'cryptography.hazmat.bindings._rust' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
     
              You can read more about "package data files" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
     
     
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
     
      !!
        check.warn(importable)
      /tmp/pip-build-env-sqps7z6n/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'cryptography.hazmat.bindings._rust.openssl' is absent from the `packages` configuration.
      !!
     
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'cryptography.hazmat.bindings._rust.openssl' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
     
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'cryptography.hazmat.bindings._rust.openssl' is explicitly added
              to the `packages` configuration field.
     
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
     
              You can read more about "package discovery" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
     
              If you don't want 'cryptography.hazmat.bindings._rust.openssl' to be distributed and are
              already explicitly excluding 'cryptography.hazmat.bindings._rust.openssl' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
     
              You can read more about "package data files" on setuptools documentation page:
     
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
     
     
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
     
      !!
        check.warn(importable)
      copying src/cryptography/py.typed -> build/lib.linux-x86_64-cpython-39/cryptography
      creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
      creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust/openssl
      running build_ext
      running build_rust
      <string>:73: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
     
          =============================DEBUG ASSISTANCE=============================
          If you are seeing a compilation error please try the following steps to
          successfully install cryptography:
          1) Upgrade to the latest pip and try again. This will fix errors for most
             users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
          2) Read https://cryptography.io/en/latest/installation/ for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq/
          4) Ensure you have a recent Rust toolchain installed:
             https://cryptography.io/en/latest/installation/#rust
     
          Python: 3.9.2
          platform: Linux-5.10.0-26-amd64-x86_64-with-glibc2.31
          pip: n/a
          setuptools: 69.0.2
          setuptools_rust: 1.8.1
          rustc: n/a
          =============================DEBUG ASSISTANCE=============================
     
      error: can't find Rust compiler
     
      If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
     
      To update pip, run:
     
          pip install --upgrade pip
     
      and then retry package installation.
     
      If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
     
      This package requires Rust >=1.48.0.
      [end of output]

Da es mir keine Ruhe gelassen hat habe ich Neuinstallationen versucht:

Raspberry Desktop (32Bit): fehlgeschlagen mit gleichem Fehler
Debian 11 (32Bit): fehlgeschlagen mit gleichem Fehler
Debian 11 (64Bit): erfolgreich.

Daher muss es wohl doch am 32Bit OS liegen.
Leider gibt es ja kein Raspberry Desktop in 64 Bit, also bleibt wohl nur ein "echtes" Debian 11 in 64Bit zu nehmen und dann das Backup der openWB einzuspielen.
openWB Series 2 Standard+, SW-Version 2
SolarEdge SE10K-RWS, BYD LVS 8, 16,8 kWp.
CUPRA Born
Gesperrt