Laderungssteuerung

Fragen zur Nutzung, Features, usw..
Wikinger
Beiträge: 29
Registriert: Do Sep 12, 2019 11:51 am

Laderungssteuerung

Beitrag von Wikinger »

Hallo

nach langem Probieren und recherchieren ohne Lösung, versuche ich es nun doch mal in der Community.
Ich bin bei meiner Selbstbau-OpenWB vor einiger Zeit auf die 2er Version umgestiegen und habe seitdem leider sehr viele Probleme.
Neben der sporadischen "Nichterkennung" des Fahrzeugs, welches iDR durch einen Reboot behoben werden kann (nervt aber tierisch), funktioniert die Ladungsregelung nicht mehr. Das System scheint den eingestellten Schwellwert zu ignorieren und lädt immer maximal (ohne Rücksicht auf die Hausbatterieeinstellung).
Im main.log habe ich massenhaft diesen Fehler:

Code: Alles auswählen

2023-10-14 13:49:31,764 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/internal_chargepoint/0/get/power_factors, Payload 99.4 liegt in keinem der angegebenen Wertebereiche.
2023-10-14 13:49:31,814 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/chargepoint/14/get/power_factors, Payload 99.4 liegt in keinem der angegebenen Wertebereiche.
Im internal_chargepoint.log python traces:

Code: Alles auswählen

2023-10-14 13:57:20,652 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 12
2023-10-14 13:57:20,748 - {modules.common.fault_state:52} - {ERROR:Internal Chargepoint} - Ladepunkt 0: 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 85, 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 64, 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 118, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 100, 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 224, 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 106, 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>)
Auffällig ist m.M. nach, dass unter Status Sma Sunny Boy/Tripower Wechselrichter (ID: 13) die Leistung negativ dargestellt wird, im Frontgraphen und auch im Log zur Messung der Mindestleistung zum Ladebeginn wird sie aber korrekt dargestellt.
Zugegeben habe ich keinen blassen Schimmer, ob meine Grundkonfiguration stimmt.

Das System ist ein SMA Tripower 7000, SMA Sunny Island 4.4, SMA Energymeter und ein Bleiakku. Alles von 2015, also nicht die neusten Versionen.

Ich habe unter Geräte und Komponenten:
  • SMA Sunny Island (Modul: DeviceSunnyIsland) mit der korrekten IP für meinen SI4.4 und der Komponente SMA Sunny Island Speicher (Modul: DeviceSunnyIslandBat).
  • SMA Home Manager / Energy Meter (Modul: DeviceSmaHm) mit der Komponente SMA-HM/EM Zähler (Modul: DeviceSmahmCounter) und der korrekten Seriennummer.
  • SMA Sunny Boy/Tripower (Modul: DeviceSunnyBoy) mit der Geräte-IP für meinen Tripower 7000 und der Komponente SMA Sunny Boy/Tripower Wechselrichter (Modul: DeviceSunnyBoyInverter) als Nicht-Hybrid-System in der Version Standard
Falls jemand eine Idee hat, wäre ich sehr dankbar. Stehe kurz davor, wieder auf 1.9 zu wechseln mit der ich über Jahre 0 Probleme hatte...
Elchkopp
Beiträge: 527
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Laderungssteuerung

Beitrag von Elchkopp »

Welche Version der v2 hast Du installiert?
Wikinger
Beiträge: 29
Registriert: Do Sep 12, 2019 11:51 am

Re: Laderungssteuerung

Beitrag von Wikinger »

Release 2023-09-27 10:18:20 +0200 [380ac109e]
Eine "richtige" Versionsnummer konnte ich auf die Schnelle nicht finden.

Edit: Hatte aber auch bereits die letzte Beta ohne Erfolg ausprobiert.
zut
Beiträge: 443
Registriert: Di Feb 23, 2021 9:34 pm

Re: Laderungssteuerung

Beitrag von zut »

Zeig mal ein Bildschirmphoto der Statusseite mit aufgeklappt en Einträgen. Ich bemerke, dass du zwei IDs für chargerpoints hast - internal chargepont 0 und Chargepoint 14?

