Zusätzliche openWB an Kostal Infrastruktur

LenaK
Beiträge: 1315
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 17 times

Re: Zusätzliche openWB an Kostal Infrastruktur

Beitrag von LenaK »

Amok83 hat geschrieben: Do Feb 01, 2024 6:49 am
LenaK hat geschrieben: Mi Jan 31, 2024 8:46 am Für Kostal Plenticore WR und KSEM werden die Zählerstände ausgelesen. Hast Du die Register für die Zählerstände von Kostal Plenticore Zähler und Speicher?
Am sinnvollsten vermutlich Gesamtzähler!?
Da gibt es einige im Plenticore auszulesen, je nachdem was man braucht. Interessant sind wohl vor allem:
- Addr. 0x140 / 320 für "Total yield" in Wh
- Addr. 0x416 / 1046 für "Total DC charge energy (DC-side to battery)" in Wh
- Addr. 0x418 / 1048 für "Total DC discharge energy (DC-side from battery)" in Wh
- Addr. 0x41C / 1052 für "Total AC discharge energy (battery to grid)" in Wh
- Addr. 0x6E / 110 für "Total home consumption Battery" in Wh
- Addr. 0x70 / 112 für "Total home consumption Grid" in Wh
- Addr. 0x72 / 114 für "Total home consumption PV" in Wh

Quelle: "https://cdn-production.kostal.com/-/med ... hybrid.pdf"

Dann gibt es im KSEM auch noch ein paar relevante Zähler, wenn nicht direkt über Plenticore mit ausgelesen:
- Holding Register Addr. 0x200 / 512 "Total Imported Energy" (Wirkenergie) in 0,1 Wh
- Holding Register Addr. 0x204 / 516 "Total Exported Energy" (Wirkenergie) in 0,1 Wh

Quelle: "https://cdn-production.kostal.com/-/med ... sem_de.pdf"

Gruß
Alex
Die Register für den KSEM und Plenticore WR wurden bereits ausgelesen. Die Register für die Speicher-Zählerstände habe ich im Feature-Branch feauture_kostal_plenticore ergänzt. Die Register für den Plenticore Zähler sind in der Doku ja mit dem Stichwort powermeter versehen. Da finde ich keine Zählerstände.

Um auf den Feature-Branch zu wechseln, unter System -> System -> Entwicklungszweig feauture_kostal_plenticore auswählen. Vorher eine Sicherung erstellen.

Bitte prüfen, ob die Zählerstände für den Speicher korrekt sind.
Amok83
Beiträge: 677
Registriert: Mi Dez 02, 2020 10:17 am
Has thanked: 2 times

Re: Zusätzliche openWB an Kostal Infrastruktur

Beitrag von Amok83 »

LenaK hat geschrieben: Mi Mär 13, 2024 2:03 pm Bitte prüfen, ob die Zählerstände für den Speicher korrekt sind.
Ich bin tatsächlich noch gar nicht wieder auf 2.0 unterwegs, nachdem Kostal lange gefehlt hat und das Color Theme.
Die Zuordnung hatte ich mir allerdings im iobroker angesehen. Das sollte passen.

Falls sich keiner mit Plenticore und Speicher zum testen findet, könnte ich aber auch kurzfristig mal ein Testsystem hochziehen.
Kostal Piko 17
Kostal Plenticore Plus 10
Kostal Smart Energy Meter
BYD HVS 12.8
ioBroker
openWB series2 Duo
VW ID.7
aiole
Beiträge: 7748
Registriert: Mo Okt 08, 2018 4:51 pm
Has thanked: 18 times
Been thanked: 33 times

Re: Zusätzliche openWB an Kostal Infrastruktur

Beitrag von aiole »

