ah, wenn man es weiß, dann ists wirklich einfach.
Code: Alles auswählen
2023-05-02 22:08:50,118 - {root:61} - {INFO:MainThread} - # ***Start***
2023-05-02 22:08:50,175 - {modules.devices.victron.device:54} - {DEBUG:device3} - Start device reading {'component3': <modules.devices.victron.inverter.VictronInverter object at 0x6ff751d8>, 'component4': <modules.devices.victron.bat.VictronBat object at 0x6ffae880>, 'component5': <modules.devices.victron.inverter.VictronInverter object at 0x6ff66c10>, 'component6': <modules.devices.victron.inverter.VictronInverter object at 0x713e2898>, 'component9': <modules.devices.victron.inverter.VictronInverter object at 0x6ffd53d0>}
2023-05-02 22:08:50,176 - {modules.common.component_context:24} - {DEBUG:cp16} - Update Komponente ['Ladepunkt']
2023-05-02 22:08:50,176 - {modules.common.component_context:24} - {DEBUG:device3} - Update Komponente ['Victron Multiplus']
2023-05-02 22:08:50,177 - {modules.common.component_context:24} - {DEBUG:cp18} - Update Komponente ['Ladepunkt']
2023-05-02 22:08:50,183 - {urllib3.connectionpool:227} - {DEBUG:cp16} - Starting new HTTP connection (1): 192.168.178.59:80
2023-05-02 22:08:50,184 - {modules.chargepoints.mqtt.chargepoint_module:37} - {DEBUG:cp18} - MQTT-Ladepunkte müssen nicht ausgelesen werden.
2023-05-02 22:08:50,191 - {modules.devices.victron.inverter:39} - {DEBUG:device3} - Victron Multiplus: Reg 789 konnte nicht gelesen werden, Power auf 0 gesetzt.
2023-05-02 22:08:50,195 - {modules.common.simcount._simcount:38} - {DEBUG:device3} - Previous state: SimCounterState(timestamp=1683058120.529275, power=0, imported=0.0, exported=47916.43381094685)
2023-05-02 22:08:50,196 - {modules.common.simcount._calculate:13} - {DEBUG:device3} - time passed: 0.00268495, power1: 0, power2: 0
2023-05-02 22:08:50,196 - {modules.common.simcount._calculate:29} - {DEBUG:device3} - power did not change sign. Total energy: 0
2023-05-02 22:08:50,196 - {modules.common.simcount._simcount:47} - {DEBUG:device3} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1683058130.1950967, power=0, imported=0.0, exported=47916.43381094685)
2023-05-02 22:08:50,198 - {modules.common.store._api:26} - {DEBUG:device3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=47916.43381094685, dc_power=None)
2023-05-02 22:08:50,202 - {modules.common.component_context:24} - {DEBUG:device3} - Update Komponente ['Victron Speicher']
2023-05-02 22:08:50,210 - {modules.common.simcount._simcount:38} - {DEBUG:device3} - Previous state: SimCounterState(timestamp=1683058120.5540972, power=-437, imported=33677.63615089854, exported=32944.10675333202)
2023-05-02 22:08:50,211 - {modules.common.simcount._calculate:13} - {DEBUG:device3} - time passed: 0.00268242, power1: -437, power2: -357
2023-05-02 22:08:50,211 - {modules.common.simcount._calculate:29} - {DEBUG:device3} - power did not change sign. Total energy: -1.06492
2023-05-02 22:08:50,212 - {modules.common.simcount._simcount:47} - {DEBUG:device3} - imported: 0 Wh, exported: 1.06492 Wh, new state: SimCounterState(timestamp=1683058130.210801, power=-357, imported=33677.63615089854, exported=32945.17167315788)
2023-05-02 22:08:50,213 - {modules.common.store._api:26} - {DEBUG:device3} - Raw data BatState(imported=33677.63615089854, exported=32945.17167315788, power=-357, soc=84)
2023-05-02 22:08:50,215 - {modules.common.component_context:24} - {DEBUG:device3} - Update Komponente ['Victron 150-75']
2023-05-02 22:08:50,227 - {modules.common.simcount._simcount:38} - {DEBUG:device3} - Previous state: SimCounterState(timestamp=1683058120.5733447, power=-0.0, imported=0.0, exported=56825.76935002022)
2023-05-02 22:08:50,228 - {modules.common.simcount._calculate:13} - {DEBUG:device3} - time passed: 0.00268181, power1: -0, power2: -0
2023-05-02 22:08:50,228 - {modules.common.simcount._calculate:29} - {DEBUG:device3} - power did not change sign. Total energy: 0
2023-05-02 22:08:50,229 - {modules.common.simcount._simcount:47} - {DEBUG:device3} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1683058130.2278516, power=-0.0, imported=0.0, exported=56825.76935002022)
2023-05-02 22:08:50,230 - {modules.common.store._api:26} - {DEBUG:device3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=56825.76935002022, dc_power=None)
2023-05-02 22:08:50,232 - {modules.common.component_context:24} - {DEBUG:device3} - Update Komponente ['Victron 150-45p1']
2023-05-02 22:08:50,249 - {urllib3.connectionpool:452} - {DEBUG:cp16} - http://192.168.178.59:80 "GET /getParameters HTTP/1.1" 404 25
2023-05-02 22:08:50,257 - {modules.common.simcount._simcount:38} - {DEBUG:device3} - Previous state: SimCounterState(timestamp=1683058120.5908928, power=-0.0, imported=0.0, exported=38022.790313989666)
2023-05-02 22:08:50,258 - {modules.common.simcount._calculate:13} - {DEBUG:device3} - time passed: 0.00268512, power1: -0, power2: -0
2023-05-02 22:08:50,264 - {modules.common.simcount._calculate:29} - {DEBUG:device3} - power did not change sign. Total energy: 0
2023-05-02 22:08:50,264 - {modules.common.simcount._simcount:47} - {DEBUG:device3} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1683058130.2573092, power=-0.0, imported=0.0, exported=38022.790313989666)
2023-05-02 22:08:50,266 - {modules.common.store._api:26} - {DEBUG:device3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=38022.790313989666, dc_power=None)
2023-05-02 22:08:50,270 - {modules.common.fault_state:40} - {ERROR:cp16} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr HTTP 404: Client-Fehler. Überprüfe die Konfiguration., Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/chargepoints/smartwb/chargepoint_module.py", line 99, in get_values
self.__client_error_context.reset_error_counter()
File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
raise exception
File "/var/www/html/openWB/packages/modules/chargepoints/smartwb/chargepoint_module.py", line 56, in get_values
response = req.get_http_session().get('http://'+ip_address+'/getParameters', timeout=timeout)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 10, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://192.168.178.59/getParameters
2023-05-02 22:08:50,272 - {modules.common.component_context:24} - {DEBUG:device3} - Update Komponente ['Victron 150-45p2']
2023-05-02 22:08:50,290 - {modules.common.simcount._simcount:38} - {DEBUG:device3} - Previous state: SimCounterState(timestamp=1683058120.6085513, power=-0.0, imported=0.0, exported=37795.0152808525)
2023-05-02 22:08:50,292 - {modules.common.simcount._calculate:13} - {DEBUG:device3} - time passed: 0.00268933, power1: -0, power2: -0
2023-05-02 22:08:50,293 - {modules.common.simcount._calculate:29} - {DEBUG:device3} - power did not change sign. Total energy: 0
2023-05-02 22:08:50,293 - {modules.common.simcount._simcount:47} - {DEBUG:device3} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1683058130.290133, power=-0.0, imported=0.0, exported=37795.0152808525)
2023-05-02 22:08:50,298 - {modules.common.store._api:26} - {DEBUG:device3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=37795.0152808525, dc_power=None)
2023-05-02 22:08:50,306 - {modules.common.component_context:24} - {DEBUG:component6} - Update Komponente ['Victron 150-45p1']
2023-05-02 22:08:50,309 - {modules.common.fault_state:40} - {ERROR:component6} - Victron 150-45p1: FaultState FaultStateLevel.ERROR, FaultStr <class 'KeyError'> 'children', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/store/_api.py", line 38, in update_values
component.store.update()
File "/var/www/html/openWB/packages/modules/common/store/_inverter.py", line 52, in update
state = self.fix_hybrid_values(self.delegate.delegate.state)
File "/var/www/html/openWB/packages/modules/common/store/_inverter.py", line 57, in fix_hybrid_values
children = data.data.counter_all_data.get_entry_of_element(self.delegate.delegate.num)["children"]
KeyError: 'children'
2023-05-02 22:08:50,310 - {modules.common.component_context:24} - {DEBUG:component5} - Update Komponente ['Victron 150-75']
2023-05-02 22:08:50,317 - {modules.common.fault_state:40} - {ERROR:component5} - Victron 150-75: FaultState FaultStateLevel.ERROR, FaultStr <class 'KeyError'> 'children', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/store/_api.py", line 38, in update_values
component.store.update()
File "/var/www/html/openWB/packages/modules/common/store/_inverter.py", line 52, in update
state = self.fix_hybrid_values(self.delegate.delegate.state)
File "/var/www/html/openWB/packages/modules/common/store/_inverter.py", line 57, in fix_hybrid_values
children = data.data.counter_all_data.get_entry_of_element(self.delegate.delegate.num)["children"]
KeyError: 'children'
2023-05-02 22:08:50,318 - {modules.common.component_context:24} - {DEBUG:component9} - Update Komponente ['Victron 150-45p2']
2023-05-02 22:08:50,325 - {modules.common.fault_state:40} - {ERROR:component9} - Victron 150-45p2: FaultState FaultStateLevel.ERROR, FaultStr <class 'KeyError'> 'children', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/store/_api.py", line 38, in update_values
component.store.update()
File "/var/www/html/openWB/packages/modules/common/store/_inverter.py", line 52, in update
state = self.fix_hybrid_values(self.delegate.delegate.state)
File "/var/www/html/openWB/packages/modules/common/store/_inverter.py", line 57, in fix_hybrid_values
children = data.data.counter_all_data.get_entry_of_element(self.delegate.delegate.num)["children"]
KeyError: 'children'
2023-05-02 22:08:50,400 - {modules.common.utils.component_parser:30} - {ERROR:MainThread} - Element 19 konnte keinem Gerät zugeordnet werden.
2023-05-02 22:08:50,402 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Victron Multiplus']
2023-05-02 22:08:50,402 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['Victron Speicher']
2023-05-02 22:08:50,403 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=47916.43381094685, dc_power=None)
2023-05-02 22:08:50,403 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=33677.63615089854, exported=32945.17167315788, power=-357, soc=84)
2023-05-02 22:08:50,404 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=47916.43381094685, dc_power=None)
2023-05-02 22:08:50,525 - {control.bat_all:186} - {DEBUG:MainThread} - Erlaubte Entlade-Leistung nutzen 1000W
2023-05-02 22:08:50,527 - {control.bat_all:153} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung durch maximale Ausgangsleistung auf 407W begrenzt.
2023-05-02 22:08:50,529 - {control.bat_all:164} - {INFO:MainThread} - 407W verbleibende Speicher-Leistung
2023-05-02 22:08:50,531 - {control.prepare:33} - {ERROR:MainThread} - Fehler im Prepare-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/prepare.py", line 26, in setup_algorithm
data.data.counter_data[f"counter{element['id']}"].setup_counter()
KeyError: 'counter19'
2023-05-02 22:08:50,534 - {control.data:335} - {INFO:MainThread} - bat4
BatData(get=Get(soc=84, daily_exported=5028.0, daily_imported=5976.68, imported=33677.64, exported=32945.17, fault_state=0, fault_str='Kein Fehler.', power=-357))
2023-05-02 22:08:50,534 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=84, daily_exported=5028.0, daily_imported=5976.68, imported=33677.64, exported=32944.11, power=-437), set=Set(charging_power_left=407, switch_on_soc_reached=True))
2023-05-02 22:08:50,535 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-05-02 22:08:50,535 - {control.data:335} - {INFO:MainThread} - cp16
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='HTTP 404: Client-Fehler. Überprüfe die Konfiguration.', fault_state=2, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[230.0, 230.0, 230.0]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x72af8d90>), config=Config(connection_module={'type': 'smartwb', 'name': 'smartWB / EVSE-Wifi (>= v1.x.x/v2.x.x)', 'configuration': {'ip_address': '192.168.178.59', 'timeout': 2}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='smartwb', template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=16))
2023-05-02 22:08:50,538 - {control.data:335} - {INFO:MainThread} - cp18
ChargepointData(get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[230.0, 230.0, 230.0]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x72b82760>), config=Config(connection_module={'type': 'mqtt', 'name': 'MQTT-Ladepunkt', 'configuration': {}}, power_module={}, ev=0, name='go-e MQTT', type='mqtt', template=0, connected_phases=3, phase_1=0, auto_phase_switch_hw=False, control_pilot_interruption_hw=False, id=18))
2023-05-02 22:08:50,539 - {control.data:335} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-05-02 22:08:50,539 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 19, 'type': 'counter', 'children': []}, {'id': 3, 'type': 'inverter', 'children': [{'id': 6, 'type': 'inverter', 'children': []}, {'id': 5, 'type': 'inverter', 'children': []}, {'id': 9, 'type': 'inverter', 'children': []}]}, {'id': 4, 'type': 'bat', 'children': []}]), set=Set(loadmanagement_active=False, home_consumption=569.3, invalid_home_consumption=0, daily_yield_home_consumption=185.66893464342888))
2023-05-02 22:08:50,540 - {control.data:335} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-05-02 22:08:50,541 - {control.data:335} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None, state=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-05-02 22:08:50,542 - {control.data:335} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=2, keep_charge_active_duration=40)
2023-05-02 22:08:50,543 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-05-02 22:08:50,543 - {control.data:315} - {INFO:MainThread} - general_data-display
local
2023-05-02 22:08:50,543 - {control.data:316} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-05-02 22:08:50,544 - {control.data:317} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x713561a8>), led=Led(active=False), rfid=Rfid(active=False))
2023-05-02 22:08:50,544 - {control.data:335} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=15000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=47916.434, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-05-02 22:08:50,545 - {control.data:335} - {INFO:MainThread} - pv5
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=16092.796, monthly_exported=0, yearly_exported=0, exported=56825.767, fault_state=2, fault_str="<class 'KeyError'> 'children'", power=-0.1))
2023-05-02 22:08:50,545 - {control.data:335} - {INFO:MainThread} - pv6
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=10693.731, monthly_exported=0, yearly_exported=0, exported=38022.79, fault_state=2, fault_str="<class 'KeyError'> 'children'", power=-0.0))
2023-05-02 22:08:50,545 - {control.data:335} - {INFO:MainThread} - pv9
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=10724.955, monthly_exported=0, yearly_exported=0, exported=37795.015, fault_state=2, fault_str="<class 'KeyError'> 'children'", power=-0.3))
2023-05-02 22:08:50,546 - {control.data:319} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=37511.482, monthly_exported=0, yearly_exported=0, exported=180560.006, power=-0.4))
2023-05-02 22:08:50,546 - {control.data:335} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.62', 'current_commit': '2023-04-27 09:33:19 +0200 [bc50ee7e]', 'current_branch': 'master', 'current_branch_commit': '2023-04-27 09:33:19 +0200 [bc50ee7e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 8, 'lastlivevaluesJson': {'timestamp': 1683055251, 'time': '21:20:51', 'grid': -0.017, 'house-power': 0.569, 'charging-all': 0.0, 'pv-all': 0.001, 'cp18-power': 0.0, 'bat-all-power': -0.486, 'bat-all-soc': 86}, 'module_update_completed': True}
2023-05-02 22:08:50,549 - {control.data:348} - {INFO:MainThread} - device3
{'name': 'Victron', 'type': 'victron', 'id': 3, 'configuration': {'ip_address': '192.168.178.51'}}
2023-05-02 22:08:50,553 - {control.data:350} - {INFO:MainThread} - component3
{'name': 'Victron Multiplus', 'type': 'inverter', 'id': 3, 'configuration': {'mppt': True, 'modbus_id': 227}}
2023-05-02 22:08:50,553 - {control.data:350} - {INFO:MainThread} - component4
{'name': 'Victron Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 100}}
2023-05-02 22:08:50,554 - {control.data:350} - {INFO:MainThread} - component5
{'name': 'Victron 150-75', 'type': 'inverter', 'id': 5, 'configuration': {'mppt': True, 'modbus_id': 223}}
2023-05-02 22:08:50,554 - {control.data:350} - {INFO:MainThread} - component6
{'name': 'Victron 150-45p1', 'type': 'inverter', 'id': 6, 'configuration': {'mppt': True, 'modbus_id': 226}}
2023-05-02 22:08:50,555 - {control.data:350} - {INFO:MainThread} - component9
{'name': 'Victron 150-45p2', 'type': 'inverter', 'id': 9, 'configuration': {'mppt': True, 'modbus_id': 224}}
2023-05-02 22:08:50,555 - {control.data:322} - {INFO:MainThread} -
2023-05-02 22:08:50,555 - {control.algorithm.algorithm:27} - {INFO:MainThread} - # Algorithmus
2023-05-02 22:08:50,556 - {control.algorithm.algorithm:49} - {ERROR:MainThread} - Fehler im Algorithmus-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/algorithm/algorithm.py", line 28, in calc_current
self.evu_counter = data.data.counter_all_data.get_evu_counter()
File "/var/www/html/openWB/packages/control/counter_all.py", line 67, in get_evu_counter
return data.data.counter_data[f"counter{self.get_id_evu_counter()}"]
KeyError: 'counter19'
2023-05-02 22:08:50,558 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-05-02 22:08:50,561 - {modules.common.component_context:24} - {DEBUG:cp16} - Update Komponente ['Ladepunkt']
2023-05-02 22:08:50,567 - {urllib3.connectionpool:227} - {DEBUG:cp16} - Starting new HTTP connection (1): 192.168.178.59:80
2023-05-02 22:08:50,573 - {modules.common.component_context:24} - {DEBUG:cp18} - Update Komponente ['Ladepunkt']
2023-05-02 22:08:50,574 - {modules.chargepoints.mqtt.chargepoint_module:33} - {DEBUG:cp18} - MQTT-Ladepunkte abonnieren die Soll-Stromstärke direkt vom Broker.
2023-05-02 22:08:50,595 - {urllib3.connectionpool:452} - {DEBUG:cp16} - http://192.168.178.59:80 "GET /setCurrent?current=0 HTTP/1.1" 404 22
2023-05-02 22:08:50,606 - {modules.common.fault_state:40} - {ERROR:cp16} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr HTTP 404: Client-Fehler. Überprüfe die Konfiguration., Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/chargepoints/smartwb/chargepoint_module.py", line 49, in set_current
req.get_http_session().get('http://'+ip_address+'/setCurrent', params=params, timeout=(timeout, None))
File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
raise exception
File "/var/www/html/openWB/packages/modules/chargepoints/smartwb/chargepoint_module.py", line 49, in set_current
req.get_http_session().get('http://'+ip_address+'/setCurrent', params=params, timeout=(timeout, None))
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
r = dispatch_hook('response', hooks, r, **kwargs)
File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
_hook_data = hook(hook_data, **kwargs)
File "/var/www/html/openWB/packages/modules/common/req.py", line 10, in <lambda>
session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://192.168.178.59/setCurrent?current=0
2023-05-02 22:08:50,609 - {control.process:79} - {ERROR:MainThread} - Fehler im Process-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/control/process.py", line 77, in process_algorithm_results
data.data.counter_all_data.get_evu_counter().put_stats()
File "/var/www/html/openWB/packages/control/counter_all.py", line 67, in get_evu_counter
return data.data.counter_data[f"counter{self.get_id_evu_counter()}"]
KeyError: 'counter19'
2023-05-02 22:08:50,613 - {helpermodules.graph:70} - {ERROR:MainThread} - Fehler im Graph-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/graph.py", line 41, in pub_graph_data
if data.data.counter_data[evu_counter].data.get.fault_state < FaultStateLevel.ERROR:
KeyError: 'counter19'
2023-05-02 22:08:50,614 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-05-02 22:09:00,673 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-05-02 22:09:00,675 - {root:61} - {INFO:MainThread} - # ***Start***