Feedback Beta 2

Fragen zur Nutzung, Features, usw..
Addy
Beiträge: 50
Registriert: So Mai 08, 2022 12:01 am
Wohnort: Rheinland-Pfalz

Re: Feedback Beta 2

Beitrag von Addy »

Nochmal zur Phasenumschaltung.

Die Ladung läuft mit 1Phase a 32A, es sind Überschuss: 3072.9W vorhanden und er möchte nicht auf 3 Phasen umschalten

Was bedeutet: benötigte neue Leistung: -3220W
LP2 Switch-Off-Threshold prüfen: -3072.9W,

Brauche ich 32A + 3220W Überschuss damit die Umschaltung startet? Ich habe doch mehr wie 4140Watt was für 3 Phasen minimal wäre an Ladeleistung, hier müsste die Umschaltung sofort erfolgen.

Code: Alles auswählen

2023-03-18 13:06:31,249 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-18 13:06:31,250 - {control.algorithm.algorithm:72} - {DEBUG:MainThread} - Ladepunkt 2: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2023-03-18 13:06:31,250 - {control.ev:469} - {DEBUG:MainThread} - Genutzter Strom: 31.25A, Überschuss: 3072.9W, benötigte neue Leistung: -3220W
2023-03-18 13:06:31,253 - {control.counter:344} - {DEBUG:MainThread} - LP2 Switch-Off-Threshold prüfen: -3072.9W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2023-03-18 13:06:31,255 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-18 13:06:31,258 - {control.algorithm.min_current:19} - {INFO:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, True), Zähler 0
2023-03-18 13:06:31,259 - {control.counter:156} - {DEBUG:MainThread} - Zähler 0: [43.870000000000005, 50.91, 47.93]A verbleibende Ströme, 32943.29W verbleibende Leistung
2023-03-18 13:06:31,259 - {control.algorithm.common:87} - {INFO:MainThread} - LP2: Stromstärke 6A
2023-03-18 13:06:31,260 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-18 13:06:31,263 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 8828.29W
2023-03-18 13:06:31,264 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 8828.29W
2023-03-18 13:06:31,264 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-18 13:06:31,266 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [2]
2023-03-18 13:06:31,267 - {control.algorithm.surplus_controlled:41} - {INFO:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, True), Zähler 0
2023-03-18 13:06:31,267 - {control.counter:163} - {DEBUG:MainThread} - Zähler 0: [17.870000000000005, 50.91, 47.93]A verbleibende Ströme, 2848.290000000001W verbleibender Überschuss
2023-03-18 13:06:31,268 - {control.algorithm.common:87} - {INFO:MainThread} - LP2: Stromstärke 32A
2023-03-18 13:06:31,269 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-18 13:06:31,270 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 557.9799999999814 counter 757159.97
2023-03-18 13:06:31,272 - {control.process:106} - {INFO:MainThread} - LP2: set current 32 A
2023-03-18 13:06:31,274 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-18 13:06:31,287 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-18 13:06:31,531 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-18 13:06:40,634 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-18 13:06:40,635 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-18 13:06:40,687 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['SMA Home Manager 2.0']
2023-03-18 13:06:40,688 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device1} - Start device reading {'component1': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x75bccdc0>}
2023-03-18 13:06:40,688 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-18 13:06:40,692 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-03-18 13:06:40,900 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SMA Home Manager 2.0']
2023-03-18 13:06:40,901 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[237.937, 239.058, 236.294], powers=[3750.7, -3621.0, -2878.0], currents=[16.757, -15.295, -12.338], power_factors=[0.996, 0.993, 0.992], imported=1249117.9, exported=2843089.8000000003, power=-2748.2, frequency=50.015)
2023-03-18 13:06:40,903 - {modules.devices.sma_shm.device:29} - {DEBUG:device0} - All components updated
2023-03-18 13:06:41,232 - {modules.devices.sma_sunny_boy.inverter:63} - {DEBUG:device1} - WR 192.168.12.46: InverterState(currents=[0.0, 0.0, 0.0], power=-10818, exported=4487836, dc_power=-11190)
2023-03-18 13:06:41,232 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-10818, exported=4487836, dc_power=-11190)
2023-03-18 13:06:41,238 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2023-03-18 13:06:41,239 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-18 13:06:41,240 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-10818, exported=4487836, dc_power=None)
2023-03-18 13:06:41,247 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-10818, exported=4487836, dc_power=None)
2023-03-18 13:06:41,287 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SMA Home Manager 2.0']
2023-03-18 13:06:41,287 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[237.937, 239.058, 236.294], powers=[3750.7, -3621.0, -2878.0], currents=[16.757, -15.295, -12.338], power_factors=[0.996, 0.993, 0.992], imported=1249117.9, exported=2843089.8000000003, power=-2748.2, frequency=50.015)
2023-03-18 13:06:41,410 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [49.48, 50.39, 47.45]A
2023-03-18 13:06:41,410 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 34013.869999999995W
2023-03-18 13:06:41,413 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-18 13:06:41,416 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-03-18 13:06:41,422 - {control.chargepoint:881} - {INFO:MainThread} - LP 2, EV: eAuto (EV-Nr.1): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 31.24
Das ganze Log befindet sich im Anhang.

