Hausverbrauch nicht plausibel

Fragen zur Nutzung, Features, usw..
iOnier
Beiträge: 39
Registriert: Di Sep 14, 2021 4:43 pm

Re: Hausverbrauch nicht plausibel

Beitrag von iOnier »

openWB hat geschrieben: Sa Jun 01, 2024 5:43 pmviewtopic.php?t=1526

Die Glaskugeln sind aktuell leider aus.
.
OK :)

Hatte halt gehofft, es kennt jemand "spontan" eine typische Ursache. Scheint nicht so. Gut, dann muss ich wohl den umständlicheren Weg über den Support nehmen.
openWB
Site Admin
Beiträge: 8425
Registriert: So Okt 07, 2018 1:50 pm
Been thanked: 16 times

Re: Hausverbrauch nicht plausibel

Beitrag von openWB »

Oder die geforderten Infos liefern
Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
iOnier
Beiträge: 39
Registriert: Di Sep 14, 2021 4:43 pm

Re: Hausverbrauch nicht plausibel

Beitrag von iOnier »

@openWB:
Gern. Sorry, hat "etwas" gedauert, bin beruflich und privat erheblich unter Strom:

Setup:
PV 9,6 kWp mit Fronius Wechselrichter und sonnenBatterie Eco 8.0 12 kWh

OpenWB Series 2 Custom ohne Display, automatische Phasenumschaltung

OpenWB Version gerade noch mal update auf aktuellste Release 2024-06-04 08:52:24 +0200 [417a30647] gemacht, keine Änderung.

Struktur:
SonnenBatterie Zähler
|-SonnenBatterie Wechselrichter
|-SonnenBatterie Speicher
|-Ladepunkt ("Carport")
Struktur.jpg
Struktur
(64.84 KiB) Noch nie heruntergeladen
Main-Log:

Code: Alles auswählen