Möglicherweise könnte auch das Löschen und Neuanlegen des chargerpoints helfen - das hatte ich schon zweimal beim Chargepoint und einmal beim Zähler (jeweils nach Wechsel des Entwicklungszweiges)
LenaK
Beiträge: 1063
Registriert: Fr Jan 22, 2021 6:40 am

Re: Laderungssteuerung

Beitrag von LenaK »

Bitte das Debuglevel auf Details stellen und mindestens einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem Main-Log unter System->Fehlersuche posten, wenn das Problem auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
hhoefling
Beiträge: 637
Registriert: So Jul 25, 2021 2:32 pm

Re: Laderungssteuerung

Beitrag von hhoefling »

Ich als nicht 2.0'er würde bei dem Token
"power_factors" sowas erwarten [0.99,0.99,1.00] aber nicht "99.4"
gruss
Heinz

6kWp PV+Akku von RCT Power,+Tibber,+Shelly's
Skoda Citigo e-iV, openWB series2 standart+
mit openWB_lite (auf Basis der openWB 1.9.244+ Okt.2021)
Github: https://github.com/hhoefling/openWB_lite
Wikinger
Beiträge: 29
Registriert: Do Sep 12, 2019 11:51 am

Re: Laderungssteuerung

Beitrag von Wikinger »

LenaK hat geschrieben: Mo Okt 16, 2023 9:58 am Bitte das Debuglevel auf Details stellen und mindestens einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem Main-Log unter System->Fehlersuche posten, wenn das Problem auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
Danke für die Rückmeldung. Hier der Logauszug:

Code: Alles auswählen