Gruß
Markus
Dateianhänge
2023-03-18 1300.txt
(2.39 MiB) 23-mal heruntergeladen
iwietfeld
Beiträge: 16
Registriert: Fr Aug 27, 2021 7:32 pm

Re: Feedback Beta 2

Beitrag von iwietfeld »

Hallo zusammen,

beim Überschuss-PV-Laden ergibt sich für einen Kona (64kwh) folgendes Problem: Das Auto schläft bei einer Ladeunterbrechung ein.
(Die Wallbox ist eine openWB series2 Standard. Somit verfügt sie nicht über eine automatisch CP-Unterbrechung.)

Recherchen hier im open WB Forum haben ergeben, dass eine Soc-Abfrage das Fahrzeug wieder aufweckt. Unter OpenWB 2.0 , Nightly, ist kein SoC-Modul für einen Hyundai Kona zu finden.

Wie kann ich die SoC-Abfrage für einen Hyundai Kona einrichten? (Oder alternativ: Hat jemand einen Tipp, wie man den Hyundai Kona, Modelljahr 2022, wach halten kann?)

Vielen Dank für die Hilfe im voraus!
Basti
Beiträge: 51
Registriert: Di Feb 21, 2023 3:28 pm

Re: Feedback Beta 2

Beitrag von Basti »

Guten Morgen,

kann es sein das wenn 2 Openwb2 Custom damit gesteuert werden und beide im Stop sind und der Modus bei der LP1 geändert wird sich auch der Modus der LP2 ändert? Das sollte doch so nicht sein? Ich vermute hier ist ein BUG

Version. 2023-03-13 14:52:30 +0100 [91d8e437]

Danke
Ihaglc
Beiträge: 422
Registriert: Fr Nov 06, 2020 11:32 am

Re: Feedback Beta 2

Beitrag von Ihaglc »

Fehler für Solaredge Hybrid Systeme auch in aktueller Version vom 23.03. weiterhin vorhanden.
viewtopic.php?p=82931#p82931
Gruß
Thomas
----------------------------------------
Wallbox OpenWB Standard+ 22 kW
PV Modul JaSolar
WR Solaredge SE7K Hybrid
Speicher LG Resu13
EV Mercedes GLC Hybrid
LutzB
Beiträge: 3479
Registriert: Di Feb 25, 2020 9:23 am

Re: Feedback Beta 2

Beitrag von LutzB »

Wenn es Anpassungen an dem Solaredge Modul geben sollte, steht es in der Versionshistorie. Du musst nicht jedes mal schreiben, dass sich nichts geändert hat, wenn am Code auch nichts geändert wurde. ;)
Ihaglc
Beiträge: 422
Registriert: Fr Nov 06, 2020 11:32 am

Re: Feedback Beta 2

Beitrag von Ihaglc »

