ich habe einen Bug bei der Eingabe des manuellen SoC über das Display der Wallbox (OpenWB series2 standard+). Der eingegebene Wert wird nicht übernommen. Der vorherige Wert bleibt einfach stehen, auch nach mehreren Versuchen.
Der SoC-Log zeigt im Zeitraum der Eingabe (15:44 Uhr) nichts an. Erst bei der Eingabe über die Weboberfläche (16:03 Uhr) wird der Wert nach ein paar Sekunden Verzögerung übernommen.
Code: Alles auswählen
2023-12-20 15:44:30,442 - {root:74} - {INFO:MainThread} - # ***Start***
2023-12-20 15:44:30,474 - {modules.common.component_context:51} - {DEBUG:device1} - Update Komponenten ['Speicher', 'Wechselrichter', 'EVU Zähler']
2023-12-20 15:44:30,480 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.178.59:8084
2023-12-20 15:44:30,481 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-20 15:44:30,511 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/ess0/(Soc%7CDcChargeEnergy%7CDcDischargeEnergy) HTTP/1.1" 200 304
2023-12-20 15:44:30,513 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"ess0/Soc","type":"INTEGER","accessMode":"RO","text":"","unit":"%","value":62},{"address":"ess0/DcChargeEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":78772},{"address":"ess0/DcDischargeEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":68550}]
2023-12-20 15:44:30,545 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/(GridActivePower%7CProductionActivePower%7CConsumptionActivePower) HTTP/1.1" 200 436
2023-12-20 15:44:30,547 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"_sum/ConsumptionActivePower","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":437},{"address":"_sum/ProductionActivePower","type":"INTEGER","accessMode":"RO","text":"Total production; always positive","unit":"W","value":159},{"address":"_sum/GridActivePower","type":"INTEGER","accessMode":"RO","text":"Grid exchange power. Negative values for sell-to-grid; positive for buy-from-grid","unit":"W","value":16}]
2023-12-20 15:44:30,548 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=78772, exported=68550, power=-262, soc=62)
2023-12-20 15:44:30,581 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/ProductionActivePower HTTP/1.1" 200 141
2023-12-20 15:44:30,583 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"address":"_sum/ProductionActivePower","type":"INTEGER","accessMode":"RO","text":"Total production; always positive","unit":"W","value":184}
2023-12-20 15:44:30,605 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/ProductionActiveEnergy HTTP/1.1" 200 113
2023-12-20 15:44:30,607 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"address":"_sum/ProductionActiveEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":166222}
2023-12-20 15:44:30,608 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-184, exported=166222, dc_power=None)
2023-12-20 15:44:30,628 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/meter0/(ActivePower.*%7CVoltageL.%7CFrequency) HTTP/1.1" 200 824
2023-12-20 15:44:30,630 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"meter0/ActivePowerL3","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":-38},{"address":"meter0/ActivePower","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":-12},{"address":"meter0/ActivePowerL1","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":138},{"address":"meter0/ActivePowerL2","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":-112},{"address":"meter0/VoltageL1","type":"INTEGER","accessMode":"RO","text":"","unit":"mV","value":236800},{"address":"meter0/VoltageL2","type":"INTEGER","accessMode":"RO","text":"","unit":"mV","value":237500},{"address":"meter0/VoltageL3","type":"INTEGER","accessMode":"RO","text":"","unit":"mV","value":238500},{"address":"meter0/Frequency","type":"INTEGER","accessMode":"RO","text":"","unit":"mHz","value":49990}]
2023-12-20 15:44:30,650 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/Grid.+ActiveEnergy HTTP/1.1" 200 223
2023-12-20 15:44:30,652 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"_sum/GridSellActiveEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":32878},{"address":"_sum/GridBuyActiveEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":244355}]
2023-12-20 15:44:30,653 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.5827702702702703, -0.47157894736842104, -0.15932914046121593], powers=[138, -112, -38], voltages=[236.8, 237.5, 238.5], power_factors=[0.0, 0.0, 0.0], imported=244355, exported=32878, power=-12, frequency=49.99)
2023-12-20 15:44:30,662 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['Wechselrichter']
2023-12-20 15:44:30,663 - {modules.common.store._api:26} - {DEBUG:component4} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-184, exported=166222, dc_power=None)
2023-12-20 15:44:30,664 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Speicher']
2023-12-20 15:44:30,669 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-20 15:44:30,670 - {modules.common.store._api:30} - {INFO:component4} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-184, exported=166222, dc_power=None)
2023-12-20 15:44:30,671 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=78772, exported=68550, power=-262, soc=62)
2023-12-20 15:44:30,729 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['EVU Zähler']
2023-12-20 15:44:30,730 - {modules.common.store._api:30} - {INFO:component6} - Saving CounterState(currents=[0.5827702702702703, -0.47157894736842104, -0.15932914046121593], powers=[138, -112, -38], voltages=[236.8, 237.5, 238.5], power_factors=[0.0, 0.0, 0.0], imported=244355, exported=32878, power=-12, frequency=49.99)
2023-12-20 15:44:30,822 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 68550, vorherige Payload: 68549
2023-12-20 15:44:30,824 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -262, vorherige Payload: -394
2023-12-20 15:44:30,915 - {control.bat_all:213} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: -262W
2023-12-20 15:44:30,916 - {control.bat_all:173} - {INFO:MainThread} - -262W verbleibende Speicher-Leistung
2023-12-20 15:44:30,920 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 6: [49.42, 50.47, 50.16]A
2023-12-20 15:44:30,921 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 6: 35012W
2023-12-20 15:44:30,925 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Keine Ladung, da kein Auto angesteckt ist.
2023-12-20 15:44:30,939 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1703083460.9822772, power=514, imported=303620.63608483673, exported=0)
2023-12-20 15:44:30,940 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00276574, power1: 514, power2: 434
2023-12-20 15:44:30,940 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.31096
2023-12-20 15:44:30,941 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.31096 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1703083470.9389234, power=434, imported=303621.9470432536, exported=0)
2023-12-20 15:44:30,949 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=62, daily_exported=965, daily_imported=2249, imported=78772, exported=68550, fault_state=0, fault_str='Kein Fehler.', power=-262))
2023-12-20 15:44:30,951 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=62, daily_exported=965, daily_imported=2249, fault_str='Kein Fehler.', fault_state=0, imported=78772, exported=68550, power=-262), set=Set(charging_power_left=-262, switch_on_soc_reached=True))
2023-12-20 15:44:30,952 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=7722.0, daily_exported=0, power=0, imported=85178.0, exported=0))
2023-12-20 15:44:30,956 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, 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=80.67), currents=[0.0, 0.0, 0.0], daily_imported=7722.0, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=85178.0, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[238.68, 240.59, 238.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6b0bfeb0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, name='Wallbox', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=1, control_pilot_interruption_hw=1, id=1))
2023-12-20 15:44:30,957 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2023-12-20 15:44:30,959 - {control.data:266} - {INFO:MainThread} - counter6
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=35000), get=Get(powers=[138, -112, -38], currents=[0.58, -0.47, -0.16], voltages=[236.8, 237.5, 238.5], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=49.99, daily_exported=1401, daily_imported=7017, imported=244355, exported=32878, fault_state=0, fault_str='Kein Fehler.', power=-12), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=35012, raw_currents_left=[49.42, 50.47, 50.16], surplus_power_left=0, state_str=''))
2023-12-20 15:44:30,961 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 6, 'type': 'counter', 'children': [{'id': 4, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=434, invalid_home_consumption=0, daily_yield_home_consumption=5967.26763597485, imported_home_consumption=303621.9470432536, disengageable_smarthome_power=0))
2023-12-20 15:44:30,965 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=20, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='soc', amount=7000, soc=80))))
2023-12-20 15:44:30,969 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-20 15:44:30,970 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Dacia Spring', max_current_multi_phases=32, max_phases=1, phase_switch_pause=2, prevent_phase_switch=True, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=15000, min_current=6, max_current_single_phase=32, battery_capacity=26000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=1, name='Dacia Spring', tag_id=[], get=Get(soc=80.67, soc_timestamp='12/20/2023, 14:13:44', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-20 15:44:30,972 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=None, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-20 15:44:30,973 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', 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=17000, min_current=6, max_current_single_phase=32, battery_capacity=70000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-20 15:44:30,975 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Dacia Spring', max_current_multi_phases=32, max_phases=1, phase_switch_pause=2, prevent_phase_switch=True, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=15000, min_current=6, max_current_single_phase=32, battery_capacity=26000, efficiency=95, nominal_difference=1, keep_charge_active_duration=40)
2023-12-20 15:44:30,977 - {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=0, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=5, phases_to_use=0, rundown_power=5000, rundown_soc=40, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=45, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.47, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-12-20 15:44:30,979 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2023-12-20 15:44:30,981 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-20 15:44:30,983 - {control.data:248} - {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=30, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6b0f8640>), led=Led(active=False), rfid=Rfid(active=False))
2023-12-20 15:44:30,984 - {control.data:266} - {INFO:MainThread} - pv4
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=8855, monthly_exported=0, yearly_exported=0, exported=166222, fault_state=0, fault_str='Kein Fehler.', power=-184))
2023-12-20 15:44:30,986 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=8855, monthly_exported=0, yearly_exported=0, exported=166222, power=-184))
2023-12-20 15:44:30,988 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.61', 'current_commit': '2023-11-28 15:07:29 +0100 [af8f94cde]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-28 15:07:29 +0100 [af8f94cde]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1703083461, 'time': '15:44:21', 'grid': -0.045, 'house-power': 0.514, 'charging-all': 0.0, 'pv-all': 0.165, 'cp1-power': 0.0, 'ev2-soc': 80.67, 'bat-all-power': -0.394, 'bat-all-soc': 62}, 'module_update_completed': True}
2023-12-20 15:44:30,990 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Fenecon FEMS', 'type': 'fems', 'id': 1, 'configuration': {'ip_address': '192.168.178.59'}}
2023-12-20 15:44:30,993 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Speicher', 'type': 'bat', 'id': 2, 'configuration': {'num': 1}}
2023-12-20 15:44:30,994 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'Wechselrichter', 'type': 'inverter', 'id': 4, 'configuration': {}}
2023-12-20 15:44:30,996 - {control.data:281} - {INFO:MainThread} - component6
{'name': 'EVU Zähler', 'type': 'counter', 'id': 6, 'configuration': {}}
2023-12-20 15:44:30,999 - {control.data:253} - {INFO:MainThread} -
2023-12-20 15:44:31,001 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-20 15:44:31,004 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-20 15:44:31,007 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-20 15:44:31,008 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-20 15:44:31,012 - {control.counter:457} - {DEBUG:MainThread} - Zähler 6: Begrenzung der verbleibenden Leistung auf 0W
2023-12-20 15:44:31,013 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-20 15:44:31,014 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-20 15:44:31,018 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-20 15:44:31,047 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-20 15:44:31,315 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-20 15:44:35,361 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-20 15:44:40,373 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-20 15:44:40,374 - {root:74} - {INFO:MainThread} - # ***Start***
2023-12-20 15:44:40,473 - {modules.common.component_context:51} - {DEBUG:device1} - Update Komponenten ['Speicher', 'Wechselrichter', 'EVU Zähler']
2023-12-20 15:44:40,484 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.178.59:8084
2023-12-20 15:44:40,488 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-20 15:44:40,587 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/ess0/(Soc%7CDcChargeEnergy%7CDcDischargeEnergy) HTTP/1.1" 200 304
2023-12-20 15:44:40,589 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"ess0/Soc","type":"INTEGER","accessMode":"RO","text":"","unit":"%","value":62},{"address":"ess0/DcChargeEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":78772},{"address":"ess0/DcDischargeEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":68550}]
2023-12-20 15:44:40,624 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/(GridActivePower%7CProductionActivePower%7CConsumptionActivePower) HTTP/1.1" 200 437
2023-12-20 15:44:40,627 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"_sum/ConsumptionActivePower","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":384},{"address":"_sum/ProductionActivePower","type":"INTEGER","accessMode":"RO","text":"Total production; always positive","unit":"W","value":165},{"address":"_sum/GridActivePower","type":"INTEGER","accessMode":"RO","text":"Grid exchange power. Negative values for sell-to-grid; positive for buy-from-grid","unit":"W","value":-30}]
2023-12-20 15:44:40,628 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=78772, exported=68550, power=-249, soc=62)
2023-12-20 15:44:40,654 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/ProductionActivePower HTTP/1.1" 200 141
2023-12-20 15:44:40,657 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"address":"_sum/ProductionActivePower","type":"INTEGER","accessMode":"RO","text":"Total production; always positive","unit":"W","value":165}
2023-12-20 15:44:40,685 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/ProductionActiveEnergy HTTP/1.1" 200 113
2023-12-20 15:44:40,689 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"address":"_sum/ProductionActiveEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":166222}
2023-12-20 15:44:40,690 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-165, exported=166222, dc_power=None)
2023-12-20 15:44:40,712 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/meter0/(ActivePower.*%7CVoltageL.%7CFrequency) HTTP/1.1" 200 824
2023-12-20 15:44:40,713 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"meter0/ActivePowerL3","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":-37},{"address":"meter0/ActivePower","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":-30},{"address":"meter0/ActivePowerL1","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":109},{"address":"meter0/ActivePowerL2","type":"INTEGER","accessMode":"RO","text":"","unit":"W","value":-102},{"address":"meter0/VoltageL1","type":"INTEGER","accessMode":"RO","text":"","unit":"mV","value":236800},{"address":"meter0/VoltageL2","type":"INTEGER","accessMode":"RO","text":"","unit":"mV","value":237500},{"address":"meter0/VoltageL3","type":"INTEGER","accessMode":"RO","text":"","unit":"mV","value":238500},{"address":"meter0/Frequency","type":"INTEGER","accessMode":"RO","text":"","unit":"mHz","value":49980}]
2023-12-20 15:44:40,735 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.178.59:8084 "GET /rest/channel/_sum/Grid.+ActiveEnergy HTTP/1.1" 200 223
2023-12-20 15:44:40,736 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: [{"address":"_sum/GridSellActiveEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":32878},{"address":"_sum/GridBuyActiveEnergy","type":"LONG","accessMode":"RO","text":"","unit":"Wh_Σ","value":244355}]
2023-12-20 15:44:40,737 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.46030405405405406, -0.42947368421052634, -0.15513626834381553], powers=[109, -102, -37], voltages=[236.8, 237.5, 238.5], power_factors=[0.0, 0.0, 0.0], imported=244355, exported=32878, power=-30, frequency=49.980000000000004)
2023-12-20 15:44:40,758 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['Wechselrichter']
2023-12-20 15:44:40,759 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['Speicher']
2023-12-20 15:44:40,759 - {modules.common.store._api:26} - {DEBUG:component4} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-165, exported=166222, dc_power=None)
2023-12-20 15:44:40,763 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=78772, exported=68550, power=-249, soc=62)
2023-12-20 15:44:40,766 - {modules.common.store._api:30} - {INFO:component4} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-165, exported=166222, dc_power=None)
2023-12-20 15:44:40,767 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-20 15:44:40,815 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['EVU Zähler']
2023-12-20 15:44:40,815 - {modules.common.store._api:30} - {INFO:component6} - Saving CounterState(currents=[0.46030405405405406, -0.42947368421052634, -0.15513626834381553], powers=[109, -102, -37], voltages=[236.8, 237.5, 238.5], power_factors=[0.0, 0.0, 0.0], imported=244355, exported=32878, power=-30, frequency=49.980000000000004)
2023-12-20 15:44:40,894 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -249, vorherige Payload: -262
2023-12-20 15:44:40,967 - {control.bat_all:213} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: -249W
2023-12-20 15:44:40,968 - {control.bat_all:173} - {INFO:MainThread} - -249W verbleibende Speicher-Leistung
2023-12-20 15:44:40,979 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 6: [49.54, 50.43, 50.16]A
2023-12-20 15:44:40,981 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 6: 35030W
2023-12-20 15:44:40,987 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Keine Ladung, da kein Auto angesteckt ist.
2023-12-20 15:44:40,990 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1703083470.9389234, power=434, imported=303621.9470432536, exported=0)
2023-12-20 15:44:40,994 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00279215, power1: 434, power2: 384
2023-12-20 15:44:41,001 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.14199
2023-12-20 15:44:41,004 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.14199 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1703083480.9906754, power=384, imported=303623.0890339772, exported=0)
2023-12-20 15:44:41,007 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=62, daily_exported=965, daily_imported=2249, imported=78772, exported=68550, fault_state=0, fault_str='Kein Fehler.', power=-249))
2023-12-20 15:44:41,009 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=62, daily_exported=965, daily_imported=2249, fault_str='Kein Fehler.', fault_state=0, imported=78772, exported=68550, power=-249), set=Set(charging_power_left=-249, switch_on_soc_reached=True))
2023-12-20 15:44:41,012 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=7722.0, daily_exported=0, power=0, imported=85178.0, exported=0))
2023-12-20 15:44:41,014 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, 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=80.67), currents=[0.0, 0.0, 0.0], daily_imported=7722.0, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=85178.0, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[238.24, 240.52, 238.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6b0dd550>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, name='Wallbox', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=1, control_pilot_interruption_hw=1, id=1))
2023-12-20 15:44:41,015 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2023-12-20 15:44:41,018 - {control.data:266} - {INFO:MainThread} - counter6
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=35000), get=Get(powers=[109, -102, -37], currents=[0.46, -0.43, -0.16], voltages=[236.8, 237.5, 238.5], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=49.980000000000004, daily_exported=1401, daily_imported=7017, imported=244355, exported=32878, fault_state=0, fault_str='Kein Fehler.', power=-30), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=35030, raw_currents_left=[49.54, 50.43, 50.16], surplus_power_left=0, state_str=''))
2023-12-20 15:44:41,026 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 6, 'type': 'counter', 'children': [{'id': 4, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=384, invalid_home_consumption=0, daily_yield_home_consumption=5967.26763597485, imported_home_consumption=303623.0890339772, disengageable_smarthome_power=0))
2023-12-20 15:44:41,028 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=20, max_soc=80), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='soc', amount=7000, soc=80))))
2023-12-20 15:44:41,030 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-20 15:44:41,031 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Dacia Spring', max_current_multi_phases=32, max_phases=1, phase_switch_pause=2, prevent_phase_switch=True, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=15000, min_current=6, max_current_single_phase=32, battery_capacity=26000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=1, name='Dacia Spring', tag_id=[], get=Get(soc=80.67, soc_timestamp='12/20/2023, 14:13:44', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-20 15:44:41,039 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=None, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-20 15:44:41,039 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', 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=17000, min_current=6, max_current_single_phase=32, battery_capacity=70000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2023-12-20 15:44:41,040 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Dacia Spring', max_current_multi_phases=32, max_phases=1, phase_switch_pause=2, prevent_phase_switch=True, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=15000, min_current=6, max_current_single_phase=32, battery_capacity=26000, efficiency=95, nominal_difference=1, keep_charge_active_duration=40)
2023-12-20 15:44:41,041 - {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=0, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=5, phases_to_use=0, rundown_power=5000, rundown_soc=40, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=45, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.47, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-12-20 15:44:41,041 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2023-12-20 15:44:41,042 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-20 15:44:41,042 - {control.data:248} - {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=30, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6b0c1310>), led=Led(active=False), rfid=Rfid(active=False))
2023-12-20 15:44:41,043 - {control.data:266} - {INFO:MainThread} - pv4
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=8855, monthly_exported=0, yearly_exported=0, exported=166222, fault_state=0, fault_str='Kein Fehler.', power=-165))
2023-12-20 15:44:41,043 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=8855, monthly_exported=0, yearly_exported=0, exported=166222, power=-165))
2023-12-20 15:44:41,044 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.61', 'current_commit': '2023-11-28 15:07:29 +0100 [af8f94cde]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-28 15:07:29 +0100 [af8f94cde]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1703083471, 'time': '15:44:31', 'grid': -0.012, 'house-power': 0.434, 'charging-all': 0.0, 'pv-all': 0.184, 'cp1-power': 0.0, 'ev2-soc': 80.67, 'bat-all-power': -0.262, 'bat-all-soc': 62}, 'module_update_completed': True}
2023-12-20 15:44:41,045 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Fenecon FEMS', 'type': 'fems', 'id': 1, 'configuration': {'ip_address': '192.168.178.59', '}}
2023-12-20 15:44:41,055 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Speicher', 'type': 'bat', 'id': 2, 'configuration': {'num': 1}}
2023-12-20 15:44:41,056 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'Wechselrichter', 'type': 'inverter', 'id': 4, 'configuration': {}}
2023-12-20 15:44:41,057 - {control.data:281} - {INFO:MainThread} - component6
{'name': 'EVU Zähler', 'type': 'counter', 'id': 6, 'configuration': {}}
2023-12-20 15:44:41,058 - {control.data:253} - {INFO:MainThread} -
2023-12-20 15:44:41,059 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-20 15:44:41,060 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-20 15:44:41,063 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-20 15:44:41,065 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-20 15:44:41,072 - {control.counter:457} - {DEBUG:MainThread} - Zähler 6: Begrenzung der verbleibenden Leistung auf 0W
2023-12-20 15:44:41,073 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-20 15:44:41,074 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-20 15:44:41,077 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-20 15:44:41,128 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-20 15:44:41,386 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-20 15:44:45,448 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-20 15:44:50,462 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-20 15:44:50,463 - {root:74} - {INFO:MainThread} - # ***Start***