Ergänzend zu meinem obigen Beitrag hier einmal ein Screenshot. Im letzten Drittel gut zu erkennen, wie die oWB das Laden aus- und anschaltet.
Code: Alles auswählen
2023-05-26 12:35:30,559 - {root:63} - {INFO:MainThread} - # ***Start***
2023-05-26 12:35:30,635 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x724e5628>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x724e5850>, 'component2': <modules.devices.solaredge.bat.SolaredgeBat object at 0x724f7268>}
2023-05-26 12:35:30,639 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-05-26 12:35:30,652 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-05-26 12:35:30,702 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5978, 1874, 2083, 2020], Scale 0
2023-05-26 12:35:30,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [88, 93, 92], Scale -1
2023-05-26 12:35:30,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23575, 23591, 23512, 0, 0, 0, 0], Scale -2
2023-05-26 12:35:30,805 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-05-26 12:35:30,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-8889, -9419, -9350], Scale -2
2023-05-26 12:35:30,847 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [3847586, 1185193, 2876544, 2313539, 4138921, 4168699, 897465, 1600448], Scale 0
2023-05-26 12:35:30,848 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[235.75, 235.91, 235.12], powers=[-1874.0, -2083.0, -2020.0], currents=[-8.8, -9.3, -9.200000000000001], power_factors=[-0.8889, -0.9419, -0.935], imported=4138921.0, exported=3847586.0, power=-5978.0, frequency=50.0)
2023-05-26 12:35:30,850 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-05-26 12:35:31,046 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6359], Scale 0
2023-05-26 12:35:31,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11924781], Scale 0
2023-05-26 12:35:31,105 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [945, 946, 947], Scale -2
2023-05-26 12:35:31,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6455], Scale 0
2023-05-26 12:35:31,126 - {modules.common.component_state:95} - {DEBUG:device0} - currents sign wrong [9.450000000000001, 9.46, 9.47]
2023-05-26 12:35:31,127 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[9.450000000000001, 9.46, 9.47], power=-6359.0, exported=11924781.0, dc_power=-6455.0)
2023-05-26 12:35:31,129 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-05-26 12:35:31,205 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1685097320.867554, power=0.0, imported=60318.129325324495, exported=46668.158316503905)
2023-05-26 12:35:31,206 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287163, power1: 0, power2: 0
2023-05-26 12:35:31,206 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-05-26 12:35:31,206 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1685097331.2054205, power=0.0, imported=60318.129325324495, exported=46668.158316503905)
2023-05-26 12:35:31,208 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=60318.129325324495, exported=46668.158316503905, power=0.0, soc=100.0)
2023-05-26 12:35:31,223 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2023-05-26 12:35:31,225 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=60318.129325324495, exported=46668.158316503905, power=0.0, soc=100.0)
2023-05-26 12:35:31,263 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-05-26 12:35:31,263 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-05-26 12:35:31,264 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6359.0, exported=11938430.97, dc_power=None)
2023-05-26 12:35:31,265 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-6359.0, exported=11938430.97, dc_power=None)
2023-05-26 12:35:31,300 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-05-26 12:35:31,300 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[235.75, 235.91, 235.12], powers=[-1874.0, -2083.0, -2020.0], currents=[-8.8, -9.3, -9.200000000000001], power_factors=[-0.8889, -0.9419, -0.935], imported=4138921.0, exported=3847586.0, power=-5978.0, frequency=50.0)
2023-05-26 12:35:31,430 - {control.bat_all:164} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-05-26 12:35:31,432 - {control.counter:126} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [78.8, 79.3, 79.2]A
2023-05-26 12:35:31,433 - {control.counter:149} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 53978.0W
2023-05-26 12:35:31,435 - {control.chargepoint:739} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-05-26 12:35:31,452 - {control.chargepoint:909} - {INFO:MainThread} - LP 3, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.0
2023-05-26 12:35:31,454 - {control.data:335} - {INFO:MainThread} - bat2
BatData(get=Get(soc=100, daily_exported=3974.98, daily_imported=6823.63, imported=60318.13, exported=46668.16, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-05-26 12:35:31,456 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=100, daily_exported=3974.98, daily_imported=6823.63, imported=60318.13, exported=46668.16, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=True))
2023-05-26 12:35:31,457 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=500.98, daily_exported=0, power=0, imported=5833096.19, exported=0))
2023-05-26 12:35:31,463 - {control.data:335} - {INFO:MainThread} - cp3
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=0), currents=[0.0, 0.0, 0.0], daily_imported=500.98, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5833096.19, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[235.77, 235.67, 235.1]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=5832496.09, imported_at_plugtime=5821645.02, imported_since_mode_switch=598.1500000003725, imported_since_plugged=11451.170000000857, range_charged=3.5185294117668975, time_charged='0:28', timestamp_start_charging='05/26/2023, 12:07:01'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='05/25/2023, 13:40:30', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x712aaad8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 1}, ev=0, name='Garage', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-05-26 12:35:31,464 - {control.data:335} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-05-26 12:35:31,470 - {control.data:335} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[70, 70, 70], max_total_power=48000), get=Get(powers=[-1874.0, -2083.0, -2020.0], currents=[-8.8, -9.3, -9.2], voltages=[235.75, 235.91, 235.12], power_factors=[-0.89, -0.94, -0.94], unbalanced_load=0, frequency=50.0, daily_exported=2112.0, daily_imported=219.0, imported=4138921.0, exported=3847586.0, fault_state=0, fault_str='Kein Fehler.', power=-5978.0), set=Set(reserved_surplus=1400, released_surplus=0.0, raw_power_left=53978.0, raw_currents_left=[78.8, 79.3, 79.2], surplus_power_left=0, state_str=''))
2023-05-26 12:35:31,471 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), 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=381.0, invalid_home_consumption=0, daily_yield_home_consumption=8559.02))
2023-05-26 12:35:31,474 - {control.data:335} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=0, feed_in_limit=True, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=80))))
2023-05-26 12:35:31,476 - {control.data:335} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=60, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=6, required_currents=[6, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off='05/26/2023, 12:35:11', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None, state=6), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=True, range=0, fault_state=0, fault_str=''))
2023-05-26 12:35:31,480 - {control.data:335} - {INFO:MainThread} - ev3
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-05-26 12:35:31,481 - {control.data:335} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=60, nominal_difference=0.5, keep_charge_active_duration=40)
2023-05-26 12:35:31,485 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=5000, phase_switch_delay=8, phases_to_use=1, rundown_power=0, rundown_soc=100, switch_off_delay=300, switch_off_soc=0, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=0, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=3), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-05-26 12:35:31,486 - {control.data:315} - {INFO:MainThread} - general_data-display
local
2023-05-26 12:35:31,487 - {control.data:316} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-05-26 12:35:31,488 - {control.data:317} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x72bd8e80>), led=Led(active=False), rfid=Rfid(active=False))
2023-05-26 12:35:31,491 - {control.data:335} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=13801.65, monthly_exported=0, yearly_exported=0, exported=11938430.97, fault_state=0, fault_str='Kein Fehler.', power=-6359.0))
2023-05-26 12:35:31,491 - {control.data:319} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=13801.65, monthly_exported=0, yearly_exported=0, exported=11938411.97, power=-6369.0))
2023-05-26 12:35:31,492 - {control.data:335} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.178.226', 'current_commit': '2023-05-23 14:05:20 +0200 [de32a49a]', 'current_branch': 'master', 'current_branch_commit': '2023-05-25 15:06:18 +0200 [2bf58972]', 'current_missing_commits': ['2023-05-25 15:06:18 +0200 [2bf58972] - Merge pull request #901 from benderl/web', '2023-05-22 09:40:03 +0200 [c6b46dab] - move boot config file'], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 9, 'lastlivevaluesJson': {'timestamp': 1685097321, 'time': '12:35:21', 'grid': -5.995, 'house-power': 0.374, 'charging-all': 0.0, 'pv-all': 6.373, 'cp3-power': 0.0, 'bat-all-power': 0.0, 'bat-all-soc': 100}, 'module_update_completed': True}
2023-05-26 12:35:31,492 - {control.data:348} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.178.224'}}
2023-05-26 12:35:31,496 - {control.data:350} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-05-26 12:35:31,498 - {control.data:350} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-05-26 12:35:31,498 - {control.data:350} - {INFO:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-05-26 12:35:31,498 - {control.data:322} - {INFO:MainThread} -
2023-05-26 12:35:31,499 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-05-26 12:35:31,500 - {control.chargepoint:356} - {INFO:MainThread} - LP 3: Die Ladung wird gestartet, sobald nach 30s die Einschaltverzögerung abgelaufen ist.
2023-05-26 12:35:31,500 - {control.algorithm.algorithm:31} - {INFO:MainThread} - **Mindestrom setzen**
2023-05-26 12:35:31,504 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-05-26 12:35:31,505 - {control.algorithm.algorithm:33} - {INFO:MainThread} - **Sollstrom setzen**
2023-05-26 12:35:31,509 - {control.counter:198} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 6043.0W
2023-05-26 12:35:31,510 - {control.counter:452} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 6043.0W
2023-05-26 12:35:31,510 - {control.algorithm.algorithm:39} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-05-26 12:35:31,513 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2023-05-26 12:35:31,513 - {control.algorithm.filter_chargepoints:47} - {INFO:MainThread} - LP 3: Keine Zuteilung des Mindeststroms, daher keine weitere Berücksichtigung
2023-05-26 12:35:31,514 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-05-26 12:35:31,519 - {control.process:115} - {INFO:MainThread} - LP3: set current 0 A, state SWITCH_ON_DELAY
2023-05-26 12:35:31,523 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-05-26 12:35:31,556 - {control.counter:174} - {INFO:MainThread} - 1400W reservierte EVU-Leistung, 0.0W freigegebene EVU-Leistung
2023-05-26 12:35:31,828 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-05-26 12:35:40,908 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})