Wenn Du den geposteten Link benutzt hättest, wäre Dir aufgefallen, dass es schon eine neuere Version nach dem Fehler gibt, in der dieser Fehler nicht auftritt
Ihaglc hat geschrieben: Fr Mär 24, 2023 10:57 am
Kurioser Weise wurde in der Entwicklungszweig-Version "feature-mercedesEQ" vom 16.03.2023 die Anzeige korrigiert und wieder richtig dargestellt.
Hat man vergessen diese Korrektur in den Master zu übernehmen?
Gruß
Thomas
----------------------------------------
Wallbox OpenWB Standard+ 22 kW
PV Modul JaSolar
WR Solaredge SE7K Hybrid
Speicher LG Resu13
EV Mercedes GLC Hybrid
LutzB
Beiträge: 3479
Registriert: Di Feb 25, 2020 9:23 am

Re: Feedback Beta 2

Beitrag von LutzB »

Interessante Wechselwirkung zwischen Mercedes uns Solaredge. :D

Vergleich die Branches mal. Ich bezweifel, dass es dort Unterschiede bei Solaredge gibt. Der Mercedes Branch basiert auf dem Master.
Ihaglc
Beiträge: 422
Registriert: Fr Nov 06, 2020 11:32 am

Re: Feedback Beta 2

Beitrag von Ihaglc »

Ich bin kein Experte, da stecke ich nicht drin. Ich kann nur die Unterschiede feststellen:
anbei der Screenshot von dem Mercedeseq Branch, der zu den Werten zu 1.9 passt, mit entprechendem log dazu.



Code: Alles auswählen

2023-03-24 15:23:40,758 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 9.04947
2023-03-24 15:23:40,759 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 9.04947 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1679667820.7575705, power=3359.0, imported=98102.2460357493, exported=72793.02585577348)
2023-03-24 15:23:40,760 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=98102.2460357493, exported=72793.02585577348, power=3359.0, soc=81.0)
2023-03-24 15:23:43,428 - {modules.common.fault_state:40} - {ERROR:cp2} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 60, in get_values
    self.__client_error_context.reset_error_counter()
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 53, in get_values
    pub.pub_single("openWB/set/isss/heartbeat", 0, hostname=ip_address)
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