Amok83 hat geschrieben: Fr Mär 15, 2024 11:33 am Falls sich keiner mit Plenticore und Speicher zum testen findet, könnte ich aber auch kurzfristig mal ein Testsystem hochziehen.
Wäre wünschenswert, um kurzfristig Sicherheit reinzubekommen, ob diese Konfig. korrekt läuft.
Amok83
Beiträge: 677
Registriert: Mi Dez 02, 2020 10:17 am
Has thanked: 2 times

Re: Zusätzliche openWB an Kostal Infrastruktur

Beitrag von Amok83 »

Ich habs gerade mal angeworfen.
openWB2.jpg
openWB2.jpg (38.75 KiB) 942 mal betrachtet
Plenti.jpg
Plenti.jpg (28.25 KiB) 942 mal betrachtet
Irgendwas passt da nicht ganz.
Die Werte sind zwar generell nahe am Ziel und bewegen sich auch beide über den Tagesverlauf, aber passen tun beide nicht.
Mehr als 100% Wirkungsgrad hat mein Speicher leider nicht. :lol:
Zudem weicht die entladene Energiemenge auch von der Kostal-Anzeige ab.

Es kann aber auch bei mir verfälscht sein, weil ich die Batterie nicht nur aus dem Überschuss des Plenticore lade,
sondern auch über den Winter noch aus AC mit dem Überschuss aus einem weiteren Wechselrichter. Vielleicht hat die Kostal-Logik da nicht für ausgereicht.
--> das würde aber nur weniger Ladung als Entladung erklären und nicht den abweichenden Wert.

Im Main Log - Schleife:

Code: Alles auswählen

