VAG Connect v2.10.12
pycupra source-verified field-name corrections for SEAT/CUPRA.
What's new
Fixed
heidle78's v2.10.10 follow-up diag on #392 showed model/year/manufacturer all still null. Deep-diff against pycupra source (the established Python lib for OLA backend) surfaced four concrete field-name bugs:
Static info (garage response) - data is nested under specifications.factoryModel, not top-level:
- model:
specifications.factoryModel.vehicleModel(optionally ++specifications.carBodyfor full display name) - model_year:
specifications.factoryModel.modYear(note:modYearwithoutel) - manufacturer:
specifications.factoryModel.vehicleBrand
Odometer (/v1/mileage) - mileageKm is the canonical field-name; added as the first variant so offline-state Formentor PHEVs report odometer correctly.
Charging settings (/v1/charging/info) - values live nested under a settings sub-dict:
- target_soc:
settings.targetSoc(no_pctsuffix) - max_charge_current:
settings.maxChargeCurrentAcInAmperes(integer amps) orsettings.maxChargeCurrentAc(enum) - auto_unlock_charge:
settings.autoUnlockPlugWhenCharged
Pre-v2.10.12 read all of the above at top level only and silently missed the nested data on most CUPRA/SEAT firmwares.