2023-03-24 15:23:43,431 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['SolarEdge Speicher']
2023-03-24 15:23:43,433 - {modules.common.store._api:30} - {INFO:component3} - Saving BatState(imported=98102.2460357493, exported=72793.02585577348, power=3359.0, soc=81.0)
2023-03-24 15:23:43,495 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-24 15:23:43,496 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-24 15:23:43,497 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3893.0, exported=16218635.22, dc_power=None)
2023-03-24 15:23:43,498 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3893.0, exported=16218635.22, dc_power=None)
2023-03-24 15:23:43,525 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-03-24 15:23:43,526 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[236.89000000000001, 237.6, 238.63], powers=[348.0, -168.0, -154.0], currents=[1.7000000000000002, -0.7000000000000001, -0.7000000000000001], power_factors=[0.7879, -0.9499, -0.93], imported=4627076.0, exported=6778057.0, power=25.0, frequency=50.0)
2023-03-24 15:23:43,587 - {control.bat_all:137} - {WARNING:MainThread} - Bat 3: Die maximale Entladeleistung des Wechselrichters ist erreicht.
2023-03-24 15:23:43,643 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 3432.0W
2023-03-24 15:23:43,647 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (300W) subtrahieren: 3132.0
2023-03-24 15:23:43,647 - {control.bat_all:149} - {INFO:MainThread} - 3132.0W verbliebende Speicher-Leistung
2023-03-24 15:23:43,648 - {control.counter:131} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [47.3, 49.7, 49.7]A
2023-03-24 15:23:43,649 - {control.counter:153} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 49975.0W
2023-03-24 15:23:43,657 - {control.chargepoint:354} - {INFO:MainThread} - LP 2: Keine Ladung, da kein Auto angesteckt ist.
2023-03-24 15:23:43,672 - {control.data:334} - {INFO:MainThread} - bat3
BatData(get=Get(soc=81, daily_exported=1272.29, daily_imported=9553.42, imported=98102.25, exported=72793.03, fault_state=0, fault_str='Kein Fehler.', power=3359.0))
2023-03-24 15:23:43,676 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=81, daily_exported=1272.29, daily_imported=9553.42, imported=98093.2, exported=72793.03, power=3432.0), set=Set(charging_power_left=3132.0, switch_on_soc_reached=True))
2023-03-24 15:23:43,683 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-03-24 15:23:43,685 - {control.data:334} - {INFO:MainThread} - cp2
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.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.', fault_state=2, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.0, 230.0, 230.0]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x713fa280>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.2.231', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=2))
2023-03-24 15:23:43,685 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-24 15:23:43,687 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=50000), get=Get(powers=[348.0, -168.0, -154.0], currents=[1.7, -0.7, -0.7], voltages=[236.89, 237.6, 238.63], power_factors=[0.79, -0.95, -0.93], unbalanced_load=0, frequency=50.0, daily_exported=1109.0, daily_imported=4048.0, imported=4627076.0, exported=6778057.0, fault_state=0, fault_str='Kein Fehler.', power=25.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=49975.0, raw_currents_left=[47.3, 49.7, 49.7], surplus_power_left=0, state_str=''))
2023-03-24 15:23:43,690 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 3, 'type': 'bat', 'children': []}]}, {'id': 2, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=559.0, invalid_home_consumption=0, daily_yield_home_consumption=15326.0))
2023-03-24 15:23:43,691 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=75, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=14, limit=Limit(selected='soc', amount=500, soc=100))))
2023-03-24 15:23:43,692 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), 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'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='03/24/2023, 08:20:16', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-24 15:23:43,695 - {control.data:334} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), 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'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-24 15:23:43,696 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=32, battery_capacity=13, nominal_difference=0.5)
2023-03-24 15:23:43,699 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=300, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, rundown_power=2000, rundown_soc=80, switch_off_delay=179, switch_off_soc=0, switch_off_threshold=50, switch_on_delay=180, switch_on_soc=0, switch_on_threshold=1300), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.48, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-24 15:23:43,699 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-24 15:23:43,700 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-03-24 15:23:43,700 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=7200), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=20668.13, monthly_exported=0, yearly_exported=0, exported=16218635.22, fault_state=0, fault_str='Kein Fehler.', power=-3893.0))
2023-03-24 15:23:43,700 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=20668.13, monthly_exported=0, yearly_exported=0, exported=16218625.17, power=-3922.0))
2023-03-24 15:23:43,701 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.2.130', 'current_commit': '2023-03-16 07:49:04 +0100 [d819d0e8]', 'current_branch': 'feature-mercedeseq', 'current_branch_commit': '2023-03-16 07:49:04 +0100 [d819d0e8]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679667816, 'time': '15:23:36', 'grid': 0.06, 'house-power': 0.55, 'charging-all': 0.0, 'pv-all': 4.17, 'ev0-soc': 0, 'bat-all-power': 3.575, 'bat-all-soc': 81}, 'module_update_completed': True}
2023-03-24 15:23:43,701 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2023-03-24 15:23:43,701 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-03-24 15:23:43,702 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-03-24 15:23:43,702 - {control.data:349} - {INFO:MainThread} - component3
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 3, 'configuration': {'modbus_id': 1}}
2023-03-24 15:23:43,702 - {control.data:321} - {INFO:MainThread} - 