2023-10-16 17:19:30,654 - {root:66} - {INFO:MainThread} - # ***Start*** 
2023-10-16 17:19:30,686 - {modules.devices.sma_sunny_island.device:47} - {DEBUG:device1} - Start device reading {'component3': <modules.devices.sma_sunny_island.bat.SunnyIslandBat object at 0x72596478>}
2023-10-16 17:19:30,687 - {modules.common.component_context:51} - {DEBUG:device6} - Update Komponenten ['SMA Home Manager Zähler']
2023-10-16 17:19:30,688 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['SMA Sunny Island Speicher']
2023-10-16 17:19:30,688 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device8} - Start device reading {'component13': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x71b45178>}
2023-10-16 17:19:30,690 - {modules.common.component_context:24} - {DEBUG:set values cp14} - Update Komponente ['Ladepunkt']
2023-10-16 17:19:30,722 - {modules.common.component_context:24} - {DEBUG:device8} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-10-16 17:19:30,726 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=11732600, exported=8490400, power=-240, soc=72)
2023-10-16 17:19:31,072 - {modules.common.component_context:24} - {DEBUG:device6} - Update Komponente ['SMA Home Manager Zähler']
2023-10-16 17:19:31,072 - {modules.common.store._api:26} - {DEBUG:device6} - Raw data CounterState(currents=[-1.181, 1.495, 0.518], powers=[-262.0, 249.1, 8.1], voltages=[238.117, 238.382, 238.39], power_factors=[0.986, 0.903, 0.095], imported=17860573.0, exported=28620426.200000003, power=-4.8, frequency=50)
2023-10-16 17:19:31,074 - {modules.devices.sma_shm.device:29} - {DEBUG:device6} - All components updated
2023-10-16 17:19:31,356 - {modules.devices.sma_sunny_boy.inverter:72} - {DEBUG:device8} - WR 192.168.0.a: InverterState(currents=[0.0, 0.0, 0.0], power=-111, exported=57990955, dc_power=-130)
2023-10-16 17:19:31,357 - {modules.common.store._api:26} - {DEBUG:device8} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-111, exported=57990955, dc_power=-130)
2023-10-16 17:19:31,360 - {modules.common.component_context:24} - {DEBUG:component13} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-10-16 17:19:31,361 - {modules.common.store._api:26} - {DEBUG:component13} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-111, exported=57990955, dc_power=None)
2023-10-16 17:19:31,362 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['SMA Sunny Island Speicher']
2023-10-16 17:19:31,362 - {modules.common.store._api:30} - {INFO:component13} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-111, exported=57990955, dc_power=None)
2023-10-16 17:19:31,364 - {modules.common.store._api:30} - {INFO:component3} - Saving BatState(imported=11732600, exported=8490400, power=-240, soc=72)
2023-10-16 17:19:31,364 - {modules.common.component_context:24} - {DEBUG:update values cp14} - Update Komponente ['Ladepunkt']
2023-10-16 17:19:31,411 - {modules.common.component_context:24} - {DEBUG:component11} - Update Komponente ['SMA Home Manager Zähler']
2023-10-16 17:19:31,412 - {modules.common.store._api:30} - {INFO:component11} - Saving CounterState(currents=[-1.181, 1.495, 0.518], powers=[-262.0, 249.1, 8.1], voltages=[238.117, 238.382, 238.39], power_factors=[0.986, 0.903, 0.095], imported=17860573.0, exported=28620426.200000003, power=-4.8, frequency=50)
2023-10-16 17:19:31,552 - {control.bat_all:153} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung durch maximale Ausgangsleistung auf 290W begrenzt.
2023-10-16 17:19:31,553 - {control.bat_all:192} - {DEBUG:MainThread} - Erlaubte Entlade-Leistung nutzen 290W
2023-10-16 17:19:31,561 - {control.bat_all:164} - {INFO:MainThread} - 290W verbleibende Speicher-Leistung
2023-10-16 17:19:31,563 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 11: [17.2, 14.52, 15.51]A
2023-10-16 17:19:31,565 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 11: 11004.8W
2023-10-16 17:19:31,567 - {control.chargepoint.chargepoint:814} - {DEBUG:MainThread} - SoC nach Anstecken
2023-10-16 17:19:31,572 - {control.chargepoint.chargepoint:669} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-10-16 17:19:31,583 - {control.chargepoint.chargepoint:856} - {DEBUG:MainThread} - LP 14, EV: Standard-Fahrzeug (EV-Nr.0): Lademodus stop, Submodus: Chargemode.STOP
2023-10-16 17:19:31,584 - {control.chargepoint.chargepoint:271} - {INFO:MainThread} - LP 14: Keine Ladung, da der Lademodus Stop aktiv ist.
2023-10-16 17:19:31,600 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1697469451.4921627, power=359.4, imported=338150.21476564, exported=0)
2023-10-16 17:19:31,606 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0333634, power1: 359.4, power2: 346.2
2023-10-16 17:19:31,608 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 11.7706
2023-10-16 17:19:31,609 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 11.7706 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1697469571.600366, power=346.2, imported=338161.9853695743, exported=0)
2023-10-16 17:19:31,614 - {control.data:337} - {INFO:MainThread} - bat3
BatData(get=Get(soc=72, daily_exported=900, daily_imported=4600, imported=11732600, exported=8490400, fault_state=0, fault_str='Kein Fehler.', power=-240))
2023-10-16 17:19:31,620 - {control.data:307} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=72, daily_exported=900, daily_imported=4600, imported=11732600, exported=8490400, power=-240), set=Set(charging_power_left=290, switch_on_soc_reached=True))
2023-10-16 17:19:31,621 - {control.data:308} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=10, daily_exported=0, power=0, imported=3935520, exported=0))
2023-10-16 17:19:31,622 - {control.data:337} - {INFO:MainThread} - cp14
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[0.02, 0.02, 0.03], daily_imported=10, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=3935520, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da der Lademodus Stop aktiv ist.', voltages=[238.5, 238.5, 238.4]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=0, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=3935510, imported_at_plugtime=3935510, imported_since_mode_switch=0, imported_since_plugged=10, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=3, plug_state_prev=False, plug_time='10/16/2023, 07:15:11', required_power=0.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x71b45c28>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Goette', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=14))
2023-10-16 17:19:31,623 - {control.data:337} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-10-16 17:19:31,625 - {control.data:337} - {INFO:MainThread} - counter11
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), get=Get(powers=[-262.0, 249.1, 8.1], currents=[-1.18, 1.5, 0.52], voltages=[238.12, 238.38, 238.39], power_factors=[0.99, 0.9, 0.1], unbalanced_load=0, frequency=50, daily_exported=3877.8, daily_imported=3193.299999998, imported=17860573.0, exported=28620426.200000003, fault_state=0, fault_str='Kein Fehler.', power=-4.8), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=11004.8, raw_currents_left=[17.2, 14.52, 15.51], surplus_power_left=0, state_str=''))
2023-10-16 17:19:31,627 - {control.data:312} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 11, 'type': 'counter', 'children': [{'id': 13, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'bat', 'children': []}, {'id': 14, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=346.2, invalid_home_consumption=0, daily_yield_home_consumption=7954.70372000075, imported_home_consumption=338161.9853695743, disengageable_smarthome_power=0))
2023-10-16 17:19:31,629 - {control.data:337} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=31, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=14, limit=Limit(selected='amount', amount=2000, soc=50))))
2023-10-16 17:19:31,630 - {control.data:337} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Zeitladen', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['11:00', '16:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='scheduled_charging', 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=14, limit=Limit(selected='none', amount=1000, soc=50))))
2023-10-16 17:19:31,633 - {control.data:337} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, 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=8, max_current_single_phase=16, battery_capacity=10000, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, imported_instant_charging=None, imported_at_plan_start=3935520, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-10-16 17:19:31,638 - {control.data:337} - {INFO:MainThread} - ev6
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, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, imported_instant_charging=None, imported_at_plan_start=None, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-10-16 17:19:31,641 - {control.data:337} - {INFO:MainThread} - ev14
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, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, imported_instant_charging=None, imported_at_plan_start=None, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-10-16 17:19:31,642 - {control.data:337} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, 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=8, max_current_single_phase=16, battery_capacity=10000, nominal_difference=1, keep_charge_active_duration=40)
2023-10-16 17:19:31,644 - {control.data:316} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=4500, phase_switch_delay=7, phases_to_use=3, rundown_power=1000, rundown_soc=30, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=200, switch_on_delay=5, switch_on_soc=60, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.32, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-10-16 17:19:31,645 - {control.data:317} - {INFO:MainThread} - general_data-display
local
2023-10-16 17:19:31,648 - {control.data:318} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-10-16 17:19:31,651 - {control.data:319} - {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 0x71b4ccb8>), led=Led(active=False), rfid=Rfid(active=False))
2023-10-16 17:19:31,654 - {control.data:337} - {INFO:MainThread} - pv13
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=12365, monthly_exported=0, yearly_exported=0, exported=57990955, fault_state=0, fault_str='Kein Fehler.', power=-111))
2023-10-16 17:19:31,655 - {control.data:321} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=12365, monthly_exported=0, yearly_exported=0, exported=57990955, power=-111))
2023-10-16 17:19:31,656 - {control.data:337} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.0.d', 'current_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_branch': 'Release', 'current_branch_commit': '2023-09-27 10:18:20 +0200 [380ac109e]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 21, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.1', 'lastlivevaluesJson': {'timestamp': 1697469451, 'time': '17:17:31', 'grid': 0.004, 'house-power': 0.359, 'charging-all': 0.0, 'pv-all': 0.125, 'cp14-power': 0.0, 'bat-all-power': -0.23, 'bat-all-soc': 72}, 'module_update_completed': True}
2023-10-16 17:19:31,657 - {control.data:350} - {INFO:MainThread} - device1
{'name': 'SMA Sunny Island', 'type': 'sma_sunny_island', 'id': 1, 'configuration': {'ip_address': '192.168.0.c'}}
2023-10-16 17:19:31,661 - {control.data:352} - {INFO:MainThread} - component3
{'name': 'SMA Sunny Island Speicher', 'type': 'bat', 'id': 3, 'configuration': {}}
2023-10-16 17:19:31,666 - {control.data:350} - {INFO:MainThread} - device6
{'name': 'SMA Home Manager', 'type': 'sma_shm', 'id': 6, 'configuration': {}}
2023-10-16 17:19:31,671 - {control.data:352} - {INFO:MainThread} - component11
{'name': 'SMA Home Manager Zähler', 'type': 'counter', 'id': 11, 'configuration': {'serials': 12345678}}
2023-10-16 17:19:31,673 - {control.data:350} - {INFO:MainThread} - device8
{'name': 'SMA Sunny Boy/Tripower', 'type': 'sma_sunny_boy', 'id': 8, 'configuration': {'ip_address': '192.168.0.a'}}
2023-10-16 17:19:31,676 - {control.data:352} - {INFO:MainThread} - component13
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 13, 'configuration': {'hybrid': False, 'version': 0}}
2023-10-16 17:19:31,678 - {control.data:324} - {INFO:MainThread} - 