2024-03-20 09:34:10,981 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-03-20 09:34:11,070 - {modules.common.component_context:54} - {DEBUG:device0} - Update Komponenten ['EVU', 'Plenticore', 'BYD']
2024-03-20 09:34:11,073 - {modules.devices.kostal_piko.device:57} - {DEBUG:device1} - Start device reading {'component5': <modules.devices.kostal_piko.inverter.KostalPikoInverter object at 0x7149abe0>}
2024-03-20 09:34:11,075 - {modules.common.component_context:25} - {DEBUG:set values cp3} - Update Komponente ['Ladepunkt']
2024-03-20 09:34:11,078 - {modules.common.component_context:25} - {DEBUG:set values cp4} - Update Komponente ['Ladepunkt']
2024-03-20 09:34:11,079 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Kostal Piko Wechselrichter']
2024-03-20 09:34:11,123 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): xxx.xxx.xxx.26:80
2024-03-20 09:34:11,136 - {modules.devices.kostal_plenticore.bat:29} - {DEBUG:device0} - raw bat power 2340
2024-03-20 09:34:11,140 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://xxx.xxx.xxx.26:80 "GET /api/dxs.json?dxsEntries=67109120&dxsEntries=251658753%29 HTTP/1.1" 200 None
2024-03-20 09:34:11,155 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"dxsEntries":[{"dxsId":67109120,"value":7408.398926},{"dxsId":251658753,"value":17601.070313}],"session":{"sessionId":0,"roleId":0},"status":{"code":0}}
2024-03-20 09:34:11,157 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-7408.398926, exported=17601070.313, dc_power=None)
2024-03-20 09:34:11,241 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1710923641.1856782, power=-19.399999618530273, imported=5.954753093648781, exported=31893428.640562505)
2024-03-20 09:34:11,241 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00279313, power1: -19.4, power2: -5.9
2024-03-20 09:34:11,242 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: -0.0353331
2024-03-20 09:34:11,243 - {modules.common.simcount._simcount:53} - {DEBUG:device0} - imported: 0 Wh, exported: 0.0353331 Wh, new state: SimCounterState(timestamp=1710923651.2409515, power=-5.900000095367432, imported=5.954753093648781, exported=31893428.675895616)
2024-03-20 09:34:11,244 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-8.469000816345215, -10.957000732421875, 19.76300048828125], powers=[-1944.800048828125, -2545.900146484375, 4489.0], voltages=[235.38601684570312, 236.75601196289062, 232.79600524902344], power_factors=[1.0, 1.0, 1.0], imported=5.954753093648781, exported=31893428.675895616, power=-5.900000095367432, frequency=49.992000579833984)
2024-03-20 09:34:11,266 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-848, exported=24984188.0, dc_power=None)
2024-03-20 09:34:11,267 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=1453324.0, exported=1699236.625, power=2340, soc=49)
2024-03-20 09:34:11,270 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['BYD']
2024-03-20 09:34:11,271 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=1453324.0, exported=1699236.625, power=2340, soc=49)
2024-03-20 09:34:11,325 - {modules.common.component_context:25} - {DEBUG:component1} - Update Komponente ['Plenticore']
2024-03-20 09:34:11,327 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3188, exported=24738275.38, dc_power=None)
2024-03-20 09:34:11,328 - {modules.common.component_context:25} - {DEBUG:update values cp3} - Update Komponente ['Ladepunkt']
2024-03-20 09:34:11,328 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3188, exported=24738275.38, dc_power=None)
2024-03-20 09:34:11,329 - {modules.common.component_context:25} - {DEBUG:update values cp4} - Update Komponente ['Ladepunkt']
2024-03-20 09:34:11,331 - {modules.common.component_context:25} - {DEBUG:component5} - Update Komponente ['Kostal Piko Wechselrichter']
2024-03-20 09:34:11,338 - {modules.common.store._api:26} - {DEBUG:component5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-7408.398926, exported=17601070.313, dc_power=None)
2024-03-20 09:34:11,340 - {modules.common.store._api:30} - {INFO:component5} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-7408.398926, exported=17601070.313, dc_power=None)
2024-03-20 09:34:11,375 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['EVU']
2024-03-20 09:34:11,376 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-8.469000816345215, -10.957000732421875, 19.76300048828125], powers=[-1944.800048828125, -2545.900146484375, 4489.0], voltages=[235.38601684570312, 236.75601196289062, 232.79600524902344], power_factors=[1.0, 1.0, 1.0], imported=5.954753093648781, exported=31893428.675895616, power=-5.900000095367432, frequency=49.992000579833984)
2024-03-20 09:34:11,459 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-03-20 09:34:11,460 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-03-20 09:34:11,460 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x71482688>
2024-03-20 09:34:11,465 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-03-20 09:34:11,466 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x71482688>
2024-03-20 09:34:11,487 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 2340, vorherige Payload: 2330
2024-03-20 09:34:11,618 - {control.bat_all:179} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-03-20 09:34:11,622 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [43.47, 45.96, 15.239999999999998]A
2024-03-20 09:34:11,623 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 24005.900000095367W
2024-03-20 09:34:11,627 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 3: Keine Ladung, da kein Auto angesteckt ist.
2024-03-20 09:34:11,630 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2024-03-20 09:34:11,641 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1710923641.5577419, power=8198.660000381471, imported=6770.305425929235, exported=0)
2024-03-20 09:34:11,645 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00280113, power1: 8198.66, power2: 8250.5
2024-03-20 09:34:11,651 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 23.0381
2024-03-20 09:34:11,659 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 23.0381 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1710923651.6418078, power=8250.499999904632, imported=6793.3435389397, exported=0)
2024-03-20 09:34:11,664 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=49, daily_exported=1699236.0, daily_imported=612.0, imported=1453324.0, exported=1699236.62, fault_state=0, fault_str='Kein Fehler.', power=2340))
2024-03-20 09:34:11,668 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=49, daily_exported=1699236.0, daily_imported=7266848.0, fault_str='Kein Fehler.', fault_state=0, imported=1453324.0, exported=1699236.62, power=2340), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-03-20 09:34:11,670 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=274.0, daily_exported=0.0, power=0, imported=3702233.86, exported=0))
2024-03-20 09:34:11,675 - {control.data:266} - {INFO:MainThread} - cp3
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, failed_phase_switches=0, 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=<ChargepointState.NO_CHARGING_ALLOWED: 0>, submode=<Chargemode.STOP: '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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0.0, evse_current=None, exported=0, fault_str="<class 'Exception'> ('Auslesen von Zähler UND Evse nicht möglich. Vermutlich ist der USB-Adapter defekt oder zwei Busteilnehmer haben die gleiche Modbus-ID. Bitte die Zähler-ID prüfen.  Bitte nehme bei anhaltenden Problemen über die Support-Funktion in den Einstellungen Kontakt mit uns auf.',)", fault_state=2, imported=82.0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', vehicle_id=None, voltages=[238.57, 237.92, 239.03]), 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='_', costs=0, 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, ev=-1, prio=False, rfid=None), manual_lock=True, 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 0x71482328>), config=Config(configuration={'mode': 'duo', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='LP1', type='internal_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=False, control_pilot_interruption_hw=True, id=3))
2024-03-20 09:34:11,677 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, failed_phase_switches=0, 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=<ChargepointState.NO_CHARGING_ALLOWED: 0>, submode=<Chargemode.STOP: '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=51), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0.0, evse_current=None, exported=0, fault_str='<class \'AttributeError\'> ("\'InternalChargepointHandler\' object has no attribute \'cp0_client_handler\'",)', fault_state=2, imported=3702151.86, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', vehicle_id=None, voltages=[237.84, 0.0, 0.0]), 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='_', costs=0, 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, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x714c4a30>), config=Config(configuration={'mode': 'duo', 'ip_address': 'localhost', 'duo_num': 1}, ev=1, name='LP2', type='internal_openwb', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=False, control_pilot_interruption_hw=True, id=4))
2024-03-20 09:34:11,678 - {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=[])
2024-03-20 09:34:11,680 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-1944.8, -2545.9, 4489.0], currents=[-8.47, -10.96, 19.76], voltages=[235.39, 236.76, 232.8], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=49.992000579833984, daily_exported=10.0, daily_imported=4.0, imported=5.954753093648781, exported=31893428.675895616, fault_state=0, fault_str='Kein Fehler.', power=-5.900000095367432), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=24005.900000095367, raw_currents_left=[43.47, 45.96, 15.239999999999998], surplus_power_left=0, state_str=''))
2024-03-20 09:34:11,683 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=8250.499999904632, invalid_home_consumption=0, daily_yield_home_consumption=6197.0, imported_home_consumption=6793.3435389397, disengageable_smarthome_power=0))
2024-03-20 09:34:11,684 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=32, min_current=0, feed_in_limit=False, min_soc=0, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=100000, soc=80))))
2024-03-20 09:34:11,688 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=True, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-03-20 09:34:11,692 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Kia', tag_id=[], get=Get(soc=51, soc_timestamp=1710922293.456048, force_soc_update=False, range=188.0, fault_state=0, fault_str='Kein Fehler.'))
2024-03-20 09:34:11,693 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-03-20 09:34:11,693 - {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=True, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=22000, min_current=6, max_current_single_phase=32, battery_capacity=77000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-03-20 09:34:11,694 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, 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, prices=Prices(bat=0.0003, cp=0, grid=0.0003, pv=0.0003), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x714c43b8>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-03-20 09:34:11,694 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-03-20 09:34:11,695 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-03-20 09:34:11,695 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x71486bf8>), led=Led(active=False), rfid=Rfid(active=False))
2024-03-20 09:34:11,696 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=1563.0, monthly_exported=0, yearly_exported=0, exported=24738275.38, fault_state=0, fault_str='Kein Fehler.', power=-3188))
2024-03-20 09:34:11,697 - {control.data:266} - {INFO:MainThread} - pv5
PvData(config=Config(max_ac_out=17000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=4559.0, monthly_exported=0, yearly_exported=0, exported=17601070.313, fault_state=0, fault_str='Kein Fehler.', power=-7408.4))
2024-03-20 09:34:11,697 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=49850782.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=0, yearly_exported=0, exported=42339345.693, power=-10596.4))
2024-03-20 09:34:11,698 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': 'xxx.xxx.xxx.87', 'current_commit': '2024-03-13 14:58:01 +0100 [aabe20a6b]', 'current_branch': 'feature_kostal_plenticore', 'current_branch_commit': '2024-03-13 14:58:01 +0100 [aabe20a6b]', 'current_missing_commits': [], 'datastore_version': 38, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Beta.3', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1710923641, 'time': '09:34:01', 'grid': -0.019, 'house-power': 8.199, 'charging-all': 0.0, 'pv-all': 10.548, 'ev1-soc': 51, 'bat-all-power': 2.33, 'bat-all-soc': 49}, 'module_update_completed': True}
2024-03-20 09:34:11,698 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'id': 0, 'configuration': {'ip_address': 'xxx.xxx.xxx.54'}}
2024-03-20 09:34:11,699 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'EVU', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-03-20 09:34:11,699 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'Plenticore', 'type': 'inverter', 'id': 1, 'configuration': {}}
2024-03-20 09:34:11,700 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'BYD', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-03-20 09:34:11,701 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Piko', 'type': 'kostal_piko', 'id': 1, 'configuration': {'ip_address': 'xxx.xxx.xxx.26'}}
2024-03-20 09:34:11,703 - {control.data:281} - {INFO:MainThread} - component5
{'name': 'Kostal Piko Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': {'bat_configured': False}}
2024-03-20 09:34:11,711 - {control.data:253} - {INFO:MainThread} - 

