Erstmal auch Danke für die Entwicklung - hab da nun auch jahrelang immer wieder selbst irgendwelche py-projekte zuhause gehostet und als http-soc verwendet. So wesentlich angenehmer direkt in openWB.
Wie hier bereits beschrieben viewtopic.php?p=133322#p133322 hat der SoC-Abruf bei mir 1-2 Tage lang funktioniert und nun kommt aber (auch nach Update auf 3.8.1) nur diese Meldung:
Code: Alles auswählen
2025-09-26 11:02:52,686 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - Skoda: FaultState FaultStateLevel.ERROR, FaultStr <class 'KeyError'> ('remainingRangeInKm',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 76, 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 132, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/skoda/soc.py", line 26, in updater
return fetch(vehicle_update_data, vehicle_config, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/skoda/soc.py", line 19, in fetch
soc, range, soc_ts, soc_tsX = api.fetch_soc(config, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/skoda/api.py", line 31, in fetch_soc
soc, range, soc_ts, soc_tsX = loop.run_until_complete(a._fetch_soc())
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/openWB/packages/modules/vehicles/skoda/api.py", line 20, in _fetch_soc
return await super().request_data(skoda)
File "/var/www/html/openWB/packages/modules/vehicles/vwgroup/vwgroup.py", line 69, in request_data
self.data = await library.get_status()
File "/var/www/html/openWB/packages/modules/vehicles/skoda/libskoda.py", line 247, in get_status
'cruisingRangeElectric_km': status_data['primaryEngineRange']['remainingRangeInKm'],
KeyError: 'remainingRangeInKm'