Seite 1 von 1

Wallbox erstellt kein Ladelog mehr

Verfasst: Sa Apr 06, 2024 7:50 am
von s1lencer
Moin,
Bei meiner Wallbox ist mir erst gestern aufgefallen, dass seit ende Februar keine Ladelogs mehr erstellt werden.
Die Daten müssen allerdings vorhanden sein, da die Wallbox unter Diagramme auch alles fein auflistet.
Und nein das Auto wurde seit dem Zeitpunkt mehrmals abgesteckt und wieder angesteckt.
Anfänglich war die Wallbox auf dem Release zweit mittlerweile habe ich aber auch schon den Beta und master zweit ausprobiert um fest zu stellen ddas sich hier nichts am Verhalten ändert, die Box schreibt einfach kein Ladelog.

Momentan befinde ich auf dem Aktuellen Beta Zweig.
Auto welches ich Lade ist ein Tesla, Wallbox ist eine openWB Series 2 Custom ohne Display mit RFID, wobei RFID momentan nicht benutzt wird.
Welche Informationen benötigt ihr noch?

MfG
Kai

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: Sa Apr 06, 2024 3:15 pm
von Gero
Ich hatte das mal, weil ich keinen Verbrauch in der Konfiguration eingetragen hatte. Im Log stand dann immer „Division durch Null“. Vielleicht ist das noch nicht behoben.

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: Sa Apr 06, 2024 3:25 pm
von s1lencer
Gero hat geschrieben: Sa Apr 06, 2024 3:15 pm Ich hatte das mal, weil ich keinen Verbrauch in der Konfiguration eingetragen hatte. Im Log stand dann immer „Division durch Null“. Vielleicht ist das noch nicht behoben.
Hi Gero,
Verbrauch ist unter dem Fahrzeugprofil eingetragen.
Im Ladelog steht auch einfach mal gar nichts

MfG
Kai

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: Sa Apr 06, 2024 6:57 pm
von ChristophR
Für Fehler im Ladelog gibt es inzwischen eine eigene Logdatei, die ist aber nur über die Ramdisk erreichbar:
http://<IP-Deiner-openWB>/openWB/ramdisk/chargelog.log
Vielleicht wurde die geschrieben und hilft ggf. weiter?

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: Sa Apr 06, 2024 9:33 pm
von s1lencer
Hi ChristophR,
ja da wurde tatsächlich was abgelegt.

Code: Alles auswählen