2023-10-16 17:19:31,679 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-10-16 17:19:31,680 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-10-16 17:19:31,684 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-10-16 17:19:31,687 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 409.7999999999993W
2023-10-16 17:19:31,689 - {control.counter:470} - {DEBUG:MainThread} - Zähler 11: Begrenzung der verbleibenden Leistung auf 409.7999999999993W
2023-10-16 17:19:31,691 - {control.algorithm.algorithm:39} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-10-16 17:19:31,698 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-10-16 17:19:31,713 - {modules.common.component_context:24} - {DEBUG:set current cp14} - Update Komponente ['Ladepunkt']
2023-10-16 17:19:31,741 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-10-16 17:19:31,914 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-10-16 17:19:33,323 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/internal_chargepoint/0/get/power_factors, Payload 100.0 liegt in keinem der angegebenen Wertebereiche.
2023-10-16 17:19:33,422 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/chargepoint/14/get/power_factors, Payload 100.0 liegt in keinem der angegebenen Wertebereiche.
2023-10-16 17:19:35,230 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/internal_chargepoint/0/get/power_factors, Payload 100.0 liegt in keinem der angegebenen Wertebereiche.
2023-10-16 17:19:35,929 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-10-16 17:19:35,930 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-10-16 17:19:37,088 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/internal_chargepoint/0/get/power_factors, Payload 100.0 liegt in keinem der angegebenen Wertebereiche.
2023-10-16 17:19:38,898 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/internal_chargepoint/0/get/power_factors, Payload 100.0 liegt in keinem der angegebenen Wertebereiche.
2023-10-16 17:19:40,675 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/internal_chargepoint/0/get/power_factors, Payload 100.0 liegt in keinem der angegebenen Wertebereiche.
2023-10-16 17:19:40,942 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-10-16 17:19:40,943 - {root:66} - {INFO:MainThread} - # ***Start*** 
Wikinger
Beiträge: 29
Registriert: Do Sep 12, 2019 11:51 am