2024-06-29 16:59:50,587 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-06-29 16:59:50,657 - {modules.devices.sonnenbatterie.device:61} - {DEBUG:device1} - Start device reading {'component0': <modules.devices.sonnenbatterie.counter.SonnenbatterieCounter object at 0x70accc40>, 'component1': <modules.devices.sonnenbatterie.inverter.SonnenbatterieInverter object at 0x70ad9c88>, 'component2': <modules.devices.sonnenbatterie.bat.SonnenbatterieBat object at 0x70adaa00>}
2024-06-29 16:59:50,658 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Zähler']
2024-06-29 16:59:50,659 - {modules.common.component_context:25} - {DEBUG:set values cp3} - Update Komponente ['Ladepunkt']
2024-06-29 16:59:50,660 - {modules.devices.sonnenbatterie.counter:111} - {DEBUG:device1} - Variante: 3
2024-06-29 16:59:50,674 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-06-29 16:59:50,730 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-06-29 16:59:50,734 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":239,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":6637,"Consumption_W":6639,"Fac":50.025,"FlowConsumptionBattery":false,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-34.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-5,"Production_W":6610,"RSOC":99,"RemainingCapacity_Wh":12074,"Sac1":79,"Sac2":80,"Sac3":80,"SystemStatus":"OnGrid","Timestamp":"2024-06-29 16:59:50","USOC":99,"Uac":237.0,"Ubat":54.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-06-29 16:59:50,738 - {modules.devices.sonnenbatterie.counter:76} - {DEBUG:device1} - EVU Leistung: 34.0
2024-06-29 16:59:50,739 - {modules.devices.sonnenbatterie.counter:79} - {DEBUG:device1} - EVU Spannung: 237.0
2024-06-29 16:59:50,741 - {modules.devices.sonnenbatterie.counter:81} - {DEBUG:device1} - EVU Netzfrequenz: 50.025
2024-06-29 16:59:50,743 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1719673180.8173928, power=4.0, imported=30177.16695683077, exported=1489930.7289552216)
2024-06-29 16:59:50,744 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00275726, power1: 4, power2: 34
2024-06-29 16:59:50,746 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0.0523879
2024-06-29 16:59:50,747 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0.0523879 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1719673190.7435215, power=34.0, imported=30177.21934473185, exported=1489930.7289552216)
2024-06-29 16:59:50,749 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=30177.21934473185, exported=1489930.7289552216, power=34.0, frequency=50.025)
2024-06-29 16:59:50,753 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-06-29 16:59:50,754 - {modules.devices.sonnenbatterie.inverter:100} - {DEBUG:device1} - Variante: 3
2024-06-29 16:59:50,763 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-06-29 16:59:50,805 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-06-29 16:59:50,809 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":239,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":6637,"Consumption_W":6639,"Fac":50.025,"FlowConsumptionBattery":false,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-34.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-5,"Production_W":6610,"RSOC":99,"RemainingCapacity_Wh":12074,"Sac1":79,"Sac2":80,"Sac3":80,"SystemStatus":"OnGrid","Timestamp":"2024-06-29 16:59:50","USOC":99,"Uac":237.0,"Ubat":54.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-06-29 16:59:50,811 - {modules.devices.sonnenbatterie.inverter:76} - {DEBUG:device1} - Speicher PV Leistung: -6610
2024-06-29 16:59:50,812 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1719673180.9011927, power=-6630, imported=0.0, exported=1822259.7139684516)
2024-06-29 16:59:50,813 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00275324, power1: -6630, power2: -6610
2024-06-29 16:59:50,814 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -18.2265
2024-06-29 16:59:50,815 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 18.2265 Wh, new state: SimCounterState(timestamp=1719673190.8128579, power=-6610, imported=0.0, exported=1822277.9404194604)
2024-06-29 16:59:50,816 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6610, exported=1822277.9404194604, dc_power=None)
2024-06-29 16:59:50,822 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Speicher']
2024-06-29 16:59:50,823 - {modules.devices.sonnenbatterie.bat:122} - {DEBUG:device1} - Variante: 3
2024-06-29 16:59:50,833 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-06-29 16:59:50,868 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-06-29 16:59:50,871 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":239,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":6637,"Consumption_W":6639,"Fac":50.025,"FlowConsumptionBattery":false,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-34.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-5,"Production_W":6610,"RSOC":99,"RemainingCapacity_Wh":12074,"Sac1":79,"Sac2":80,"Sac3":80,"SystemStatus":"OnGrid","Timestamp":"2024-06-29 16:59:50","USOC":99,"Uac":237.0,"Ubat":54.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-06-29 16:59:50,873 - {modules.devices.sonnenbatterie.bat:92} - {DEBUG:device1} - Speicher Leistung: 5
2024-06-29 16:59:50,873 - {modules.devices.sonnenbatterie.bat:94} - {DEBUG:device1} - Speicher SoC: 99
2024-06-29 16:59:50,874 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1719673180.9798558, power=5, imported=126138.30018160839, exported=91120.3181279224)
2024-06-29 16:59:50,875 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00274854, power1: 5, power2: 5
2024-06-29 16:59:50,875 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0.0137427
2024-06-29 16:59:50,876 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0.0137427 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1719673190.8746116, power=5, imported=126138.31392432483, exported=91120.3181279224)
2024-06-29 16:59:50,877 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=126138.31392432483, exported=91120.3181279224, power=5, soc=99)
2024-06-29 16:59:50,883 - {modules.common.component_context:25} - {DEBUG:component1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-06-29 16:59:50,885 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SonnenBatterie Speicher']
2024-06-29 16:59:50,886 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6610, exported=1822277.9404194604, dc_power=None)
2024-06-29 16:59:50,887 - {modules.common.component_context:25} - {DEBUG:update values cp3} - Update Komponente ['Ladepunkt']
2024-06-29 16:59:50,891 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=126138.31392432483, exported=91120.3181279224, power=5, soc=99)
2024-06-29 16:59:50,895 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-6610, exported=1822277.9404194604, dc_power=None)
2024-06-29 16:59:50,954 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SonnenBatterie Zähler']
2024-06-29 16:59:50,954 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=30177.21934473185, exported=1489930.7289552216, power=34.0, frequency=50.025)
2024-06-29 16:59:51,024 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/imported, Payload 126138.31, vorherige Payload: 126138.3
2024-06-29 16:59:51,126 - {control.bat_all:188} - {INFO:MainThread} - 5W verbleibende Speicher-Leistung
2024-06-29 16:59:51,128 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [47.44, 47.26, 47.24]A
2024-06-29 16:59:51,129 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 32500.0W
2024-06-29 16:59:51,131 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-06-29 16:59:51,132 - {control.chargepoint.chargepoint:533} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-06-29 16:59:51,135 - {control.chargepoint.chargepoint:674} - {INFO:MainThread} - LP 3, EV: ioniq5 (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.44
2024-06-29 16:59:51,142 - {control.counter_all:102} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -1895.0W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]
2024-06-29 16:59:51,147 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1719673181.229192, power=0, imported=189157.10793208765, exported=0)
2024-06-29 16:59:51,151 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00275501, power1: 0, power2: 0
2024-06-29 16:59:51,157 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-06-29 16:59:51,159 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1719673191.1472235, power=0, imported=189157.10793208765, exported=0)
2024-06-29 16:59:51,162 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=99, daily_exported=258.0, daily_imported=102.0, imported=126138.31, exported=91120.32, fault_state=0, fault_str='Kein Fehler.', power=5))
2024-06-29 16:59:51,165 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=99, daily_exported=258.0, daily_imported=161.0, fault_str='Kein Fehler.', fault_state=0, imported=126138.31, exported=91120.32, power=5), set=Set(charging_power_left=5, regulate_up=False))
2024-06-29 16:59:51,167 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=6483.0, daily_exported=0.0, power=8534.0, imported=5642750.98, exported=0))
2024-06-29 16:59:51,169 - {control.data:266} - {INFO:MainThread} - cp3
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, failed_phase_switches=1, imported_at_plan_start=None, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=44), currents=[12.44, 12.26, 12.24], daily_imported=6391.0, daily_exported=0.0, evse_current=1238, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5642750.98, phases_in_use=3, plug_state=True, power=8534.0, rfid_timestamp=None, rfid=None, serial_number='21894932', soc=None, soc_timestamp=None, state_str=None, vehicle_id=None, voltages=[231.89, 231.3, 232.06]), set=Set(change_ev_permitted=False, charging_ev=2, charging_ev_prev=2, current=12.38, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=0, imported_at_mode_switch=5642044.92, imported_at_plugtime=5642044.92, imported_since_mode_switch=686.0400000000373, imported_since_plugged=686.0400000000373, range_charged=3.81133333333354, time_charged='0:06', timestamp_start_charging=1719672781.567554, ev=2, prio=False, rfid=None, serial_number=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1719672691.384771, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x714ab340>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, name='Carport', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2024-06-29 16:59:51,171 - {control.data:266} - {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-Profil', rfid_enabling=False, valid_tags=[])
2024-06-29 16:59:51,172 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=50.025, daily_exported=9099.0, daily_imported=96.0, imported=30177.21934473185, exported=1489930.7289552216, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=34.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=32500.0, raw_currents_left=[47.44, 47.26, 47.24], surplus_power_left=0, state_str=''))
2024-06-29 16:59:51,174 - {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': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=19728.0, imported_home_consumption=189157.10793208765, disengageable_smarthome_power=0))
2024-06-29 16:59:51,176 - {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=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-06-29 16:59:51,178 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='ioniq5', 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='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=6, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=70000, soc=75))))
2024-06-29 16:59:51,179 - {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=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-06-29 16:59:51,181 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='ioniq5', tag_id=[], get=Get(soc=44, soc_timestamp=1719672987.276659, force_soc_update=False, range=216.0, fault_state=0, fault_str='Kein Fehler.'))
2024-06-29 16:59:51,184 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=10, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-06-29 16:59:51,185 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='ioniq5', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=73000, efficiency=90, nominal_difference=1, keep_charge_active_duration=60)
2024-06-29 16:59:51,186 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[-115, 115], feed_in_yield=0, phase_switch_delay=1, phases_to_use=0, bat_power_discharge=500, bat_power_discharge_active=True, min_bat_soc=35, bat_mode='ev_mode', switch_off_delay=900, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=False), control_interval=10, extern_display_mode='primary', 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.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-06-29 16:59:51,187 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-06-29 16:59:51,188 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-06-29 16:59:51,190 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70ae59e8>), led=Led(active=False), rfid=Rfid(active=False))
2024-06-29 16:59:51,192 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=47947.0, monthly_exported=1023454.3300000001, yearly_exported=0, exported=1822277.94, fault_state=0, fault_str='Kein Fehler.', power=-6610))
2024-06-29 16:59:51,193 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=48532.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=1023454.3300000001, yearly_exported=0, exported=1822277.94, power=-6610))
2024-06-29 16:59:51,194 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.0.119', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'datastore_version': 44, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1719673181, 'time': '16:59:41', 'grid': 0.004, 'house-power': 0.0, 'charging-all': 8.539, 'pv-all': 6.63, 'cp3-power': 8.539, 'ev2-soc': 44, 'bat-all-power': 0.005, 'bat-all-soc': 99}, 'backup_before_update': True, 'module_update_completed': True}
2024-06-29 16:59:51,197 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenBatterieConfiguration object at 0x70ad95c8>}
2024-06-29 16:59:51,198 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'variant': 3, 'ip_address': '192.168.0.167'}
2024-06-29 16:59:51,199 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': {'variant': 3, 'ip_address': '192.168.0.167'}}
2024-06-29 16:59:51,200 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieCounterConfiguration object at 0x70acc118>}
2024-06-29 16:59:51,201 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-06-29 16:59:51,204 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-06-29 16:59:51,206 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieInverterConfiguration object at 0x70ae5a60>}
2024-06-29 16:59:51,207 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-06-29 16:59:51,208 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2024-06-29 16:59:51,208 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieBatConfiguration object at 0x70ae5ad8>}
2024-06-29 16:59:51,209 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-06-29 16:59:51,209 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-06-29 16:59:51,210 - {control.data:253} - {INFO:MainThread} - 

