ich bekomme beim Auslesen des SoC über das http SoC Moduls immer folgenden Fehler:
Code: Alles auswählen
2024-03-12 09:01:28,913 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - HTTP SOC Module: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ("unsupported operand type(s) for -: 'int' and 'NoneType'",), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 111, in _get_carstate_by_source
return CarState(soc=calc_soc.calc_soc(vehicle_update_data,
File "/var/www/html/openWB/packages/modules/vehicles/common/calc_soc/calc_soc.py", line 13, in calc_soc
imported_since_start = vehicle_update_data.imported - imported_start
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
Eingesetzte Version: 2024-03-11 11:17:53 +0100 [5f5b8b965]