2024-03-20 09:34:11,712 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-03-20 09:34:11,719 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-03-20 09:34:11,723 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-03-20 09:34:11,726 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-03-20 09:34:11,728 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -94.09999990463257W
2024-03-20 09:34:11,730 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -94.09999990463257W
2024-03-20 09:34:11,751 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-03-20 09:34:11,751 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-03-20 09:34:11,775 - {modules.common.component_context:25} - {DEBUG:set current cp3} - Update Komponente ['Ladepunkt']
2024-03-20 09:34:11,780 - {modules.common.component_context:25} - {DEBUG:set current cp4} - Update Komponente ['Ladepunkt']
2024-03-20 09:34:11,834 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-03-20 09:34:15,073 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-03-20 09:34:20,092 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-03-20 09:34:20,095 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
Kostal Piko 17
Kostal Plenticore Plus 10
Kostal Smart Energy Meter
BYD HVS 12.8
ioBroker
openWB series2 Duo
VW ID.7
Tuffi
Beiträge: 61
Registriert: Mo Jul 24, 2023 9:10 am
Has thanked: 1 time
Been thanked: 2 times

Re: Zusätzliche openWB an Kostal Infrastruktur

Beitrag von Tuffi »

Sind die beiden Werte miteinander vergleichen denn gemeint?
Ich dachte, es wäre die Tages-Energie gemeint.
Nur da finde ich in meinen Kostal Geräten keinen Wert, so das ich diesen auch nicht mit der openWB vergleichen kann.
openWB series2 standard+, 2.1.6-RC.2
Kostal PIKO 15, FW 06.18
Kostal Smart Energy Meter G2, SW 2.5.0
Kostal Plenticore BI 10/26 - G2, SW 02.13.16958
BYD Battery-Box Premium HVM 22.1
Amok83
Beiträge: 677
Registriert: Mi Dez 02, 2020 10:17 am
Has thanked: 2 times

Re: Zusätzliche openWB an Kostal Infrastruktur

Beitrag von Amok83 »

Am Ende würden da schon Tageswerte daraus berechnet werden. (Aktueller Wert - Vortag)
Aber dafür muss der Input erstmal passen.
Kostal Piko 17
Kostal Plenticore Plus 10
Kostal Smart Energy Meter
BYD HVS 12.8
ioBroker
openWB series2 Duo
VW ID.7
Antworten