2024-06-29 16:59:51,212 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-06-29 16:59:51,213 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 3: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-06-29 16:59:51,215 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-06-29 16:59:51,217 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 29.0W
2024-06-29 16:59:51,218 - {control.ev:462} - {DEBUG:MainThread} - Genutzter Strom: 12.44A, Überschuss: -29.0W, benötigte neue Leistung: 0W
2024-06-29 16:59:51,220 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 29.0W
2024-06-29 16:59:51,222 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-06-29 16:59:51,224 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-06-29 16:59:51,231 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [41.44, 41.26, 41.24]A verbleibende Ströme, 28360.0W verbleibende Leistung
2024-06-29 16:59:51,232 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-06-29 16:59:51,235 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-06-29 16:59:51,237 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2024-06-29 16:59:51,238 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-06-29 16:59:51,240 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-06-29 16:59:51,242 - {control.counter:249} - {DEBUG:MainThread} - Anpassen des Regelbereichs 0W
2024-06-29 16:59:51,243 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4365.0W
2024-06-29 16:59:51,244 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 4365.0W
2024-06-29 16:59:51,251 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-06-29 16:59:51,260 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2024-06-29 16:59:51,261 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-06-29 16:59:51,262 - {control.loadmanagement:76} - {DEBUG:MainThread} - Leistungsüberschreitung auf 4365.0W korrigieren: [10.0, 10.0, 10.0]
2024-06-29 16:59:51,269 - {control.counter:183} - {DEBUG:MainThread} - Zähler 0: [35.11391304347826, 34.933913043478256, 34.91391304347826]A verbleibende Ströme, 9.094947017729282e-13W verbleibender Überschuss
2024-06-29 16:59:51,275 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 12.326086956521738A
2024-06-29 16:59:51,277 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-06-29 16:59:51,279 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'chargemode_log_entry': 'pv_charging', 'costs': 0, 'imported_at_mode_switch': 5642044.92, 'imported_at_plugtime': 5642044.92, 'imported_since_mode_switch': 706.0600000005215, 'imported_since_plugged': 706.0600000005215, 'range_charged': 3.922555555558453, 'time_charged': '0:06', 'timestamp_start_charging': 1719672781.567554, 'ev': 2, 'prio': False, 'rfid': None, 'serial_number': None}
2024-06-29 16:59:51,282 - {control.process:111} - {INFO:MainThread} - LP3: set current 12.33 A, state CHARGING_ALLOWED
2024-06-29 16:59:51,288 - {modules.common.component_context:25} - {DEBUG:set current cp3} - Update Komponente ['Ladepunkt']
2024-06-29 16:59:51,321 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-06-29 16:59:55,579 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-06-29 17:00:00,603 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-06-29 17:00:00,605 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-06-29 17:00:00,608 - {root:108} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-06-29 17:00:00,645 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.0.119
2024-06-29 17:00:00,646 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-06-29 17:00:02,373 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module bat2 from next entry
2024-06-29 17:00:02,374 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module counter0 from next entry
2024-06-29 17:00:02,376 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module cp3 from next entry
2024-06-29 17:00:02,377 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module pv1 from next entry
2024-06-29 17:00:02,500 - {helpermodules.measurement_logging.update_yields:124} - {DEBUG:MainThread} - sorted_path_list['/var/www/html/openWB/data/monthly_log/202401.json', '/var/www/html/openWB/data/monthly_log/202402.json', '/var/www/html/openWB/data/monthly_log/202403.json', '/var/www/html/openWB/data/monthly_log/202404.json', '/var/www/html/openWB/data/monthly_log/202405.json', '/var/www/html/openWB/data/monthly_log/202406.json']
2024-06-29 17:00:02,517 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/daily_imported, Payload 174.0, vorherige Payload: 161.0
2024-06-29 17:00:02,523 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=days, do=inner, args=(), kwargs={})
2024-06-29 17:00:02,565 - {helpermodules.setdata:338} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/pv/get/yearly_exported, Payload -8007460.524473587 liegt in keinem der angegebenen Wertebereiche.
2024-06-29 17:00:02,569 - {helpermodules.setdata:338} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/pv/1/get/yearly_exported, Payload -8007460.524473587 liegt in keinem der angegebenen Wertebereiche.
2024-06-29 17:00:03,615 - {helpermodules.measurement_logging.write_log:267} - {ERROR:MainThread} - Es konnte kein vorheriger Wert gefunden werden.
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/helpermodules/measurement_logging/write_log.py", line 265, in find_and_fix_value
    value[value_name] = previous_entry[group][component][value_name]
KeyError: 'cp3'
2024-06-29 17:00:03,617 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module bat2 from next entry
2024-06-29 17:00:03,617 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module counter0 from next entry
2024-06-29 17:00:03,618 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module cp3 from next entry
2024-06-29 17:00:03,619 - {helpermodules.measurement_logging.process_log:454} - {DEBUG:MainThread} - adding module pv1 from next entry
2024-06-29 17:00:03,629 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
Hoffe, das hilft weiter ...
Zuletzt geändert von iOnier am Sa Jun 29, 2024 3:46 pm, insgesamt 1-mal geändert.
iOnier
Beiträge: 39
Registriert: Di Sep 14, 2021 4:43 pm

Re: Hausverbrauch nicht plausibel

Beitrag von iOnier »

Interessant vielleicht noch aus dem Log des internen Ladepunktes:

Code: Alles auswählen

2024-06-29 16:49:53,366 - {asyncio:59} - {DEBUG:Internal Chargepoint} - Using selector: EpollSelector
2024-06-29 16:49:55,488 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:144} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2024-06-29 16:49:55,490 - {modules.common.component_context:25} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 0']
2024-06-29 16:49:55,493 - {modules.internal_chargepoint_handler.clients:94} - {DEBUG:Internal Chargepoint} - tty_devices[PosixPath('/dev/serial/by-path/platform-3f980000.usb-usb-0:1.4:1.0-port0')]
2024-06-29 16:49:55,495 - {modules.internal_chargepoint_handler.clients:96} - {DEBUG:Internal Chargepoint} - resolved_devices['/dev/ttyUSB0']
2024-06-29 16:49:55,496 - {modules.internal_chargepoint_handler.clients:107} - {ERROR:Internal Chargepoint} - LP0 Device: /dev/ttyUSB0
2024-06-29 16:49:55,663 - {modules.internal_chargepoint_handler.clients:52} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71cf8958>
2024-06-29 16:49:55,664 - {modules.internal_chargepoint_handler.clients:53} - {ERROR:Internal Chargepoint} - Modbus-ID der EVSE an LP0: 1
2024-06-29 16:49:56,676 - {modules.internal_chargepoint_handler.clients:70} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71cf8958>
2024-06-29 16:49:56,676 - {modules.internal_chargepoint_handler.clients:71} - {DEBUG:Internal Chargepoint} - Zähler <class 'modules.common.mpm3pm.Mpm3pm'> mit Modbus-ID:5 antwortet nicht.
2024-06-29 16:49:56,731 - {modules.internal_chargepoint_handler.clients:67} - {ERROR:Internal Chargepoint} - Verbauter Zähler: <class 'modules.common.sdm.Sdm630'> mit Modbus-ID: 105
2024-06-29 16:49:57,133 - {modules.internal_chargepoint_handler.chargepoint_module:45} - {DEBUG:Internal Chargepoint} - Firmware-Version der EVSE: 18
Falls da ein Zusammenhang besteht ...
LenaK
Beiträge: 1296
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 16 times

