Nun, ich habe mir die SM Verbraucher in OWB2 ähnlich wie in OWB1.9 schon vor mehr als einem halben Jahr gewünscht und warte nach der Zusage von Lutz immer noch auf die Umsetzung:
Code: Alles auswählen
2024-02-19 21:37:50,132 - {root:75} - {INFO:MainThread} - # ***Start***
2024-02-19 21:37:50,171 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x71d58640>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x755b3e80>, 'component2': <modules.devices.solaredge.bat.SolaredgeBat object at 0x755ab610>}
2024-02-19 21:37:50,174 - {modules.common.component_context:25} - {DEBUG:set values cp6} - Update Komponente ['Ladepunkt']
2024-02-19 21:37:50,186 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-02-19 21:37:50,243 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-479, -427, -26, -26], Scale 0
2024-02-19 21:37:50,263 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22, 3, 2], Scale -1
2024-02-19 21:37:50,282 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23459, 23601, 23596, 0, 0, 0, 0], Scale -2
2024-02-19 21:37:50,303 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-02-19 21:37:50,325 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7870, 3050, 5329], Scale -2
2024-02-19 21:37:50,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9787528, 3080941, 5885503, 6052154, 6598349, 8522000, 2155660, 1151760], Scale 0
2024-02-19 21:37:50,345 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[2.2, 0.30000000000000004, 0.2], powers=[427.0, 26.0, 26.0], voltages=[234.59, 236.01, 235.96], power_factors=[0.787, 0.305, 0.5329], imported=6598349.0, exported=9787528.0, power=479.0, frequency=50.0)
2024-02-19 21:37:50,348 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-02-19 21:37:50,363 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-02-19 21:37:50,382 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23087700], Scale 0
2024-02-19 21:37:50,413 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 0, 0], Scale -2
2024-02-19 21:37:50,463 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-02-19 21:37:50,464 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.0, 0.0, 0.0]
2024-02-19 21:37:50,464 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=23087700.0, dc_power=-0.0)
2024-02-19 21:37:50,465 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-02-19 21:37:50,512 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1708375061.407274, power=0.0, imported=41037.474672105556, exported=37794.22488905111)
2024-02-19 21:37:50,513 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00252924, power1: 0, power2: 0
2024-02-19 21:37:50,513 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-02-19 21:37:50,513 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1708375070.5125263, power=0.0, imported=41037.474672105556, exported=37794.22488905111)
2024-02-19 21:37:50,514 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=41037.474672105556, exported=37794.22488905111, power=0.0, soc=10.0)
2024-02-19 21:37:50,518 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2024-02-19 21:37:50,520 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=41037.474672105556, exported=37794.22488905111, power=0.0, soc=10.0)
2024-02-19 21:37:50,554 - {modules.common.component_context:25} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2024-02-19 21:37:50,555 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=23090943.25, dc_power=None)
2024-02-19 21:37:50,555 - {modules.common.component_context:25} - {DEBUG:update values cp6} - Update Komponente ['Ladepunkt']
2024-02-19 21:37:50,556 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=23090943.25, dc_power=None)
2024-02-19 21:37:50,577 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-02-19 21:37:50,578 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[2.2, 0.30000000000000004, 0.2], powers=[427.0, 26.0, 26.0], voltages=[234.59, 236.01, 235.96], power_factors=[0.787, 0.305, 0.5329], imported=6598349.0, exported=9787528.0, power=479.0, frequency=50.0)
2024-02-19 21:37:50,629 - {modules.common.component_context:25} - {DEBUG:get ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-02-19 21:37:50,630 - {modules.ripple_control_receivers.gpio.ripple_control_receiver:36} - {DEBUG:get ripple control receiver} - RSE-Kontakt 1: False, RSE-Kontakt 2: False
2024-02-19 21:37:50,630 - {modules.common.store._api:26} - {DEBUG:get ripple control receiver} - Raw data <modules.common.component_state.RcrState object at 0x75784c70>
2024-02-19 21:37:50,632 - {modules.common.component_context:25} - {DEBUG:set ripple control receiver} - Update Komponente ['GPIOs auf der AddOn-Platine']
2024-02-19 21:37:50,632 - {modules.common.store._api:30} - {INFO:set ripple control receiver} - Saving <modules.common.component_state.RcrState object at 0x75784c70>
2024-02-19 21:37:50,721 - {control.bat_all:213} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: 0.0W
2024-02-19 21:37:50,722 - {control.bat_all:217} - {DEBUG:MainThread} - Reservierte Ladeleistung (300W) subtrahieren: -300.0
2024-02-19 21:37:50,722 - {control.bat_all:171} - {INFO:MainThread} - -300.0W verbleibende Speicher-Leistung
2024-02-19 21:37:50,734 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [37.8, 39.7, 39.8]A
2024-02-19 21:37:50,740 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 49521.0W
2024-02-19 21:37:50,761 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 6: Keine Ladung, da kein Auto angesteckt ist.
2024-02-19 21:37:50,768 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1708375061.7020943, power=466.0, imported=3972735.583887927, exported=8352.26192803383)
2024-02-19 21:37:50,769 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00251841, power1: 466, power2: 479
2024-02-19 21:37:50,770 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.18995
2024-02-19 21:37:50,772 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.18995 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1708375070.7683666, power=479.0, imported=3972736.7738361605, exported=8352.26192803383)
2024-02-19 21:37:50,774 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=10, daily_exported=856.0, daily_imported=1233.0, imported=41037.47, exported=37794.22, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-02-19 21:37:50,775 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=10, daily_exported=856.0, daily_imported=1233.0, fault_str='Kein Fehler.', fault_state=0, imported=41037.47, exported=37794.22, power=0.0), set=Set(charging_power_left=-300.0, regulate_up=False, switch_on_soc_reached=True))
2024-02-19 21:37:50,776 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0.0, power=0, imported=3293381.84, exported=0))
2024-02-19 21:37:50,778 - {control.data:266} - {INFO:MainThread} - cp6
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=0, submode='stop', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=1), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=3293381.84, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', vehicle_id=None, voltages=[234.66, 236.21, 235.69]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', costs=0, imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None), manual_lock=False, phases_to_use=2, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7574fe08>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=6))
2024-02-19 21:37:50,780 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-02-19 21:37:50,781 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[40, 40, 40], max_total_power=50000), get=Get(powers=[427.0, 26.0, 26.0], currents=[2.2, 0.3, 0.2], voltages=[234.59, 236.01, 235.96], power_factors=[0.79, 0.3, 0.53], unbalanced_load=0, frequency=50.0, daily_exported=86.0, daily_imported=8658.0, imported=6598349.0, exported=9787528.0, fault_state=0, fault_str='Kein Fehler.', power=479.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=49521.0, raw_currents_left=[37.8, 39.7, 39.8], surplus_power_left=0, state_str=''))
2024-02-19 21:37:50,782 - {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': 6, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=479.0, invalid_home_consumption=0, daily_yield_home_consumption=12020.0, imported_home_consumption=3972736.7738361605, disengageable_smarthome_power=0))
2024-02-19 21:37:50,783 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=True, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['21:00', '23:00'], name='Zeitladen-Standard', current=32, limit=Limit(selected='soc', amount=1000, soc=75))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=99, max_soc=100), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=13, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=65), time='07:00')}), instant_charging=InstantCharging(current=17, limit=Limit(selected='soc', amount=14000, soc=100))))
2024-02-19 21:37:50,783 - {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=1, soc_timestamp=1708374922.184805, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-19 21:37:50,783 - {control.data:266} - {INFO:MainThread} - ev5
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-19 21:37:50,784 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=91, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-19 21:37:50,784 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=24000, min_current=6, max_current_single_phase=32, battery_capacity=10000, efficiency=94, nominal_difference=1, keep_charge_active_duration=2)
2024-02-19 21:37:50,785 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=300, control_range=[0, 230], feed_in_yield=6800, phase_switch_delay=5, phases_to_use=1, rundown_power=5000, rundown_soc=25, switch_off_delay=180, switch_off_soc=0, switch_off_threshold=300, switch_on_delay=180, switch_on_soc=5, switch_on_threshold=250), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.00029, cp=0, grid=0.0004857, pv=0.000143), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=<modules.common.configurable_ripple_control_receiver.ConfigurableRcr object at 0x757faf70>, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-02-19 21:37:50,785 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-02-19 21:37:50,786 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-02-19 21:37:50,786 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x757694f0>), led=Led(active=False), rfid=Rfid(active=False))
2024-02-19 21:37:50,787 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=7200), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=3819.0, monthly_exported=0, yearly_exported=0, exported=23090943.25, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-02-19 21:37:50,787 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=3819.0, monthly_exported=0, yearly_exported=0, exported=23090943.25, power=0))
2024-02-19 21:37:50,787 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.2.131', 'current_commit': '2024-02-16 17:06:47 +0100 [9589e3426]', 'current_branch': 'master', 'current_branch_commit': '2024-02-16 17:06:47 +0100 [9589e3426]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.3', 'datastore_version': 37, 'lastlivevaluesJson': {'timestamp': 1708375061, 'time': '21:37:41', 'grid': 0.466, 'house-power': 0.466, 'charging-all': 0.0, 'pv-all': -0.0, 'cp6-power': 0.0, 'ev0-soc': 1, 'bat-all-power': 0.0, 'bat-all-soc': 10}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-02-19 21:37:50,788 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2024-02-19 21:37:50,788 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-02-19 21:37:50,789 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2024-02-19 21:37:50,789 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-02-19 21:37:50,789 - {control.data:253} - {INFO:MainThread} -
2024-02-19 21:37:50,790 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-02-19 21:37:50,790 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-02-19 21:37:50,792 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-02-19 21:37:50,796 - {control.counter:249} - {DEBUG:MainThread} - Anpassen des Regelbereichs -115.0W
2024-02-19 21:37:50,797 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -894.0W
2024-02-19 21:37:50,799 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -894.0W
2024-02-19 21:37:50,800 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-02-19 21:37:50,801 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-02-19 21:37:50,804 - {modules.common.component_context:25} - {DEBUG:set current cp6} - Update Komponente ['Ladepunkt']
2024-02-19 21:37:50,818 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-02-19 21:37:55,068 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-02-19 21:38:00,095 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-02-19 21:38:00,099 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-02-19 21:38:00,101 - {root:75} - {INFO:MainThread} - # ***Start***