Code: Alles auswählen
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 74, in update
with self.client:
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
raise e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
self._delegate.__enter__()
File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.208:502)]
2024-07-02 09:42:23,129 - {modules.common.component_context:25} - {DEBUG:component9} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2024-07-02 09:42:23,131 - {modules.common.component_context:25} - {DEBUG:component11} - Update Komponente ['Sungrow Wechselrichter']
2024-07-02 09:42:23,132 - {modules.common.store._api:26} - {DEBUG:component11} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4169, exported=4142678.950136827, dc_power=None)
2024-07-02 09:42:23,133 - {modules.common.component_context:25} - {DEBUG:component13} - Update Komponente ['Sungrow Speicher']
2024-07-02 09:42:23,133 - {modules.common.store._api:31} - {INFO:component11} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4169, exported=4142678.950136827, dc_power=None)
2024-07-02 09:42:23,134 - {modules.common.component_context:25} - {DEBUG:update values cp12} - Update Komponente ['Ladepunkt']
2024-07-02 09:42:23,135 - {modules.common.store._api:31} - {INFO:component13} - Saving BatState(imported=253012.20240904496, exported=204654.98669743855, power=0, soc=100)
2024-07-02 09:42:23,208 - {modules.common.component_context:25} - {DEBUG:component26} - Update Komponente ['Sungrow Zähler']
2024-07-02 09:42:23,208 - {modules.common.store._api:31} - {INFO:component26} - Saving CounterState(currents=[-8.35987946620749, -4.463350785340315, -4.947643979057592], powers=[-1942, -1023, -1134], voltages=[232.3, 229.2, 229.2], power_factors=[1.0, 1.0, 1.0], imported=141.261517670951, exported=8782.272337734299, power=-4169, frequency=50.010000000000005)
2024-07-02 09:42:23,373 - {control.bat_all:182} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-07-02 09:42:23,374 - {control.counter:146} - {INFO:MainThread} - Verbleibende Ströme an Zähler 26: [43.36, 39.46, 39.95]A
2024-07-02 09:42:23,389 - {control.counter:169} - {INFO:MainThread} - Verbleibende Leistung an Zähler 26: 28169W
2024-07-02 09:42:23,397 - {control.chargepoint.chargepoint:557} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-02 09:42:23,400 - {control.chargepoint.chargepoint:673} - {DEBUG:MainThread} - LP 12, EV: Enyaq (EV-Nr.1): Lademodus stop, Submodus: Chargemode.STOP
2024-07-02 09:42:23,401 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 12: Keine Ladung, da der Lademodus Stop aktiv ist.
2024-07-02 09:42:23,407 - {modules.common.simcount._simcount:42} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1719906133.543588, power=1069, imported=5006207.604489051, exported=144.28539984281528)
2024-07-02 09:42:23,409 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00273997, power1: 1069, power2: 1069
2024-07-02 09:42:23,413 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.92903
2024-07-02 09:42:23,414 - {modules.common.simcount._simcount:65} - {DEBUG:MainThread} - imported: 2.92903 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1719906143.4074795, power=1069, imported=5006210.533516862, exported=144.28539984281528)
2024-07-02 09:42:23,422 - {control.data:266} - {INFO:MainThread} - bat13
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=100, daily_exported=2351.0, daily_imported=4660.0, imported=253012.2, exported=204654.99, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-07-02 09:42:23,423 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=100, daily_exported=2351.0, daily_imported=4660.0, fault_str='Kein Fehler.', fault_state=0, imported=253012.2, exported=204654.99, power=0), set=Set(charging_power_left=0, regulate_up=False))
2024-07-02 09:42:23,426 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0.0, power=0, imported=2605289.06, exported=0))
2024-07-02 09:42:23,427 - {control.data:266} - {INFO:MainThread} - cp12
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=True, required_current=0, required_currents=[0.0, 0.0, 0.0], state=0, submode=<Chargemode.STOP: 'stop'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=80), 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=2605289.06, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='21224711', soc=None, soc_timestamp=None, state_str='Keine Ladung, da der Lademodus Stop aktiv ist.', vehicle_id=None, voltages=[227.89, 229.94, 229.5]), set=Set(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=2605289.06, imported_at_plugtime=2603615.97, imported_since_mode_switch=0, imported_since_plugged=1673.089999999851, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None, soc_at_start=None, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1719832183.868064, required_power=0.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f1d48f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=1, 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=12))
2024-07-02 09:42:23,428 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=True), id=0, max_current_multi_phases=32, max_current_single_phase=23, name='Standard Ladepunkt-Vorlage', disable_after_unplug=False, valid_tags=[])
2024-07-02 09:42:23,429 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=True), id=1, max_current_multi_phases=32, max_current_single_phase=22, name='Enyaq', disable_after_unplug=False, valid_tags=[])
2024-07-02 09:42:23,431 - {control.data:266} - {INFO:MainThread} - counter26
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-1942, -1023, -1134], currents=[-8.36, -4.46, -4.95], voltages=[232.3, 229.2, 229.2], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=50.010000000000005, daily_exported=7561.0, daily_imported=117.0, imported=141.261517670951, exported=8782.272337734299, fault_state=0, fault_str='Kein Fehler.', power=-4169), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=28169, raw_currents_left=[43.36, 39.46, 39.95], surplus_power_left=0, state_str=''))
2024-07-02 09:42:23,433 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(home_consumption_source_id=None, reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 26, 'type': 'counter', 'children': [{'id': 9, 'type': 'inverter', 'children': []}, {'id': 11, 'type': 'inverter', 'children': []}, {'id': 13, 'type': 'bat', 'children': []}, {'id': 12, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1069, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=13660.0, imported_home_consumption=5006210.533516862, disengageable_smarthome_power=0))
2024-07-02 09:42:23,434 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', prio=True, load_default=False, et=Et(active=True, max_price=0.00016), time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=70000, soc_limit=80, soc_scheduled=80), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=70000, soc=100))))
2024-07-02 09:42:23,435 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Tibber 20 SOC 100%', prio=True, load_default=False, et=Et(active=True, max_price=0.000274), time_charging=TimeCharging(active=True, plans={'1': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=100, max_soc=100), scheduled_charging=ScheduledCharging(plans={'1': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=100), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='soc', amount=70000, soc=100))))
2024-07-02 09:42:23,437 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Tibber 25 SOC 90%', prio=True, load_default=False, et=Et(active=True, max_price=0.00027100000000000003), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=90), scheduled_charging=ScheduledCharging(plans={'2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard 6:00', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=80, soc_scheduled=80), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=70000, soc=100))))
2024-07-02 09:42:23,440 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='Tibber 28 SOC 90%', prio=True, load_default=False, et=Et(active=True, max_price=0.000222), time_charging=TimeCharging(active=True, plans={'3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=90))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=12, min_current=6, feed_in_limit=False, min_soc=100, max_soc=100), scheduled_charging=ScheduledCharging(plans={'3': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=90, soc_scheduled=90), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=70000, soc=92))))
2024-07-02 09:42:23,445 - {control.data:266} - {INFO:MainThread} - ct4
ChargeTemplateData(name='Tibber 30 SOC 80%', prio=True, load_default=False, et=Et(active=True, max_price=0.00030010000000000003), time_charging=TimeCharging(active=True, plans={'4': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=80, max_soc=80), scheduled_charging=ScheduledCharging(plans={'4': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=80, soc_scheduled=80), time='06:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=70000, soc=80))))
2024-07-02 09:42:23,446 - {control.data:266} - {INFO:MainThread} - ct5
ChargeTemplateData(name='Tibber 33 SOC 100%', prio=True, load_default=False, et=Et(active=True, max_price=0.000216), time_charging=TimeCharging(active=False, plans={'5': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=100))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={'5': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=100), time='07:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=70000, soc=80))))
2024-07-02 09:42:23,447 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=5, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=80, soc_timestamp=1719882181.743411, force_soc_update=False, range=352, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:23,448 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=1, name='Enyaq', tag_id=[], get=Get(soc=80, soc_timestamp=1719890182.761641, force_soc_update=False, range=352, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:23,450 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=1719878588.384111, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:23,452 - {control.data:266} - {INFO:MainThread} - ev13
EvData(set=Set(soc_error_counter=457), charge_template=0, ev_template=1, name='Enyaq EVCC', tag_id=[], get=Get(soc=0, soc_timestamp=1719890243.236548, force_soc_update=False, range=0, fault_state=2, fault_str="<class 'grpc._channel._InactiveRpcError'> (<grpc._channel._RPCState object at 0x6f14b088>,)"))
2024-07-02 09:42:23,454 - {control.data:266} - {INFO:MainThread} - ev14
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=1, name='Enyaq EVNotify', tag_id=[], get=Get(soc=87.6, soc_timestamp=1719879511.696591, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:23,455 - {control.data:266} - {INFO:MainThread} - ev12
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues 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-02 09:42:23,457 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, 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=20000, min_current=6, max_current_single_phase=21, battery_capacity=77000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-02 09:42:23,459 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Enyaq', max_current_multi_phases=32, 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=20000, min_current=6, max_current_single_phase=21, battery_capacity=77000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-02 09:42:23,461 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=1000, bat_power_reserve_active=True, control_range=[-500, 0], feed_in_yield=0, phases_to_use=3, bat_power_discharge=200, bat_power_discharge_active=False, min_bat_soc=100, bat_mode='bat_mode', switch_off_delay=10, switch_off_threshold=50, switch_on_delay=10, switch_on_threshold=600), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0, phases_to_use_pv=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=30, unbalanced_load=True, phase_switch_delay=1), 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.00022, cp=0, grid=0.0003, pv=0.00013), 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-02 09:42:23,461 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-07-02 09:42:23,463 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-07-02 09:42:23,464 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Die Preisliste hat nicht 24, sondern 15 Einträge. Die Strompreise werden vom Anbieter erst um 14:00 für den Folgetag aktualisiert.', prices={'1719903600': 0.0003091, '1719907200': 0.0003038, '1719910800': 0.00029370000000000004, '1719914400': 0.0002915, '1719918000': 0.0002872, '1719921600': 0.00027739999999999997, '1719925200': 0.0002796, '1719928800': 0.00029330000000000003, '1719932400': 0.0002953, '1719936000': 0.0003058, '1719939600': 0.0003282, '1719943200': 0.0003418, '1719946800': 0.0003358, '1719950400': 0.0003347, '1719954000': 0.00030730000000000004})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=300, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f1c6250>), led=Led(active=False), rfid=Rfid(active=False))
2024-07-02 09:42:23,465 - {control.data:266} - {INFO:MainThread} - pv9
PvData(config=Config(max_ac_out=5000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=33857985, fault_state=0, fault_str='Kein Fehler.', power=-1069))
2024-07-02 09:42:23,466 - {control.data:266} - {INFO:MainThread} - pv11
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=10613.0, monthly_exported=52647.623999999836, yearly_exported=4006228.4779999997, exported=4142678.95, fault_state=0, fault_str='Kein Fehler.', power=-4169))
2024-07-02 09:42:23,468 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=10613.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=52647.62399999797, yearly_exported=3686013.781830199, exported=38000663.95, power=-5238))
2024-07-02 09:42:23,469 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'backup_cloud': {'backup_before_update': True}, 'ip_address': '192.168.178.76', 'current_commit': '2024-07-01 16:25:58 +0200 [b36c2eaf1]', 'current_branch': 'master', 'current_branch_commit': '2024-07-01 16:25:58 +0200 [b36c2eaf1]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 48, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.5-Alpha.1', 'lastlivevaluesJson': {'timestamp': 1719906133, 'time': '09:42:13', 'grid': -5.057, 'house-power': 1.069, 'charging-all': 0.0, 'pv-all': 6.126, 'cp12-power': 0.0, 'ev0-soc': 80, 'ev1-soc': 80, 'ev2-soc': None, 'ev13-soc': 0, 'ev14-soc': 87.6, 'bat-all-power': 0.0, 'bat-all-soc': 100}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-07-02 09:42:23,471 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 8, 'configuration': <modules.devices.sma_sunny_boy.config.SmaSunnyBoyConfiguration object at 0x703c3b08>}
2024-07-02 09:42:23,473 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'ip_address': '192.168.178.208', 'port': 502}
2024-07-02 09:42:23,474 - {control.data:279} - {INFO:MainThread} - device8
{'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 8, 'configuration': {'ip_address': '192.168.178.208', 'port': 502}}
2024-07-02 09:42:23,475 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 9, 'configuration': <modules.devices.sma_sunny_boy.config.SmaSunnyBoyInverterConfiguration object at 0x703c3598>}
2024-07-02 09:42:23,476 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'hybrid': False, 'version': 0, 'modbus_id': 3}
2024-07-02 09:42:23,482 - {control.data:281} - {INFO:MainThread} - component9
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 9, 'configuration': {'hybrid': False, 'version': 0, 'modbus_id': 3}}
2024-07-02 09:42:23,488 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow', 'type': 'sungrow', 'id': 10, 'configuration': <modules.devices.sungrow.config.SungrowConfiguration object at 0x703d7a60>}
2024-07-02 09:42:23,488 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'ip_address': '192.168.178.43', 'port': 502, 'modbus_id': 1, 'version': 3}
2024-07-02 09:42:23,490 - {control.data:279} - {INFO:MainThread} - device10
{'name': 'Sungrow', 'type': 'sungrow', 'id': 10, 'configuration': {'ip_address': '192.168.178.43', 'port': 502, 'modbus_id': 1, 'version': 3}}
2024-07-02 09:42:23,491 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 11, 'configuration': <modules.devices.sungrow.config.SungrowInverterConfiguration object at 0x6fb6dc58>}
2024-07-02 09:42:23,493 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-02 09:42:23,493 - {control.data:281} - {INFO:MainThread} - component11
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 11, 'configuration': {}}
2024-07-02 09:42:23,494 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow Speicher', 'type': 'bat', 'id': 13, 'configuration': <modules.devices.sungrow.config.SungrowBatConfiguration object at 0x6fb6dfb8>}
2024-07-02 09:42:23,495 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-02 09:42:23,496 - {control.data:281} - {INFO:MainThread} - component13
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 13, 'configuration': {}}
2024-07-02 09:42:23,497 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow Zähler', 'type': 'counter', 'id': 26, 'configuration': <modules.devices.sungrow.config.SungrowCounterConfiguration object at 0x6fb78280>}
2024-07-02 09:42:23,498 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-02 09:42:23,499 - {control.data:281} - {INFO:MainThread} - component26
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 26, 'configuration': {}}
2024-07-02 09:42:23,500 - {control.data:253} - {INFO:MainThread} -
2024-07-02 09:42:23,500 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-07-02 09:42:23,501 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-07-02 09:42:23,505 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-07-02 09:42:23,510 - {control.counter:250} - {DEBUG:MainThread} - Anpassen des Regelbereichs 250.0W
2024-07-02 09:42:23,512 - {control.counter:218} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4419.0W
2024-07-02 09:42:23,513 - {control.counter:514} - {DEBUG:MainThread} - Zähler 26: Begrenzung der verbleibenden Leistung auf 4419.0W
2024-07-02 09:42:23,513 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-07-02 09:42:23,514 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-07-02 09:42:23,516 - {modules.common.component_context:25} - {DEBUG:set current cp12} - Update Komponente ['Ladepunkt']
2024-07-02 09:42:23,538 - {control.counter:194} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-07-02 09:42:25,849 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-02 09:42:30,869 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-02 09:42:30,872 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-07-02 09:42:30,873 - {root:75} - {INFO:MainThread} - # ***Start***
2024-07-02 09:42:30,971 - {modules.devices.sma_sunny_boy.device:72} - {DEBUG:device8} - Start device reading {'component9': <modules.devices.sma_sunny_boy.inverter.SmaSunnyBoyInverter object at 0x70d733e8>}
2024-07-02 09:42:30,972 - {modules.devices.sungrow.device:57} - {DEBUG:device10} - Start device reading {'component11': <modules.devices.sungrow.inverter.SungrowInverter object at 0x6fb6dbc8>, 'component13': <modules.devices.sungrow.bat.SungrowBat object at 0x6fb6dbe0>, 'component26': <modules.devices.sungrow.counter.SungrowCounter object at 0x703d2538>}
2024-07-02 09:42:30,972 - {modules.common.component_context:54} - {DEBUG:device10} - Update Komponenten ['Sungrow Wechselrichter', 'Sungrow Speicher', 'Sungrow Zähler']
2024-07-02 09:42:30,973 - {modules.common.component_context:25} - {DEBUG:set values cp12} - Update Komponente ['Ladepunkt']
2024-07-02 09:42:30,991 - {modules.common.simcount._simcount:42} - {DEBUG:device10} - Previous state: SimCounterState(timestamp=1719906140.1379468, power=-4169, imported=3992.77709573186, exported=4142678.950136827)
2024-07-02 09:42:30,992 - {modules.common.simcount._calculate:11} - {DEBUG:device10} - time passed: 0.00301475, power1: -4169, power2: -4061
2024-07-02 09:42:30,994 - {modules.common.simcount._calculate:27} - {DEBUG:device10} - power did not change sign. Total energy: -12.4057
2024-07-02 09:42:30,997 - {modules.common.simcount._simcount:65} - {DEBUG:device10} - imported: 0 Wh, exported: 12.4057 Wh, new state: SimCounterState(timestamp=1719906150.9910607, power=-4061, imported=3992.77709573186, exported=4142691.3558489536)
2024-07-02 09:42:31,000 - {modules.common.store._api:26} - {DEBUG:device10} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4061, exported=4142691.3558489536, dc_power=None)
2024-07-02 09:42:31,046 - {modules.common.simcount._simcount:42} - {DEBUG:device10} - Previous state: SimCounterState(timestamp=1719906140.1962612, power=-4169, imported=141.261517670951, exported=8782.272337734299)
2024-07-02 09:42:31,047 - {modules.common.simcount._calculate:11} - {DEBUG:device10} - time passed: 0.00301405, power1: -4169, power2: -4061
2024-07-02 09:42:31,047 - {modules.common.simcount._calculate:27} - {DEBUG:device10} - power did not change sign. Total energy: -12.4028
2024-07-02 09:42:31,048 - {modules.common.simcount._simcount:65} - {DEBUG:device10} - imported: 0 Wh, exported: 12.4028 Wh, new state: SimCounterState(timestamp=1719906151.0468438, power=-4061, imported=141.261517670951, exported=8794.675156455833)
2024-07-02 09:42:31,049 - {modules.common.store._api:26} - {DEBUG:device10} - Raw data CounterState(currents=[-8.238074774387623, -4.375542064180399, -4.849804092294297], powers=[-1917, -1009, -1114], voltages=[232.7, 230.6, 229.7], power_factors=[1.0, 1.0, 1.0], imported=141.261517670951, exported=8794.675156455833, power=-4061, frequency=50.019999999999996)
2024-07-02 09:42:31,075 - {modules.common.simcount._simcount:42} - {DEBUG:device10} - Previous state: SimCounterState(timestamp=1719906140.224934, power=0, imported=253012.20240904496, exported=204654.98669743855)
2024-07-02 09:42:31,076 - {modules.common.simcount._calculate:11} - {DEBUG:device10} - time passed: 0.0030141, power1: 0, power2: 0
2024-07-02 09:42:31,076 - {modules.common.simcount._calculate:27} - {DEBUG:device10} - power did not change sign. Total energy: 0
2024-07-02 09:42:31,077 - {modules.common.simcount._simcount:65} - {DEBUG:device10} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1719906151.07568, power=0, imported=253012.20240904496, exported=204654.98669743855)
2024-07-02 09:42:31,077 - {modules.common.store._api:26} - {DEBUG:device10} - Raw data BatState(imported=253012.20240904496, exported=204654.98669743855, power=0, soc=100)
2024-07-02 09:42:33,977 - {pymodbus.client.sync:218} - {ERROR:device8} - Connection to (192.168.178.208, 502) failed: timed out
2024-07-02 09:42:33,980 - {helpermodules.logger:86} - {ERROR:device8} - Uncaught exception in threading.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 74, in update
with self.client:
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 65, in __enter__
raise e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 61, in __enter__
self._delegate.__enter__()
File "/home/openwb/.local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 120, in __enter__
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.208:502)]
2024-07-02 09:42:33,984 - {modules.common.component_context:25} - {DEBUG:component9} - Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2024-07-02 09:42:33,985 - {modules.common.component_context:25} - {DEBUG:component11} - Update Komponente ['Sungrow Wechselrichter']
2024-07-02 09:42:33,985 - {modules.common.store._api:26} - {DEBUG:component11} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-4061, exported=4142691.3558489536, dc_power=None)
2024-07-02 09:42:33,986 - {modules.common.component_context:25} - {DEBUG:component13} - Update Komponente ['Sungrow Speicher']
2024-07-02 09:42:33,986 - {modules.common.store._api:31} - {INFO:component11} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4061, exported=4142691.3558489536, dc_power=None)
2024-07-02 09:42:33,987 - {modules.common.store._api:31} - {INFO:component13} - Saving BatState(imported=253012.20240904496, exported=204654.98669743855, power=0, soc=100)
2024-07-02 09:42:33,987 - {modules.common.component_context:25} - {DEBUG:update values cp12} - Update Komponente ['Ladepunkt']
2024-07-02 09:42:34,029 - {modules.common.component_context:25} - {DEBUG:component26} - Update Komponente ['Sungrow Zähler']
2024-07-02 09:42:34,030 - {modules.common.store._api:31} - {INFO:component26} - Saving CounterState(currents=[-8.238074774387623, -4.375542064180399, -4.849804092294297], powers=[-1917, -1009, -1114], voltages=[232.7, 230.6, 229.7], power_factors=[1.0, 1.0, 1.0], imported=141.261517670951, exported=8794.675156455833, power=-4061, frequency=50.019999999999996)
2024-07-02 09:42:34,182 - {control.bat_all:182} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-07-02 09:42:34,193 - {control.counter:146} - {INFO:MainThread} - Verbleibende Ströme an Zähler 26: [43.24, 39.38, 39.85]A
2024-07-02 09:42:34,194 - {control.counter:169} - {INFO:MainThread} - Verbleibende Leistung an Zähler 26: 28061W
2024-07-02 09:42:34,207 - {control.chargepoint.chargepoint:557} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-02 09:42:34,212 - {control.chargepoint.chargepoint:673} - {DEBUG:MainThread} - LP 12, EV: Enyaq (EV-Nr.1): Lademodus stop, Submodus: Chargemode.STOP
2024-07-02 09:42:34,217 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 12: Keine Ladung, da der Lademodus Stop aktiv ist.
2024-07-02 09:42:34,223 - {modules.common.simcount._simcount:42} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1719906143.4074795, power=1069, imported=5006210.533516862, exported=144.28539984281528)
2024-07-02 09:42:34,224 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00300431, power1: 1069, power2: 1069
2024-07-02 09:42:34,227 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 3.21161
2024-07-02 09:42:34,229 - {modules.common.simcount._simcount:65} - {DEBUG:MainThread} - imported: 3.21161 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1719906154.2230065, power=1069, imported=5006213.7451275075, exported=144.28539984281528)
2024-07-02 09:42:34,233 - {control.data:266} - {INFO:MainThread} - bat13
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=100, daily_exported=2351.0, daily_imported=4660.0, imported=253012.2, exported=204654.99, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-07-02 09:42:34,235 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=100, daily_exported=2351.0, daily_imported=4660.0, fault_str='Kein Fehler.', fault_state=0, imported=253012.2, exported=204654.99, power=0), set=Set(charging_power_left=0, regulate_up=False))
2024-07-02 09:42:34,236 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0.0, daily_exported=0.0, power=0, imported=2605289.06, exported=0))
2024-07-02 09:42:34,238 - {control.data:266} - {INFO:MainThread} - cp12
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=True, required_current=0, required_currents=[0.0, 0.0, 0.0], state=0, submode=<Chargemode.STOP: 'stop'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=80), 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=2605289.06, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='21224711', soc=None, soc_timestamp=None, state_str='Keine Ladung, da der Lademodus Stop aktiv ist.', vehicle_id=None, voltages=[228.47, 229.83, 229.57]), set=Set(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=2605289.06, imported_at_plugtime=2603615.97, imported_since_mode_switch=0, imported_since_plugged=1673.089999999851, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None, soc_at_start=None, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1719832183.868064, required_power=0.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6fb78b38>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=1, 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=12))
2024-07-02 09:42:34,239 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=True), id=0, max_current_multi_phases=32, max_current_single_phase=23, name='Standard Ladepunkt-Vorlage', disable_after_unplug=False, valid_tags=[])
2024-07-02 09:42:34,239 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=True), id=1, max_current_multi_phases=32, max_current_single_phase=22, name='Enyaq', disable_after_unplug=False, valid_tags=[])
2024-07-02 09:42:34,240 - {control.data:266} - {INFO:MainThread} - counter26
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-1917, -1009, -1114], currents=[-8.24, -4.38, -4.85], voltages=[232.7, 230.6, 229.7], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=50.019999999999996, daily_exported=7561.0, daily_imported=117.0, imported=141.261517670951, exported=8794.675156455833, fault_state=0, fault_str='Kein Fehler.', power=-4061), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=28061, raw_currents_left=[43.24, 39.38, 39.85], surplus_power_left=0, state_str=''))
2024-07-02 09:42:34,242 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(home_consumption_source_id=None, reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 26, 'type': 'counter', 'children': [{'id': 9, 'type': 'inverter', 'children': []}, {'id': 11, 'type': 'inverter', 'children': []}, {'id': 13, 'type': 'bat', 'children': []}, {'id': 12, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1069, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=13660.0, imported_home_consumption=5006213.7451275075, disengageable_smarthome_power=0))
2024-07-02 09:42:34,243 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', prio=True, load_default=False, et=Et(active=True, max_price=0.00016), time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=70000, soc_limit=80, soc_scheduled=80), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=70000, soc=100))))
2024-07-02 09:42:34,244 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Tibber 20 SOC 100%', prio=True, load_default=False, et=Et(active=True, max_price=0.000274), time_charging=TimeCharging(active=True, plans={'1': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['06:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=100, max_soc=100), scheduled_charging=ScheduledCharging(plans={'1': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=100), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='soc', amount=70000, soc=100))))
2024-07-02 09:42:34,246 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Tibber 25 SOC 90%', prio=True, load_default=False, et=Et(active=True, max_price=0.00027100000000000003), time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=90), scheduled_charging=ScheduledCharging(plans={'2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard 6:00', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=80, soc_scheduled=80), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=70000, soc=100))))
2024-07-02 09:42:34,247 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='Tibber 28 SOC 90%', prio=True, load_default=False, et=Et(active=True, max_price=0.000222), time_charging=TimeCharging(active=True, plans={'3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=90))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=12, min_current=6, feed_in_limit=False, min_soc=100, max_soc=100), scheduled_charging=ScheduledCharging(plans={'3': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=90, soc_scheduled=90), time='06:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=70000, soc=92))))
2024-07-02 09:42:34,248 - {control.data:266} - {INFO:MainThread} - ct4
ChargeTemplateData(name='Tibber 30 SOC 80%', prio=True, load_default=False, et=Et(active=True, max_price=0.00030010000000000003), time_charging=TimeCharging(active=True, plans={'4': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '06:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=80, max_soc=80), scheduled_charging=ScheduledCharging(plans={'4': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=16, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=80, soc_scheduled=80), time='06:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=70000, soc=80))))
2024-07-02 09:42:34,249 - {control.data:266} - {INFO:MainThread} - ct5
ChargeTemplateData(name='Tibber 33 SOC 100%', prio=True, load_default=False, et=Et(active=True, max_price=0.000216), time_charging=TimeCharging(active=False, plans={'5': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '07:00'], name='Zeitladen-Standard', current=16, limit=Limit(selected='soc', amount=1000, soc=100))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={'5': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=100), time='07:00')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=70000, soc=80))))
2024-07-02 09:42:34,251 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=5, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=80, soc_timestamp=1719882181.743411, force_soc_update=False, range=352, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:34,252 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=1, name='Enyaq', tag_id=[], get=Get(soc=80, soc_timestamp=1719890182.761641, force_soc_update=False, range=352, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:34,252 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=1719878588.384111, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:34,253 - {control.data:266} - {INFO:MainThread} - ev13
EvData(set=Set(soc_error_counter=457), charge_template=0, ev_template=1, name='Enyaq EVCC', tag_id=[], get=Get(soc=0, soc_timestamp=1719890243.236548, force_soc_update=False, range=0, fault_state=2, fault_str="<class 'grpc._channel._InactiveRpcError'> (<grpc._channel._RPCState object at 0x6f14b088>,)"))
2024-07-02 09:42:34,254 - {control.data:266} - {INFO:MainThread} - ev14
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=1, name='Enyaq EVNotify', tag_id=[], get=Get(soc=87.6, soc_timestamp=1719879511.696591, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-07-02 09:42:34,255 - {control.data:266} - {INFO:MainThread} - ev12
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='neues 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-02 09:42:34,256 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, 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=20000, min_current=6, max_current_single_phase=21, battery_capacity=77000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-02 09:42:34,257 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Enyaq', max_current_multi_phases=32, 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=20000, min_current=6, max_current_single_phase=21, battery_capacity=77000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-02 09:42:34,258 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=1000, bat_power_reserve_active=True, control_range=[-500, 0], feed_in_yield=0, phases_to_use=3, bat_power_discharge=200, bat_power_discharge_active=False, min_bat_soc=100, bat_mode='bat_mode', switch_off_delay=10, switch_off_threshold=50, switch_on_delay=10, switch_on_threshold=600), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0, phases_to_use_pv=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=30, unbalanced_load=True, phase_switch_delay=1), 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.00022, cp=0, grid=0.0003, pv=0.00013), 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-02 09:42:34,258 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-07-02 09:42:34,259 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-07-02 09:42:34,260 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Die Preisliste hat nicht 24, sondern 15 Einträge. Die Strompreise werden vom Anbieter erst um 14:00 für den Folgetag aktualisiert.', prices={'1719903600': 0.0003091, '1719907200': 0.0003038, '1719910800': 0.00029370000000000004, '1719914400': 0.0002915, '1719918000': 0.0002872, '1719921600': 0.00027739999999999997, '1719925200': 0.0002796, '1719928800': 0.00029330000000000003, '1719932400': 0.0002953, '1719936000': 0.0003058, '1719939600': 0.0003282, '1719943200': 0.0003418, '1719946800': 0.0003358, '1719950400': 0.0003347, '1719954000': 0.00030730000000000004})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=300, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6f1eb1d8>), led=Led(active=False), rfid=Rfid(active=False))
2024-07-02 09:42:34,262 - {control.data:266} - {INFO:MainThread} - pv9
PvData(config=Config(max_ac_out=5000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=33857985, fault_state=0, fault_str='Kein Fehler.', power=-1069))
2024-07-02 09:42:34,263 - {control.data:266} - {INFO:MainThread} - pv11
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=10613.0, monthly_exported=52647.623999999836, yearly_exported=4006228.4779999997, exported=4142691.356, fault_state=0, fault_str='Kein Fehler.', power=-4061))
2024-07-02 09:42:34,264 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=10613.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=52647.62399999797, yearly_exported=3686013.781830199, exported=38000676.356, power=-5130))
2024-07-02 09:42:34,265 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'backup_cloud': {'backup_before_update': True}, 'ip_address': '192.168.178.76', 'current_commit': '2024-07-01 16:25:58 +0200 [b36c2eaf1]', 'current_branch': 'master', 'current_branch_commit': '2024-07-01 16:25:58 +0200 [b36c2eaf1]', 'current_missing_commits': [], 'boot_done': True, 'datastore_version': 48, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.5-Alpha.1', 'lastlivevaluesJson': {'timestamp': 1719906143, 'time': '09:42:23', 'grid': -4.169, 'house-power': 1.069, 'charging-all': 0.0, 'pv-all': 5.238, 'cp12-power': 0.0, 'ev0-soc': 80, 'ev1-soc': 80, 'ev2-soc': None, 'ev13-soc': 0, 'ev14-soc': 87.6, 'bat-all-power': 0.0, 'bat-all-soc': 100}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-07-02 09:42:34,266 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 8, 'configuration': <modules.devices.sma_sunny_boy.config.SmaSunnyBoyConfiguration object at 0x703c3b08>}
2024-07-02 09:42:34,267 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'ip_address': '192.168.178.208', 'port': 502}
2024-07-02 09:42:34,268 - {control.data:279} - {INFO:MainThread} - device8
{'name': 'SMA Sunny Boy', 'type': 'sma_sunny_boy', 'id': 8, 'configuration': {'ip_address': '192.168.178.208', 'port': 502}}
2024-07-02 09:42:34,269 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 9, 'configuration': <modules.devices.sma_sunny_boy.config.SmaSunnyBoyInverterConfiguration object at 0x703c3598>}
2024-07-02 09:42:34,270 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'hybrid': False, 'version': 0, 'modbus_id': 3}
2024-07-02 09:42:34,272 - {control.data:281} - {INFO:MainThread} - component9
{'name': 'Sma Sunny Boy/Tripower Wechselrichter', 'type': 'inverter', 'id': 9, 'configuration': {'hybrid': False, 'version': 0, 'modbus_id': 3}}
2024-07-02 09:42:34,273 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow', 'type': 'sungrow', 'id': 10, 'configuration': <modules.devices.sungrow.config.SungrowConfiguration object at 0x703d7a60>}
2024-07-02 09:42:34,275 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'ip_address': '192.168.178.43', 'port': 502, 'modbus_id': 1, 'version': 3}
2024-07-02 09:42:34,275 - {control.data:279} - {INFO:MainThread} - device10
{'name': 'Sungrow', 'type': 'sungrow', 'id': 10, 'configuration': {'ip_address': '192.168.178.43', 'port': 502, 'modbus_id': 1, 'version': 3}}
2024-07-02 09:42:34,276 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 11, 'configuration': <modules.devices.sungrow.config.SungrowInverterConfiguration object at 0x6fb6dc58>}
2024-07-02 09:42:34,277 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-02 09:42:34,277 - {control.data:281} - {INFO:MainThread} - component11
{'name': 'Sungrow Wechselrichter', 'type': 'inverter', 'id': 11, 'configuration': {}}
2024-07-02 09:42:34,279 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow Speicher', 'type': 'bat', 'id': 13, 'configuration': <modules.devices.sungrow.config.SungrowBatConfiguration object at 0x6fb6dfb8>}
2024-07-02 09:42:34,282 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-02 09:42:34,282 - {control.data:281} - {INFO:MainThread} - component13
{'name': 'Sungrow Speicher', 'type': 'bat', 'id': 13, 'configuration': {}}
2024-07-02 09:42:34,283 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Sungrow Zähler', 'type': 'counter', 'id': 26, 'configuration': <modules.devices.sungrow.config.SungrowCounterConfiguration object at 0x6fb78280>}
2024-07-02 09:42:34,286 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-02 09:42:34,287 - {control.data:281} - {INFO:MainThread} - component26
{'name': 'Sungrow Zähler', 'type': 'counter', 'id': 26, 'configuration': {}}
2024-07-02 09:42:34,288 - {control.data:253} - {INFO:MainThread} -
2024-07-02 09:42:34,289 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-07-02 09:42:34,290 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-07-02 09:42:34,293 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-07-02 09:42:34,297 - {control.counter:250} - {DEBUG:MainThread} - Anpassen des Regelbereichs 250.0W
2024-07-02 09:42:34,298 - {control.counter:218} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 4311.0W
2024-07-02 09:42:34,298 - {control.counter:514} - {DEBUG:MainThread} - Zähler 26: Begrenzung der verbleibenden Leistung auf 4311.0W
2024-07-02 09:42:34,300 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-07-02 09:42:34,303 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-07-02 09:42:34,309 - {modules.common.component_context:25} - {DEBUG:set current cp12} - Update Komponente ['Ladepunkt']
2024-07-02 09:42:34,330 - {control.counter:194} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-07-02 09:42:35,562 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})[/quote]