2024-04-05 20:50:23,416 - reference ReferenceTime.END, reference_time 1712340060, cp.data.set.log.imported_since_mode_switch 340892.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-05 20:50:23,418 - energy_source_entry {'timestamp': 1712339101, 'date': '19:45', 'cp': {'cp5': {'imported': 341002.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 341002.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 48.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16110704.0, 'exported': 19604040.0, 'grid': True, 'energy_imported': 0.766, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33642870.0, 'energy_imported': 0.0, 'energy_exported': 0.001}, 'pv2': {'exported': 32173532.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1469338.0, 'energy_imported': 0.0, 'energy_exported': 0.001}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'imported': 2678, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'imported': 29014, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.004, 'energy_exported': 0.0}, 'sh3': {'imported': 7167, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'imported': 114, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'imported': 12435, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.001, 'energy_exported': 0.0}, 'sh6': {'imported': 42, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'imported': 23357, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.001, 'energy_exported': 0.0}, 'sh8': {'imported': 28551, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2602644.818100395, 'energy_imported': 0.331, 'energy_exported': 0.0, 'energy_imported_grid': 0.331, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 0.9987, 'pv': 0.0013, 'bat': 0.0, 'cp': 0.0}}
2024-04-05 20:50:23,421 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-05 20:50:23,444 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-05 20:51:11,806 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 21:00:03,293 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-05 21:13:57,946 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 21:14:10,511 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 21:14:14,389 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 22:00:03,580 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-05 22:24:58,061 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 23:00:03,126 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 00:00:01,647 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 01:00:02,058 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 02:00:01,885 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 03:00:02,087 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 04:00:01,798 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 05:00:02,392 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 06:00:02,671 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 07:00:02,548 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 08:00:01,973 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 09:00:01,807 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 09:25:18,021 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:27:00,926 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:36:47,348 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:40:16,597 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:40:18,987 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:40:19,463 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:44:51,393 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:45:27,975 - Kein Ladelog für {'month': '01', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:45:44,435 - Kein Ladelog für {'month': '01', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:46:39,656 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:46:40,523 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 10:00:02,754 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 11:00:02,940 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 12:00:02,593 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 12:22:00,606 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:27,361 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:29,598 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:30,715 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:32,891 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:34,462 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:36,277 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 13:00:02,811 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 13:23:36,653 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 13:23:39,102 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 14:00:02,967 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 15:00:02,807 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 15:11:25,788 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 16:00:03,063 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 17:00:03,015 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 18:00:02,932 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 18:20:33,335 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 18:20:35,643 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 19:00:02,700 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 20:00:02,547 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 21:00:03,270 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 22:00:02,739 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 22:03:51,864 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:03:51,867 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:03:51,869 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:03:51,889 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:05,247 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:05,249 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:05,250 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:05,259 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:15,183 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:15,185 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:15,186 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:15,195 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:22,143 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:22,145 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:22,146 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:22,152 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:35,284 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:35,286 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:35,287 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:35,296 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 23:00:02,433 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 23:28:31,441 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 23:29:58,043 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
Aber so wirklich schlau werde ich daraus nicht.

MfG
Kai

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: Sa Apr 06, 2024 9:50 pm
von ChristophR
Bin jetzt kein Programmierer, aber für mein Halbwissen klingt das, als ob da irgendwelche Variablen Typen durcheinander gekommen sind.
"Malst" Du irgendwas mit MQTT in die Wallbox?
Welche Version ist im Einsatz?
Ggf. hilft hier auch einfach ein Update...

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: So Apr 07, 2024 9:15 am
von s1lencer
ChristophR hat geschrieben: Sa Apr 06, 2024 9:50 pm Bin jetzt kein Programmierer, aber für mein Halbwissen klingt das, als ob da irgendwelche Variablen Typen durcheinander gekommen sind.
"Malst" Du irgendwas mit MQTT in die Wallbox?
Welche Version ist im Einsatz?
Ggf. hilft hier auch einfach ein Update...
ich frage nur über MQTT die daten ab und schreibe aber nichts in die Wallbox.
Mir scheint es auch als ob aufgrund des Logs und der Fehlerausgabe da wohl irgendwas in der Werteübergabe nicht ganz passt und ein Integer wert erwartet wird aber ein String wohl übergeben wird,

Gibt es da eventuell Infos seitens der Programmierer?

MfG
Kai

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: So Apr 07, 2024 10:05 am
von ChristophR
Naja, ganz viele haben sich mit MQTT die Konfiguration zerschossen.
In der aktuellen master wurde das eingeschränkt.
Daher würde ich erstmal ein Update einspielen.
Wenn die Konfiguration aber zerschossen ist hilft ggf. nur Neukonfiguration oder Backup eines korrekten Status.
Grundsätzlich werden die Variablen schon richtig (gewesen) sein, sonst hätten das Problem wohl auch andere.

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: Mo Apr 08, 2024 8:11 am
von LenaK
s1lencer hat geschrieben: Sa Apr 06, 2024 9:33 pm Hi ChristophR,
ja da wurde tatsächlich was abgelegt.

Code: Alles auswählen

2024-04-05 20:50:23,416 - reference ReferenceTime.END, reference_time 1712340060, cp.data.set.log.imported_since_mode_switch 340892.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-05 20:50:23,418 - energy_source_entry {'timestamp': 1712339101, 'date': '19:45', 'cp': {'cp5': {'imported': 341002.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 341002.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 48.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16110704.0, 'exported': 19604040.0, 'grid': True, 'energy_imported': 0.766, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33642870.0, 'energy_imported': 0.0, 'energy_exported': 0.001}, 'pv2': {'exported': 32173532.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1469338.0, 'energy_imported': 0.0, 'energy_exported': 0.001}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'imported': 2678, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'imported': 29014, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.004, 'energy_exported': 0.0}, 'sh3': {'imported': 7167, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'imported': 114, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'imported': 12435, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.001, 'energy_exported': 0.0}, 'sh6': {'imported': 42, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'imported': 23357, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.001, 'energy_exported': 0.0}, 'sh8': {'imported': 28551, 'exported': 0, 'temp0': 300, 'temp1': 300, 'temp2': 300, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2602644.818100395, 'energy_imported': 0.331, 'energy_exported': 0.0, 'energy_imported_grid': 0.331, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 0.9987, 'pv': 0.0013, 'bat': 0.0, 'cp': 0.0}}
2024-04-05 20:50:23,421 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-05 20:50:23,444 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-05 20:51:11,806 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 21:00:03,293 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-05 21:13:57,946 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 21:14:10,511 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 21:14:14,389 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 22:00:03,580 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-05 22:24:58,061 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-05 23:00:03,126 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 00:00:01,647 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 01:00:02,058 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 02:00:01,885 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 03:00:02,087 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 04:00:01,798 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 05:00:02,392 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 06:00:02,671 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 07:00:02,548 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 08:00:01,973 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 09:00:01,807 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 09:25:18,021 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:27:00,926 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:36:47,348 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:40:16,597 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:40:18,987 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:40:19,463 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:44:51,393 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:45:27,975 - Kein Ladelog für {'month': '01', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:45:44,435 - Kein Ladelog für {'month': '01', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:46:39,656 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 09:46:40,523 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 10:00:02,754 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 11:00:02,940 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 12:00:02,593 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 12:22:00,606 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:27,361 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:29,598 - Kein Ladelog für {'month': '03', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:30,715 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:32,891 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:34,462 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 12:30:36,277 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 13:00:02,811 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 13:23:36,653 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 13:23:39,102 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 14:00:02,967 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 15:00:02,807 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 15:11:25,788 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 16:00:03,063 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 17:00:03,015 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 18:00:02,932 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 18:20:33,335 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 18:20:35,643 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 19:00:02,700 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 20:00:02,547 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 21:00:03,270 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 22:00:02,739 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 22:03:51,864 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:03:51,867 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:03:51,869 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:03:51,889 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:05,247 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:05,249 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:05,250 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:05,259 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:15,183 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:15,185 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:15,186 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:15,195 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:22,143 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:22,145 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:22,146 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:22,152 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 22:04:35,284 - reference ReferenceTime.END, reference_time 1712433660, cp.data.set.log.imported_since_mode_switch 373642.01, cp.data.set.log.timestamp_start_charging 02/23/2024, 13:04:12
2024-04-06 22:04:35,286 - energy_source_entry {'timestamp': 1712433601, 'date': '22:00', 'cp': {'cp5': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'all': {'imported': 373752.01, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0, 'energy_imported_grid': 0.0, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'ev': {'ev0': {'soc': 0}, 'ev5': {'soc': 88.0}, 'ev4': {'soc': None}}, 'counter': {'counter0': {'imported': 16119893.0, 'exported': 19616902.0, 'grid': True, 'energy_imported': 0.059, 'energy_exported': 0.0}}, 'pv': {'all': {'exported': 33699266.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv2': {'exported': 32209712.0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'pv3': {'exported': 1489554.0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'bat': {'all': {'imported': 0, 'exported': 0, 'soc': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'sh': {'sh1': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 2791, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh2': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 30150, 'exported': 0, 'energy_imported': 0.002, 'energy_exported': 0.0}, 'sh3': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 7414, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh4': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 114, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh5': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 12462, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh6': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 42, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh7': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 23373, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}, 'sh8': {'temp0': 300, 'temp1': 300, 'temp2': 300, 'imported': 29088, 'exported': 0, 'energy_imported': 0.0, 'energy_exported': 0.0}}, 'hc': {'all': {'imported': 2620390.6925230674, 'energy_imported': 0.058, 'energy_exported': 0.0, 'energy_imported_grid': 0.058, 'energy_imported_pv': 0.0, 'energy_imported_bat': 0.0, 'energy_imported_cp': 0.0}}, 'energy_source': {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}}
2024-04-06 22:04:35,287 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 323, in calculate_charge_cost
    if timecheck.create_unix_timestamp_current_full_hour() <= cp.data.set.log.timestamp_start_charging:
TypeError: '<=' not supported between instances of 'int' and 'str'
2024-04-06 22:04:35,296 - Fehler im Ladelog-Modul
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 81, in save_interim_data
    save_data(chargepoint, charging_ev, immediately)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 159, in save_data
    "begin": datetime.datetime.fromtimestamp(log_data.timestamp_start_charging).strftime("%m/%d/%Y, %H:%M:%S"),
TypeError: an integer is required (got type str)
2024-04-06 23:00:02,433 - Fehler beim Berechnen der Ladekosten für Ladepunkt 5
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 305, in calculate_charge_cost
    reference = _get_reference_position(cp, create_log_entry)
  File "/var/www/html/openWB/packages/control/chargelog/chargelog.py", line 358, in _get_reference_position
    if (one_hour_back - cp.data.set.log.timestamp_start_charging) < 0:
TypeError: unsupported operand type(s) for -: 'float' and 'str'
2024-04-06 23:28:31,441 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
2024-04-06 23:29:58,043 - Kein Ladelog für {'month': '04', 'year': '2024', 'filter': {'chargepoint': {'id': []}, 'vehicle': {'id': [], 'rfid': [], 'chargemode': []}}} gefunden!
Aber so wirklich schlau werde ich daraus nicht.

MfG
Kai
Das Problem ist im aktuellen Master behoben.

Re: Wallbox erstellt kein Ladelog mehr

Verfasst: Mo Apr 08, 2024 1:29 pm
von s1lencer
LenaK hat geschrieben: Mo Apr 08, 2024 8:11 am
Das Problem ist im aktuellen Master behoben.
Das kann ich bestätigen, nun ist auch ein gesamtes Ladelog von ende Februar bis heute eingetragen worden.