Re: Hausverbrauch nicht plausibel

Beitrag von LenaK »

Bitte das Log erstellern, wenn das Problem auftritt. Hier liegt der Bezug bei 34W. viewtopic.php?p=13655#p13655

Bitte beachte auch, dass du einen minimalen Dauerstrom für PV-Laden konfiguriert hast. mit diesem wird immer geladen unabhängig vom verfügbaren Überschuss.
iOnier
Beiträge: 39
Registriert: Di Sep 14, 2021 4:43 pm

Re: Hausverbrauch nicht plausibel

Beitrag von iOnier »

Hm, äh ...

Code: Alles auswählen

2024-06-29 16:59:51,142 - {control.counter_all:102} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -1895.0W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]
"Ungültiger Hausverbrauch: -1895.0W" ist nicht "das Problem"? Was denn dann?

Merkwürdig, dass mit knapp 2 kW über der PV-Erzeugung geladen und in etwa entsprechender Höhe ein "ungültiger Hausverbrauch" registriert wird.

Ich vermute da schon einen Zusammenhang, nur wo liegt der? Ein Bug in der Software oder ein Fehler in meiner Konfiguration? Letzteres würde ich gern beheben, komme aber nicht dahinter, was ich wo falsch konfiguriert haben könnte.

Komisch auch, dass mir zeitgleich von der openWB ein Verbrauch oberhalb der PV-Leistung graphisch dargestellt wird, während die sonnen-App den Verbrauch schön an der PV-Leistung anzeigt. Am Zähler sehe ich, dass openWB Recht hat und Bezug stattfindet. Hat das Problem vielleicht mit der sonnen-API zu tun?

Wenn es nur ein "Schönheitsfehler" wäre, würde ich mich nicht ganz so ärgern. So sind es aber knapp 2 kW unnötiger Bezug, denn die PV-Leistung würde fürs Laden völlig ausreichen. Wen ich's eilig hätte, könnte ich ja "sofort laden" nutzen.

Dass ich einen "minimalen Dauerstrom für PV-Laden" konfiguriert habe ist mir bewusst und beabsichtigt. Wäre halt schöner, wenn man wie früher einen Lademodus "Min+PV" definieren könnte, aber das ist ein anderes Thema.
Benutzeravatar
mrinas
Beiträge: 2130
Registriert: Mi Jan 29, 2020 10:12 pm
Has thanked: 7 times
Been thanked: 4 times

Re: Hausverbrauch nicht plausibel

Beitrag von mrinas »

Zieh' mal den Speicher in den Wechselrichter und schau' ob sich das dann bessert.

Ungültigter (oder sonst wie nicht plausibler) Hausverbrauch bei Hybridsystemen mit Speicher kommen häufig davon. Was richtig ist hängt davon hab wie der Hybrid-WR die Daten liefert, hier gibts mehr dazu wenn man an den Details interessiert ist. https://github.com/openWB/core/wiki/Hyb ... d-Speicher
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Smart #1 (ersetzt den e2008), Tesla Model Y LR.
LenaK
Beiträge: 1296
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 16 times

Re: Hausverbrauch nicht plausibel

Beitrag von LenaK »

iOnier hat geschrieben: Mi Jul 03, 2024 5:42 pm Hm, äh ...

Code: Alles auswählen

2024-06-29 16:59:51,142 - {control.counter_all:102} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -1895.0W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]
"Ungültiger Hausverbrauch: -1895.0W" ist nicht "das Problem"? Was denn dann?

Merkwürdig, dass mit knapp 2 kW über der PV-Erzeugung geladen und in etwa entsprechender Höhe ein "ungültiger Hausverbrauch" registriert wird.

Ich vermute da schon einen Zusammenhang, nur wo liegt der? Ein Bug in der Software oder ein Fehler in meiner Konfiguration? Letzteres würde ich gern beheben, komme aber nicht dahinter, was ich wo falsch konfiguriert haben könnte.

Komisch auch, dass mir zeitgleich von der openWB ein Verbrauch oberhalb der PV-Leistung graphisch dargestellt wird, während die sonnen-App den Verbrauch schön an der PV-Leistung anzeigt. Am Zähler sehe ich, dass openWB Recht hat und Bezug stattfindet. Hat das Problem vielleicht mit der sonnen-API zu tun?

Wenn es nur ein "Schönheitsfehler" wäre, würde ich mich nicht ganz so ärgern. So sind es aber knapp 2 kW unnötiger Bezug, denn die PV-Leistung würde fürs Laden völlig ausreichen. Wen ich's eilig hätte, könnte ich ja "sofort laden" nutzen.

Dass ich einen "minimalen Dauerstrom für PV-Laden" konfiguriert habe ist mir bewusst und beabsichtigt. Wäre halt schöner, wenn man wie früher einen Lademodus "Min+PV" definieren könnte, aber das ist ein anderes Thema.
Mehr als das du einen minimalen Dauerstrom konfiguriert hast, kann ich aus deinem log nicht rauslesen, wenn im Logausschnitt der Bezug bei 34W liegt. Von daher kann ich meine Bitte nur wiederholen:
LenaK hat geschrieben: Mo Jul 01, 2024 7:27 am Bitte das Log erstellern, wenn das Problem auftritt. Hier liegt der Bezug bei 34W. viewtopic.php?p=13655#p13655

Bitte beachte auch, dass du einen minimalen Dauerstrom für PV-Laden konfiguriert hast. mit diesem wird immer geladen unabhängig vom verfügbaren Überschuss.
Sonst ist es leider nicht möglich, dass Problem weiter zu analysieren.
iOnier
Beiträge: 39
Registriert: Di Sep 14, 2021 4:43 pm

Re: Hausverbrauch nicht plausibel

Beitrag von iOnier »

