womöglich hat mein Problem auch damit zu tun. Ich hatte den SoC im manuellen SoC Modul auf 1% gesetzt, auch nach dem Anstecken des Smart #1 wird der SoC nicht vom CP aufs EV übernommen.LenaK hat geschrieben: ↑Di Nov 12, 2024 9:15 amBitte mindestens einen Zyklus im Modus Details und das Tageslog unter http://<ip der openWB>/openWB/data/daily_log/<JJJJMMDD>.json posten.Basti hat geschrieben: ↑Mo Nov 11, 2024 9:43 pm Im Moment kommt regelmäßig der Fehler im LOG. Ist das ein Bug oder ein Fehler in meinem System ?
[Code: Alles auswählen
File "/var/www/html/openWB/packages/helpermodules/measurement_logging/process_log.py", line 398, in analyse_percentage grid_imported, grid_exported = get_grid_from(entry) File "/var/www/html/openWB/packages/helpermodules/measurement_logging/process_log.py", line 390, in get_grid_from raise KeyError(f"Kein Zähler für das Netz gefunden in Eintrag '{entry['timestamp']}'.") KeyError: "Kein Zähler für das Netz gefunden in Eintrag '1731335701'." 2024-11-11 22:35:39,493 - {helpermodules.measurement_logging.process_log:432} - {ERROR:Commands} - Fehler beim Berechnen des Strom-Mix von 1731336001 Traceback (most recent call last): File "/var/www/html/openWB/packages/helpermodules/measurement_logging/process_log.py", line 398, in analyse_percentage grid_imported, grid_exported = get_grid_from(entry) File "/var/www/html/openWB/packages/helpermodules/measurement_logging/process_log.py", line 390, in get_grid_from raise KeyError(f"Kein Zähler für das Netz gefunden in Eintrag '{entry['timestamp']}'.") KeyError: "Kein Zähler für das Netz gefunden in Eintrag '1731336001'."
Kann gern nochmal logs sammeln und teilen wenn das hilft zu bestätigen ob das hier tatsächlich das identische Problem ist.
Angesteckt, im ersten Regeldurchlauf danach gibts die MAC adresse, im darauf folgenden dann auch den SoC. Sieht für mich nicht unbedingt nach einer großen Verzögerung aus. Die CSS Kommunikation wird ja auch ein paar Sekunden benötigen.
Code: Alles auswählen
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, min_current=6, 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_charge_start=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, charging_current=0, charging_power=0, charging_voltage=0, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=1), currents=[0, 0, 0], daily_imported=0.0, daily_exported=0.0, error_timestamp=None, evse_current=0, exported=426, fault_str='Kein Fehler.', fault_state=0, imported=1979548, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='830892', soc=None, soc_timestamp=None, state_str='Keine Ladung, da der Ladepunkt gesperrt ist.', vehicle_id=None, voltages=[230.62, 227.46, 229.72]), 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=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None, soc_at_start=None, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=True, phases_to_use=1, plug_state_prev=False, plug_time=1731327435.320344, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6d0493a0>, ocpp_transaction_id=None), config=Config(configuration={'ip_address': '192.168.178.207', 'duo_num': 0}, ev=18, name='Gartenhaus (pro)', type='openwb_pro', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=27, ocpp_chargebox_id=None))
2024-11-12 12:16:52,180 - {control.data:266} - {INFO:MainThread} - cp27
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, min_current=6, 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_charge_start=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, charging_current=0, charging_power=0, charging_voltage=0, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=1), currents=[0, 0, 0], daily_imported=0.0, daily_exported=0.0, error_timestamp=None, evse_current=0, exported=426, fault_str='Kein Fehler.', fault_state=0, imported=1979548, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='830892', soc=None, soc_timestamp=None, state_str='Keine Ladung, da der Ladepunkt gesperrt ist.', vehicle_id='00:B0:52:00:DB:D1', voltages=[230.71, 228.38, 228.98]), 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=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None, soc_at_start=None, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=True, phases_to_use=1, plug_state_prev=True, plug_time=1731327435.320344, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6d050d48>, ocpp_transaction_id=None), config=Config(configuration={'ip_address': '192.168.178.207', 'duo_num': 0}, ev=18, name='Gartenhaus (pro)', type='openwb_pro', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=27, ocpp_chargebox_id=None))
2024-11-12 12:17:02,572 - {control.data:266} - {INFO:MainThread} - cp27
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, min_current=6, 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_charge_start=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, charging_current=0, charging_power=0, charging_voltage=0, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=1), currents=[0, 0, 0], daily_imported=0.0, daily_exported=0.0, error_timestamp=None, evse_current=0, exported=426, fault_str='Kein Fehler.', fault_state=0, imported=1979548, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='830892', soc=52, soc_timestamp=1731410208, state_str='Keine Ladung, da der Ladepunkt gesperrt ist.', vehicle_id='00:B0:52:00:DB:D1', voltages=[231.57, 229.11, 229.87]), 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=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None, soc_at_start=None, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=True, phases_to_use=1, plug_state_prev=True, plug_time=1731327435.320344, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6d04a9a0>, ocpp_transaction_id=None), config=Config(configuration={'ip_address': '192.168.178.207', 'duo_num': 0}, ev=18, name='Gartenhaus (pro)', type='openwb_pro', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=27, ocpp_chargebox_id=None))
2024-11-12 12:17:12,239 - {control.data:266} - {INFO:MainThread} - cp27
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, min_current=6, 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_charge_start=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, charging_current=0, charging_power=0, charging_voltage=0, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=1), currents=[0, 0, 0], daily_imported=0.0, daily_exported=0.0, error_timestamp=None, evse_current=0, exported=426, fault_str='Kein Fehler.', fault_state=0, imported=1979548, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, serial_number='830892', soc=52, soc_timestamp=1731410208, state_str='Keine Ladung, da der Ladepunkt gesperrt ist.', vehicle_id='00:B0:52:00:DB:D1', voltages=[232.08, 227.83, 229.87]), 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=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None, soc_at_start=None, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=True, phases_to_use=1, plug_state_prev=True, plug_time=1731327435.320344, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6d072928>, ocpp_transaction_id=None), config=Config(configuration={'ip_address': '192.168.178.207', 'duo_num': 0}, ev=18, name='Gartenhaus (pro)', type='openwb_pro', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=27, ocpp_chargebox_id=None))
2024-11-12 12:17:22,733 - {control.data:266} - {INFO:MainThread} - cp27