Hallo, ich habe die Startliste abgearbeitet, komme aber nicht weiter. Ich habe eine Duo mit der aktuellen 2.1 und zwei gleiche VW ID. Einer geht der andere nicht. Über die App sind beide erreichbar.
Das LOG zeigt erst den gescheiterten Versuch des ersten und dann den erfolgreichen des zweiten ID:
Code: Alles auswählen
2024-10-19 11:41:10,935 - {modules.vehicles.vwid.api:98} - {ERROR:fetch soc_ev4} - soc/range/soc_ts field missing exception: e='value'
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/vwid/api.py", line 91, in _fetch_soc
self.soc = int(self.data['charging']['batteryStatus']['value']['currentSOC_pct'])
KeyError: 'value'
2024-10-19 11:41:10,939 - {modules.vehicles.vwid.soc:20} - {INFO:fetch soc_ev4} - Result: soc=0, range=0.0@
2024-10-19 11:41:10,978 - {modules.common.store._api:31} - {INFO:store soc_ev4} - Saving CarState(soc=0, range=0.0, soc_timestamp=0)
2024-10-19 11:44:24,003 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev4} - Vehicle Instance <class 'modules.vehicles.vwid.config.VWId'>
2024-10-19 11:44:24,005 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev4} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=0)
2024-10-19 11:44:24,005 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev4} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=82000, efficiency=90, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-10-19 11:44:24,006 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev4} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=300, request_interval_not_charging=43200, request_only_plugged=False)
2024-10-19 11:44:24,006 - {modules.common.component_context:25} - {DEBUG:fetch soc_ev4} - Update Komponente ['VWId']
2024-10-19 11:44:24,008 - {asyncio:59} - {DEBUG:fetch soc_ev4} - Using selector: EpollSelector
2024-10-19 11:44:24,409 - {modules.vehicles.vwid.api:86} - {DEBUG:fetch soc_ev4} - batteryStatus:
{
"error": {
"message": "Not Found",
"errorTimeStamp": "2024-10-19T09:44:24Z",
"info": "Car is not enrolled anymore.",
"code": 2104,
"group": 1,
"retry": false
}
}
2024-10-19 11:44:24,410 - {modules.vehicles.vwid.api:98} - {ERROR:fetch soc_ev4} - soc/range/soc_ts field missing exception: e='value'
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/vwid/api.py", line 91, in _fetch_soc
self.soc = int(self.data['charging']['batteryStatus']['value']['currentSOC_pct'])
KeyError: 'value'
2024-10-19 11:44:24,411 - {modules.vehicles.vwid.api:122} - {DEBUG:fetch soc_ev4} - Old refreshToken expires on 2025-04-11 20:39:40, keep it
2024-10-19 11:44:24,412 - {modules.vehicles.vwid.soc:20} - {INFO:fetch soc_ev4} - Result: soc=0, range=0.0@
2024-10-19 11:44:24,413 - {modules.common.configurable_vehicle:67} - {DEBUG:fetch soc_ev4} - Requested start soc from api: 0%
2024-10-19 11:44:24,413 - {modules.common.store._api:26} - {DEBUG:fetch soc_ev4} - Raw data CarState(soc=0, range=0.0, soc_timestamp=0)
2024-10-19 11:44:24,434 - {modules.common.store._api:31} - {INFO:store soc_ev4} - Saving CarState(soc=0, range=0.0, soc_timestamp=0)
2024-10-19 11:50:55,556 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev2} - Vehicle Instance <class 'modules.vehicles.vwid.config.VWId'>
2024-10-19 11:50:55,558 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev2} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=57)
2024-10-19 11:50:55,559 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev2} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=82000, efficiency=90, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-10-19 11:50:55,562 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev2} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=300, request_interval_not_charging=3600, request_only_plugged=False)
2024-10-19 11:50:55,565 - {modules.common.component_context:25} - {DEBUG:fetch soc_ev2} - Update Komponente ['VWId']
2024-10-19 11:50:55,568 - {asyncio:59} - {DEBUG:fetch soc_ev2} - Using selector: EpollSelector
2024-10-19 11:50:56,372 - {modules.vehicles.vwid.libvwid:199} - {DEBUG:fetch soc_ev2} - Refreshing tokens
2024-10-19 11:50:57,250 - {modules.vehicles.vwid.api:86} - {DEBUG:fetch soc_ev2} - batteryStatus:
{
"value": {
"carCapturedTimestamp": "2024-10-18T18:43:24Z",
"currentSOC_pct": 57,
"cruisingRangeElectric_km": 274
}
}
2024-10-19 11:50:57,253 - {modules.vehicles.vwid.api:122} - {DEBUG:fetch soc_ev2} - Old refreshToken expires on 2025-03-23 07:16:37, keep it
2024-10-19 11:50:57,254 - {modules.vehicles.vwid.socutils:30} - {DEBUG:fetch soc_ev2} - store Token in file /var/www/html/openWB/ramdisk/soc_vwid_accessToken_vh_2
2024-10-19 11:50:57,257 - {modules.vehicles.vwid.soc:20} - {INFO:fetch soc_ev2} - Result: soc=57, range=274.0@2024-10-18T20:43:24
2024-10-19 11:50:57,258 - {modules.common.configurable_vehicle:67} - {DEBUG:fetch soc_ev2} - Requested start soc from api: 57%
2024-10-19 11:50:57,262 - {modules.common.store._api:26} - {DEBUG:fetch soc_ev2} - Raw data CarState(soc=57, range=274.0, soc_timestamp=0)
Car is not enrolled anymore -> Fahrgestellnummer ist kopiert direkt von der VW-Webseite mit erfolgreichem Login kopiert.