@LenaK: Zunächst vilen Dank für Deine Hilfsbereitschaft, aber ich würde gern anmerken, dass es hier primär nicht um den Bezug geht, sondern um den nicht plausiblen / "ungültigen" Hausverbrauch.

Hier nochmal ein aktueller Auszug aus dem Main.log, in dem das 2x zu sehen ist:

Code: Alles auswählen

2024-07-06 12:15:20,154 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-07-06 12:15:20,217 - {modules.devices.sonnenbatterie.device:61} - {DEBUG:device1} - Start device reading {'component0': <modules.devices.sonnenbatterie.counter.SonnenbatterieCounter object at 0x6d053358>, 'component1': <modules.devices.sonnenbatterie.inverter.SonnenbatterieInverter object at 0x6cdb4ad8>, 'component2': <modules.devices.sonnenbatterie.bat.SonnenbatterieBat object at 0x6d05c928>}
2024-07-06 12:15:20,221 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:20,223 - {modules.devices.sonnenbatterie.counter:111} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:20,226 - {modules.common.component_context:25} - {DEBUG:set values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:20,235 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:20,282 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:20,285 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":237,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":3816,"Consumption_W":3248,"Fac":49.976,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":true,"GridFeedIn_W":125.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-6,"Production_W":3379,"RSOC":72,"RemainingCapacity_Wh":8919,"Sac1":79,"Sac2":79,"Sac3":79,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:19","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:20,287 - {modules.devices.sonnenbatterie.counter:76} - {DEBUG:device1} - EVU Leistung: -125.0
2024-07-06 12:15:20,287 - {modules.devices.sonnenbatterie.counter:79} - {DEBUG:device1} - EVU Spannung: 237.0
2024-07-06 12:15:20,288 - {modules.devices.sonnenbatterie.counter:81} - {DEBUG:device1} - EVU Netzfrequenz: 49.976
2024-07-06 12:15:20,288 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260910.2216232, power=-217.0, imported=33334.64052402758, exported=1617759.6608029613)
2024-07-06 12:15:20,289 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00279643, power1: -217, power2: -125
2024-07-06 12:15:20,289 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.478189
2024-07-06 12:15:20,290 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 0.478189 Wh, new state: SimCounterState(timestamp=1720260920.2887642, power=-125.0, imported=33334.64052402758, exported=1617760.1389921615)
2024-07-06 12:15:20,293 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.64052402758, exported=1617760.1389921615, power=-125.0, frequency=49.976)
2024-07-06 12:15:20,301 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:20,301 - {modules.devices.sonnenbatterie.inverter:100} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:20,308 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:20,353 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:20,356 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":237,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":3816,"Consumption_W":3248,"Fac":49.976,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":true,"GridFeedIn_W":125.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-6,"Production_W":3379,"RSOC":72,"RemainingCapacity_Wh":8919,"Sac1":79,"Sac2":79,"Sac3":79,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:19","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:20,358 - {modules.devices.sonnenbatterie.inverter:76} - {DEBUG:device1} - Speicher PV Leistung: -3379
2024-07-06 12:15:20,359 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260910.3185194, power=-2865, imported=0.0, exported=2004330.3478624842)
2024-07-06 12:15:20,360 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278918, power1: -2865, power2: -3379
2024-07-06 12:15:20,360 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -8.70781
2024-07-06 12:15:20,361 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 8.70781 Wh, new state: SimCounterState(timestamp=1720260920.3595579, power=-3379, imported=0.0, exported=2004339.055674217)
2024-07-06 12:15:20,362 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3379, exported=2004339.055674217, dc_power=None)
2024-07-06 12:15:20,364 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:20,365 - {modules.devices.sonnenbatterie.bat:122} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:20,376 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:20,421 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:20,424 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":237,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":3816,"Consumption_W":3248,"Fac":49.976,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":true,"GridFeedIn_W":125.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-6,"Production_W":3379,"RSOC":72,"RemainingCapacity_Wh":8919,"Sac1":79,"Sac2":79,"Sac3":79,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:19","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:20,425 - {modules.devices.sonnenbatterie.bat:92} - {DEBUG:device1} - Speicher Leistung: 6
2024-07-06 12:15:20,426 - {modules.devices.sonnenbatterie.bat:94} - {DEBUG:device1} - Speicher SoC: 71
2024-07-06 12:15:20,427 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260910.4396708, power=-603, imported=141918.07970972062, exported=104918.19539370092)
2024-07-06 12:15:20,427 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0027743, power1: -603, power2: 6
2024-07-06 12:15:20,428 - {modules.common.simcount._calculate:24} - {DEBUG:device1} - power changed sign. Total energy: -0.828127, exported energy: -0.828209
2024-07-06 12:15:20,428 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 8.19989e-05 Wh, exported: 0.828209 Wh, new state: SimCounterState(timestamp=1720260920.4271364, power=6, imported=141918.07979171953, exported=104919.02360305749)
2024-07-06 12:15:20,429 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=141918.07979171953, exported=104919.02360305749, power=6, soc=71)
2024-07-06 12:15:20,437 - {modules.common.component_context:25} - {DEBUG:component1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:20,439 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:20,441 - {modules.common.component_context:25} - {DEBUG:update values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:20,445 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3379, exported=2004339.055674217, dc_power=None)
2024-07-06 12:15:20,448 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=141918.07979171953, exported=104919.02360305749, power=6, soc=71)
2024-07-06 12:15:20,452 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3379, exported=2004339.055674217, dc_power=None)
2024-07-06 12:15:20,513 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:20,514 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.64052402758, exported=1617760.1389921615, power=-125.0, frequency=49.976)
2024-07-06 12:15:20,575 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 104919.02, vorherige Payload: 104918.2
2024-07-06 12:15:20,576 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 6, vorherige Payload: -603
2024-07-06 12:15:20,660 - {control.bat_all:188} - {INFO:MainThread} - -194W verbleibende Speicher-Leistung
2024-07-06 12:15:20,663 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [41.06, 40.81, 40.96]A
2024-07-06 12:15:20,664 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 28281.41W
2024-07-06 12:15:20,666 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:20,666 - {control.chargepoint.chargepoint:533} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-07-06 12:15:20,682 - {control.chargepoint.chargepoint:674} - {INFO:MainThread} - LP 3, EV: ioniq5 (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-07-06 12:15:20,696 - {control.counter_all:102} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -908.4099999999999W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]
2024-07-06 12:15:20,700 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1720260910.7925875, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:20,702 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00275223, power1: 0, power2: 0
2024-07-06 12:15:20,705 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-07-06 12:15:20,707 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1720260920.7006297, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:20,711 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=71, daily_exported=2254.0, daily_imported=4.0, imported=141918.08, exported=104919.02, fault_state=0, fault_str='Kein Fehler.', power=6))
2024-07-06 12:15:20,714 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=71, daily_exported=2254.0, daily_imported=4.0, fault_str='Kein Fehler.', fault_state=0, imported=141918.08, exported=104919.02, power=6), set=Set(charging_power_left=-194, regulate_up=True))
2024-07-06 12:15:20,718 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=8061.0, daily_exported=0.0, power=4156.41, imported=5670581.05, exported=0))
2024-07-06 12:15:20,719 - {control.data:266} - {INFO:MainThread} - cp3
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=1, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=1720260902.722551, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=42), currents=[6.06, 5.81, 5.96], daily_imported=8061.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5670581.05, phases_in_use=3, plug_state=True, power=4156.41, rfid_timestamp=None, rfid=None, serial_number='21894932', soc=None, soc_timestamp=None, state_str=None, vehicle_id=None, voltages=[234.61, 234.76, 234.93]), set=Set(change_ev_permitted=False, charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=1.2476, imported_at_mode_switch=5662482.91, imported_at_plugtime=5662482.91, imported_since_mode_switch=8088.870000000112, imported_since_plugged=8088.870000000112, range_charged=44.93816666666729, time_charged='2:40', timestamp_start_charging=1720251270.72049, ev=2, prio=False, rfid=None, serial_number=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1720251260.67492, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6d047088>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, name='Carport', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2024-07-06 12:15:20,721 - {control.data:266} - {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-Profil', rfid_enabling=False, valid_tags=[])
2024-07-06 12:15:20,722 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=49.976, daily_exported=3579.0, daily_imported=342.0, imported=33334.64052402758, exported=1617760.1389921615, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=-125.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=28281.41, raw_currents_left=[41.06, 40.81, 40.96], surplus_power_left=0, state_str=''))
2024-07-06 12:15:20,723 - {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': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=3902.0, imported_home_consumption=224722.74429476185, disengageable_smarthome_power=0))
2024-07-06 12:15:20,724 - {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=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-07-06 12:15:20,724 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='ioniq5', 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='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=6, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=70000, soc=75))))
2024-07-06 12:15:20,725 - {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=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-07-06 12:15:20,727 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='ioniq5', tag_id=[], get=Get(soc=42, soc_timestamp=1720260636.911089, force_soc_update=False, range=211.0, fault_state=2, fault_str='<class \'UnboundLocalError\'> ("local variable \'response\' referenced before assignment",)'))
2024-07-06 12:15:20,728 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=10, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-06 12:15:20,732 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='ioniq5', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=73000, efficiency=90, nominal_difference=1, keep_charge_active_duration=60)
2024-07-06 12:15:20,733 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=1, phases_to_use=0, bat_power_discharge=500, bat_power_discharge_active=True, min_bat_soc=94, bat_mode='min_soc_bat_mode', switch_off_delay=900, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=False), control_interval=10, extern_display_mode='primary', 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.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-07-06 12:15:20,735 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-07-06 12:15:20,735 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-07-06 12:15:20,736 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6d053970>), led=Led(active=False), rfid=Rfid(active=False))
2024-07-06 12:15:20,739 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=3300), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=84716.0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004339.056, fault_state=0, fault_str='Kein Fehler.', power=-3379))
2024-07-06 12:15:20,741 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=84716.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004339.056, power=-3379))
2024-07-06 12:15:20,743 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.0.119', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'datastore_version': 44, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1720260910, 'time': '12:15:10', 'grid': -0.217, 'house-power': 0.0, 'charging-all': 4.162, 'pv-all': 2.865, 'cp3-power': 4.162, 'ev2-soc': 42, 'bat-all-power': -0.603, 'bat-all-soc': 71}, 'backup_before_update': True, 'module_update_completed': True}
2024-07-06 12:15:20,744 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenBatterieConfiguration object at 0x70ad95c8>}
2024-07-06 12:15:20,745 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'variant': 3, 'ip_address': '192.168.0.167'}
2024-07-06 12:15:20,746 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': {'variant': 3, 'ip_address': '192.168.0.167'}}
2024-07-06 12:15:20,749 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieCounterConfiguration object at 0x714291a8>}
2024-07-06 12:15:20,750 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:20,753 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-07-06 12:15:20,754 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieInverterConfiguration object at 0x6d05eda8>}
2024-07-06 12:15:20,755 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:20,756 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2024-07-06 12:15:20,756 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieBatConfiguration object at 0x6cd41f88>}
2024-07-06 12:15:20,757 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:20,757 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-07-06 12:15:20,758 - {control.data:253} - {INFO:MainThread} - 