Re: Laderungssteuerung

Beitrag von Wikinger »

zut hat geschrieben: Mo Okt 16, 2023 4:57 am Zeig mal ein Bildschirmphoto der Statusseite mit aufgeklappt en Einträgen. Ich bemerke, dass du zwei IDs für chargerpoints hast - internal chargepont 0 und Chargepoint 14?

Möglicherweise könnte auch das Löschen und Neuanlegen des chargerpoints helfen - das hatte ich schon zweimal beim Chargepoint und einmal beim Zähler (jeweils nach Wechsel des Entwicklungszweiges)
Vielen Dank für die Antwort.
Auf der Statusseite ist der einzige Hinweis auf ID 0: Standard-Fahrzeug (ID: 0)
ID: 14 ist die eine (einzige) Ladestation. Diese habe ich bereits mehrfach ohne Erfolg neu angelegt. Habe auch bereits alle Geräte einmal neu angelegt.
Elchkopp
Beiträge: 527
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Laderungssteuerung

Beitrag von Elchkopp »

Hast Du nach dem Löschen einmal die Software über die die entsprechende Funktion neu gestartet? Dann sollten eigentlich alle gelöschten IDs wieder freigegeben werden. Vielleicht würde das den Knoten lösen?
Wikinger
Beiträge: 29
Registriert: Do Sep 12, 2019 11:51 am

Re: Laderungssteuerung

Beitrag von Wikinger »

Hallo und vielen Dank allen für die Hilfe!

Ich habe dann mal schweren Herzens den Vorschlag von Elchkopp befolgt und zuerst alle Geräte manuell gelöscht und im Anschluss daran noch eine vollständige Rücksetzung durchgeführt.
Soweit sieht das Debug-Log nach Neueinrichtung gut aus und die Ladung springt auch nicht sofort an (Ladeschwelle eingehalten). Morgen wird's hier wohl sonnig, mal schauen, obs läuft. Aber ich bin guter Dinge.

So nervig es ist, muss man wohl derzeit noch einkalkulieren, dass bei der 2er Version ggf. mal ein Reset her muss. Theoretisch hätte man da auch alleine drauf kommen können - ging zumindest schneller, als die ganze Rumprobiererei vorher. :oops:
Antworten