2023-03-24 15:23:43,702 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-24 15:23:43,703 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-24 15:23:43,707 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-24 15:23:43,711 - {control.counter:190} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2992.0W
2023-03-24 15:23:43,712 - {control.counter:453} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 2992.0W
2023-03-24 15:23:43,712 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-24 15:23:43,715 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-24 15:23:43,717 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-24 15:23:46,547 - {modules.common.fault_state:40} - {ERROR:cp2} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 44, in set_current
    pub.pub_single("openWB/set/isss/Lp2Current", current,
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 41, in set_current
    pub.pub_single("openWB/set/isss/Current", current,
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

2023-03-24 15:23:46,553 - {control.counter:178} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-24 15:23:46,773 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-24 15:23:50,842 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-24 15:23:50,843 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-24 15:23:50,887 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x725d3a30>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x725d3940>, 'component3': <modules.devices.solaredge.bat.SolaredgeBat object at 0x725ee520>}
2023-03-24 15:23:50,889 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-24 15:23:50,894 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-03-24 15:23:50,927 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [117, -294, 213, 198], Scale 0
2023-03-24 15:23:50,947 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [17, 8, 8], Scale -1
2023-03-24 15:23:50,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23690, 23717, 23847, 0, 0, 0, 0], Scale -2
2023-03-24 15:23:50,997 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-03-24 15:23:51,016 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7630, -9610, -9470], Scale -2
2023-03-24 15:23:51,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6778057, 2136060, 4166648, 4219145, 4627076, 6005036, 1559703, 806132], Scale 0
2023-03-24 15:23:51,038 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[236.9, 237.17000000000002, 238.47], powers=[294.0, -213.0, -198.0], currents=[1.7000000000000002, -0.8, -0.8], power_factors=[0.763, -0.9610000000000001, -0.9470000000000001], imported=4627076.0, exported=6778057.0, power=-117.0, frequency=50.0)
2023-03-24 15:23:51,040 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-24 15:23:51,067 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6460], Scale -1
2023-03-24 15:23:51,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [16193328], Scale 0
2023-03-24 15:23:51,147 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [92, 95, 92], Scale -2
2023-03-24 15:23:51,167 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6558], Scale -1
2023-03-24 15:23:51,168 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-0.92, -0.9500000000000001, -0.92], power=-646.0, exported=16193328.0, dc_power=-655.8000000000001)
2023-03-24 15:23:51,175 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-03-24 15:23:51,341 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1679667820.7575705, power=3359.0, imported=98102.2460357493, exported=72793.02585577348)
2023-03-24 15:23:51,341 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00293984, power1: 3359, power2: 3604
2023-03-24 15:23:51,342 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 10.2351
2023-03-24 15:23:51,342 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 10.2351 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1679667831.3410087, power=3604.0, imported=98112.4811024013, exported=72793.02585577348)
2023-03-24 15:23:51,344 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=98112.4811024013, exported=72793.02585577348, power=3604.0, soc=81.0)
2023-03-24 15:23:53,988 - {modules.common.fault_state:40} - {ERROR:cp2} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 60, in get_values
    self.__client_error_context.reset_error_counter()
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 53, in get_values
    pub.pub_single("openWB/set/isss/heartbeat", 0, hostname=ip_address)
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host
Dateianhänge
2023-03-24 15_37_18-Start.jpg
2023-03-24 15_37_43-Start.jpg
Gruß
Thomas
----------------------------------------
Wallbox OpenWB Standard+ 22 kW
PV Modul JaSolar
WR Solaredge SE7K Hybrid
Speicher LG Resu13
EV Mercedes GLC Hybrid
Samoht
Beiträge: 79
Registriert: So Mai 29, 2022 9:53 pm

Re: Feedback Beta 2

Beitrag von Samoht »

Mir ist gerade aufgefallen, das der SoC von PSA nur alle 12 Stunden ausgelesen wird, warum ist das so? Einen Zeitparameter habe ich nicht gefunden.
Bildschirm­foto 2023-03-24 um 15.51.26.png
Und wieso sind eigentlich diese Logs jetzt chronologisch andersrum? Fand die alte Variante (neueste oben) wesentlich praktischer (weniger scrollen/wischen).
derNeueDet
Beiträge: 4197
Registriert: Mi Nov 11, 2020 7:16 pm

Re: Feedback Beta 2

Beitrag von derNeueDet »

Samoht hat geschrieben: Fr Mär 24, 2023 2:53 pm Mir ist gerade aufgefallen, das der SoC von PSA nur alle 12 Stunden ausgelesen wird, warum ist das so? Einen Zeitparameter habe ich nicht gefunden.

Bildschirm­foto 2023-03-24 um 15.51.26.png

Und wieso sind eigentlich diese Logs jetzt chronologisch andersrum? Fand die alte Variante (neueste oben) wesentlich praktischer (weniger scrollen/wischen).
Ist beides so. So lange nicht geladen wir, ist die SOC Abfrage reduziert. Logs sind jetzt Chronologisch aufsteigend. Gab es auch schon ne Diskussion dazu. Ich finde es auch nicht schlecht, vor allem wenn Log Auszüge hier ins Forum gepostet werden, dann kann man von oben nach unten lesen und muss nicht bei längeren Zeilen springen.

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
Gesperrt