2024-07-06 12:15:20,759 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-07-06 12:15:20,760 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 3: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-07-06 12:15:20,760 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:20,761 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 69.0W
2024-07-06 12:15:20,762 - {control.ev:462} - {DEBUG:MainThread} - Genutzter Strom: 6.06A, Überschuss: -69.0W, benötigte neue Leistung: 0W
2024-07-06 12:15:20,763 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 69.0W
2024-07-06 12:15:20,766 - {control.ev:507} - {INFO:MainThread} - LP 3: Umschaltung von 3 auf 1 Phasen in 14 Min. 42 Sek..
2024-07-06 12:15:20,768 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-07-06 12:15:20,770 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:20,771 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [35.06, 34.81, 34.96]A verbleibende Ströme, 24141.41W verbleibende Leistung
2024-07-06 12:15:20,772 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:20,774 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-07-06 12:15:20,777 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2024-07-06 12:15:20,778 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:20,781 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:20,786 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Einspeisung erzeugt werden.
2024-07-06 12:15:20,789 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -152.59000000000015W
2024-07-06 12:15:20,789 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -152.59000000000015W
2024-07-06 12:15:20,790 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-07-06 12:15:20,793 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-07-06 12:15:20,795 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'chargemode_log_entry': 'pv_charging', 'costs': 1.2476, 'imported_at_mode_switch': 5662482.91, 'imported_at_plugtime': 5662482.91, 'imported_since_mode_switch': 8098.139999999665, 'imported_since_plugged': 8098.139999999665, 'range_charged': 44.9896666666648, 'time_charged': '2:40', 'timestamp_start_charging': 1720251270.72049, 'ev': 2, 'prio': False, 'rfid': None, 'serial_number': None}
2024-07-06 12:15:20,797 - {control.process:111} - {INFO:MainThread} - LP3: set current 6 A, state PHASE_SWITCH_DELAY
2024-07-06 12:15:20,800 - {modules.common.component_context:25} - {DEBUG:set current cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:20,832 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-07-06 12:15:25,126 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:30,143 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:30,145 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-07-06 12:15:30,147 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-07-06 12:15:30,217 - {modules.devices.sonnenbatterie.device:61} - {DEBUG:device1} - Start device reading {'component0': <modules.devices.sonnenbatterie.counter.SonnenbatterieCounter object at 0x6d053358>, 'component1': <modules.devices.sonnenbatterie.inverter.SonnenbatterieInverter object at 0x6cdb4ad8>, 'component2': <modules.devices.sonnenbatterie.bat.SonnenbatterieBat object at 0x6d05c928>}
2024-07-06 12:15:30,218 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:30,219 - {modules.devices.sonnenbatterie.counter:111} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:30,227 - {modules.common.component_context:25} - {DEBUG:set values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:30,234 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:30,310 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:30,312 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":324,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":true,"Consumption_Avg":3718,"Consumption_W":3245,"Fac":49.968,"FlowConsumptionBattery":true,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-36.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":293,"Production_W":2915,"RSOC":72,"RemainingCapacity_Wh":8916,"Sac1":108,"Sac2":108,"Sac3":108,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:29","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:30,313 - {modules.devices.sonnenbatterie.counter:76} - {DEBUG:device1} - EVU Leistung: 36.0
2024-07-06 12:15:30,314 - {modules.devices.sonnenbatterie.counter:79} - {DEBUG:device1} - EVU Spannung: 237.0
2024-07-06 12:15:30,314 - {modules.devices.sonnenbatterie.counter:81} - {DEBUG:device1} - EVU Netzfrequenz: 49.968
2024-07-06 12:15:30,315 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260920.2887642, power=-125.0, imported=33334.64052402758, exported=1617760.1389921615)
2024-07-06 12:15:30,315 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278511, power1: -125, power2: 36
2024-07-06 12:15:30,316 - {modules.common.simcount._calculate:24} - {DEBUG:device1} - power changed sign. Total energy: -0.123937, exported energy: -0.135147
2024-07-06 12:15:30,316 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0.0112096 Wh, exported: 0.135147 Wh, new state: SimCounterState(timestamp=1720260930.315164, power=36.0, imported=33334.65173366716, exported=1617760.2741392436)
2024-07-06 12:15:30,317 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.65173366716, exported=1617760.2741392436, power=36.0, frequency=49.968)
2024-07-06 12:15:30,321 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:30,323 - {modules.devices.sonnenbatterie.inverter:100} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:30,328 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:30,394 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:30,396 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":324,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":true,"Consumption_Avg":3718,"Consumption_W":3245,"Fac":49.968,"FlowConsumptionBattery":true,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-36.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":293,"Production_W":2915,"RSOC":72,"RemainingCapacity_Wh":8916,"Sac1":108,"Sac2":108,"Sac3":108,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:29","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:30,398 - {modules.devices.sonnenbatterie.inverter:76} - {DEBUG:device1} - Speicher PV Leistung: -2915
2024-07-06 12:15:30,398 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260920.3595579, power=-3379, imported=0.0, exported=2004339.055674217)
2024-07-06 12:15:30,399 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0027887, power1: -3379, power2: -2915
2024-07-06 12:15:30,399 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -8.77605
2024-07-06 12:15:30,400 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 8.77605 Wh, new state: SimCounterState(timestamp=1720260930.3988857, power=-2915, imported=0.0, exported=2004347.8317199878)
2024-07-06 12:15:30,401 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2915, exported=2004347.8317199878, dc_power=None)
2024-07-06 12:15:30,402 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:30,403 - {modules.devices.sonnenbatterie.bat:122} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:30,410 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:30,468 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:30,471 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":324,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":true,"Consumption_Avg":3718,"Consumption_W":3245,"Fac":49.968,"FlowConsumptionBattery":true,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-36.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":293,"Production_W":2915,"RSOC":72,"RemainingCapacity_Wh":8916,"Sac1":108,"Sac2":108,"Sac3":108,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:29","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:30,472 - {modules.devices.sonnenbatterie.bat:92} - {DEBUG:device1} - Speicher Leistung: -293
2024-07-06 12:15:30,473 - {modules.devices.sonnenbatterie.bat:94} - {DEBUG:device1} - Speicher SoC: 71
2024-07-06 12:15:30,473 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260920.4271364, power=6, imported=141918.07979171953, exported=104919.02360305749)
2024-07-06 12:15:30,474 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00279078, power1: 6, power2: -293
2024-07-06 12:15:30,474 - {modules.common.simcount._calculate:24} - {DEBUG:device1} - power changed sign. Total energy: -0.400477, exported energy: -0.400645
2024-07-06 12:15:30,475 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0.000168007 Wh, exported: 0.400645 Wh, new state: SimCounterState(timestamp=1720260930.473955, power=-293, imported=141918.07995972654, exported=104919.42424841282)
2024-07-06 12:15:30,476 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=141918.07995972654, exported=104919.42424841282, power=-293, soc=71)
2024-07-06 12:15:30,486 - {modules.common.component_context:25} - {DEBUG:component1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:30,487 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2915, exported=2004347.8317199878, dc_power=None)
2024-07-06 12:15:30,488 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2915, exported=2004347.8317199878, dc_power=None)
2024-07-06 12:15:30,494 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:30,495 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=141918.07995972654, exported=104919.42424841282, power=-293, soc=71)
2024-07-06 12:15:30,497 - {modules.common.component_context:25} - {DEBUG:update values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:30,538 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:30,538 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.65173366716, exported=1617760.2741392436, power=36.0, frequency=49.968)
2024-07-06 12:15:30,595 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 104919.42, vorherige Payload: 104919.02
2024-07-06 12:15:30,596 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -293, vorherige Payload: 6
2024-07-06 12:15:30,682 - {control.bat_all:188} - {INFO:MainThread} - -293W verbleibende Speicher-Leistung
2024-07-06 12:15:30,683 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [41.08, 40.81, 40.95]A
2024-07-06 12:15:30,684 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 28119.54W
2024-07-06 12:15:30,686 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:30,687 - {control.chargepoint.chargepoint:533} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-07-06 12:15:30,690 - {control.chargepoint.chargepoint:674} - {INFO:MainThread} - LP 3, EV: ioniq5 (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-07-06 12:15:30,692 - {control.counter_all:102} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -911.54W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]
2024-07-06 12:15:30,696 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1720260920.7006297, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:30,697 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00277655, power1: 0, power2: 0
2024-07-06 12:15:30,699 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-07-06 12:15:30,704 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1720260930.69621, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:30,706 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=71, daily_exported=2254.0, daily_imported=4.0, imported=141918.08, exported=104919.42, fault_state=0, fault_str='Kein Fehler.', power=-293))
2024-07-06 12:15:30,708 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=71, daily_exported=2254.0, daily_imported=4.0, fault_str='Kein Fehler.', fault_state=0, imported=141918.08, exported=104919.42, power=-293), set=Set(charging_power_left=-293, regulate_up=True))
2024-07-06 12:15:30,709 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=8061.0, daily_exported=0.0, power=4155.54, imported=5670592.77, exported=0))
2024-07-06 12:15:30,712 - {control.data:266} - {INFO:MainThread} - cp3
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=1, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=1720260902.722551, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=42), currents=[6.08, 5.81, 5.95], daily_imported=8061.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5670592.77, phases_in_use=3, plug_state=True, power=4155.54, rfid_timestamp=None, rfid=None, serial_number='21894932', soc=None, soc_timestamp=None, state_str=None, vehicle_id=None, voltages=[234.38, 234.7, 234.79]), set=Set(change_ev_permitted=False, charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=1.2476, imported_at_mode_switch=5662482.91, imported_at_plugtime=5662482.91, imported_since_mode_switch=8098.139999999665, imported_since_plugged=8098.139999999665, range_charged=44.9896666666648, time_charged='2:40', timestamp_start_charging=1720251270.72049, ev=2, prio=False, rfid=None, serial_number=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1720251260.67492, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6cdb9550>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, name='Carport', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2024-07-06 12:15:30,713 - {control.data:266} - {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-Profil', rfid_enabling=False, valid_tags=[])
2024-07-06 12:15:30,714 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=49.968, daily_exported=3579.0, daily_imported=342.0, imported=33334.65173366716, exported=1617760.2741392436, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=36.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=28119.54, raw_currents_left=[41.08, 40.81, 40.95], surplus_power_left=0, state_str=''))
2024-07-06 12:15:30,715 - {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': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=3902.0, imported_home_consumption=224722.74429476185, disengageable_smarthome_power=0))
2024-07-06 12:15:30,716 - {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=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-07-06 12:15:30,717 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='ioniq5', 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='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=6, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=70000, soc=75))))
2024-07-06 12:15:30,718 - {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=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-07-06 12:15:30,720 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='ioniq5', tag_id=[], get=Get(soc=42, soc_timestamp=1720260636.911089, force_soc_update=False, range=211.0, fault_state=2, fault_str='<class \'UnboundLocalError\'> ("local variable \'response\' referenced before assignment",)'))
2024-07-06 12:15:30,722 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=10, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-06 12:15:30,724 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='ioniq5', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=73000, efficiency=90, nominal_difference=1, keep_charge_active_duration=60)
2024-07-06 12:15:30,726 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=1, phases_to_use=0, bat_power_discharge=500, bat_power_discharge_active=True, min_bat_soc=94, bat_mode='min_soc_bat_mode', switch_off_delay=900, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=False), control_interval=10, extern_display_mode='primary', 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.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-07-06 12:15:30,726 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-07-06 12:15:30,728 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-07-06 12:15:30,728 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6d0446e8>), led=Led(active=False), rfid=Rfid(active=False))
2024-07-06 12:15:30,729 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=3300), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=84716.0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004347.832, fault_state=0, fault_str='Kein Fehler.', power=-2915))
2024-07-06 12:15:30,729 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=84716.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004347.832, power=-2915))
2024-07-06 12:15:30,729 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.0.119', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'datastore_version': 44, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1720260920, 'time': '12:15:20', 'grid': -0.125, 'house-power': 0.0, 'charging-all': 4.156, 'pv-all': 3.379, 'cp3-power': 4.156, 'ev2-soc': 42, 'bat-all-power': 0.006, 'bat-all-soc': 71}, 'backup_before_update': True, 'module_update_completed': True}
2024-07-06 12:15:30,730 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenBatterieConfiguration object at 0x70ad95c8>}
2024-07-06 12:15:30,732 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'variant': 3, 'ip_address': '192.168.0.167'}
2024-07-06 12:15:30,733 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': {'variant': 3, 'ip_address': '192.168.0.167'}}
2024-07-06 12:15:30,734 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieCounterConfiguration object at 0x714291a8>}
2024-07-06 12:15:30,736 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:30,737 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-07-06 12:15:30,738 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieInverterConfiguration object at 0x6d05eda8>}
2024-07-06 12:15:30,739 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:30,740 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2024-07-06 12:15:30,741 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieBatConfiguration object at 0x6cd41f88>}
2024-07-06 12:15:30,743 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:30,744 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-07-06 12:15:30,746 - {control.data:253} - {INFO:MainThread} - 

2024-07-06 12:15:30,749 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-07-06 12:15:30,750 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 3: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-07-06 12:15:30,751 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:30,752 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 329.0W
2024-07-06 12:15:30,754 - {control.ev:462} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -329.0W, benötigte neue Leistung: 0W
2024-07-06 12:15:30,755 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 329.0W
2024-07-06 12:15:30,758 - {control.ev:507} - {INFO:MainThread} - LP 3: Umschaltung von 3 auf 1 Phasen in 14 Min. 32 Sek..
2024-07-06 12:15:30,761 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-07-06 12:15:30,763 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:30,765 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [35.08, 34.81, 34.95]A verbleibende Ströme, 23979.54W verbleibende Leistung
2024-07-06 12:15:30,766 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:30,769 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-07-06 12:15:30,771 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2024-07-06 12:15:30,773 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:30,774 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:30,777 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Einspeisung erzeugt werden.
2024-07-06 12:15:30,778 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -413.4599999999991W
2024-07-06 12:15:30,780 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -413.4599999999991W
2024-07-06 12:15:30,781 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-07-06 12:15:30,783 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-07-06 12:15:30,785 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'chargemode_log_entry': 'pv_charging', 'costs': 1.2476, 'imported_at_mode_switch': 5662482.91, 'imported_at_plugtime': 5662482.91, 'imported_since_mode_switch': 8109.859999999404, 'imported_since_plugged': 8109.859999999404, 'range_charged': 45.05477777777447, 'time_charged': '2:41', 'timestamp_start_charging': 1720251270.72049, 'ev': 2, 'prio': False, 'rfid': None, 'serial_number': None}
2024-07-06 12:15:30,788 - {control.process:111} - {INFO:MainThread} - LP3: set current 6 A, state PHASE_SWITCH_DELAY
2024-07-06 12:15:30,795 - {modules.common.component_context:25} - {DEBUG:set current cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:30,826 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-07-06 12:15:35,111 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:40,128 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:40,130 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
Vielleicht bin ich zu blöd, aber ich verstehe schlicht nicht, was Dir an Information fehlt. Da hilft es auch nicht, nochmals auf viewtopic.php?p=13655#p13655 zu verweisen. Nach dem was ich da lese, meine ich alle Informationen geliefert zu haben die ich liefern konnte / sollte.

Ich habe nochmal etwas weiter experimentiert, aber das wird ein nächstes Posting.
aiole
Beiträge: 7644
Registriert: Mo Okt 08, 2018 4:51 pm
Has thanked: 8 times
Been thanked: 15 times

Re: Hausverbrauch nicht plausibel

Beitrag von aiole »

Ist der Sonnenzähler im HV-Zweig verbaut (HV-Messung) oder am EVU-Punkt (HV-Berechnung)?
Ersteres wird von Sonnen empfohlen (warum auch immer), EVU-Punkt geht aber auch.

Nichtsdestotrotz kam kürzlich die Option einer HV-Messung in den aktuellen master 2.1.5 alpha1, womit auch echte HV-Zähler in openWB abbildbar werden.
Antworten