VAG Connect v2.22.0
VAG Connect v2.22.0
Home Assistant integration for Audi · VW · Škoda · SEAT · CUPRA · Porsche · VW US/CA.
What's new in this release / Was ist neu in diesem Release
Added
- evcc integration (read path, works on every brand). You can now feed your car's state of charge, range and charging status straight into evcc — it reads them from Home Assistant's own REST API, so nothing extra runs inside this integration. A new diagnostic sensor evcc charge status (the A/B/C plug/charge state evcc expects, which it can't derive from our raw status text) is added per EV, disabled by default — enable it and follow the copy-paste recipe in docs/EVCC.md. The read path (SoC / range / status / charge-limit / climate) works everywhere, including read-only VW EU; the write path (start/stop charging) works only on a two-way car (Audi / Škoda via MBB).
Fixed
- Two-way MBB commands (lock, climate, charging) no longer refuse themselves on cars that don't report an S-PIN attempt count. When you send a command, the car first hands back a security challenge — and many cars report the remaining-tries count as
-1at that stage, which just means "not tracked yet" (the real count only shows up if you actually get the PIN wrong). The command path was reading that-1as "you have -1 tries left" and blocking every lock/climate/charge command to dodge a lockout that couldn't happen. It now only holds back when there really are 0 or 1 attempts left. - The "please reauthenticate" prompt no longer fires on legacy Car-Net cars whose command gateway rejects them (#584). On some MQB / Car-Net cars the command service-directory call comes back with an authorization rejection that a fresh login can't fix — it's an enrolment / primary-user thing on that car's account, not a token problem (confirmed by re-approving a brand-new token that still gets rejected one second later). The integration used to refresh the token and retry on every poll, which slowly tripped the "token refresh storm — please reauthenticate" guard and sent you off to re-log-in for nothing. It now recognises that rejection for what it is, logs a clear one-line explanation, and stops hammering the login endpoint.
- No more
'NoneType' object has no attribute 'get_status'right after a Reconfigure (#584). Reconfiguring an entry could race a manual refresh that was already in flight, briefly leaving it without a client handle mid-fetch.
Thanks
Thanks to @Mattheisen87 for the meticulous #584 diagnostics that pinned down both guard fixes — the authorization-401 refresh storm and the reconfigure crash — and to @nekas123 for raising the evcc use-case that motivated the read-path connector. Both credited in CONTRIBUTORS.md. 🙏
Full diff vs v2.21.1 / Kompletter Diff zu v2.21.1
Every commit, file and code change between the two versions:
Jeder Commit, jede Datei und jede Code-Änderung zwischen beiden Versionen:
Recent releases / Letzte Releases
If you're upgrading from an older version, also read these notes:
Wenn du von einer älteren Version updatest, lies auch diese Release-Notes:
Full history: CHANGELOG.md
Installation / Update
HACS users: the update notification appears automatically within ~6 hours of the release.
HACS-User: Der Update-Hinweis erscheint automatisch innerhalb von ~6 Stunden nach dem Release.
Manual install / Manuelle Installation:
- Download
vag_connect.zipfrom this release /vag_connect.zipaus diesem Release herunterladen - Unzip and copy
custom_components/vag_connect/to your HAconfig/custom_components/folder, replacing any older copy / Entpacken und den Ordnercustom_components/vag_connect/in dein HAconfig/custom_components/kopieren — alten Ordner ersetzen - Restart Home Assistant / Home Assistant neu starten
Supported brands / Unterstützte Marken
Volkswagen EU · Audi · Škoda · SEAT · CUPRA · Volkswagen US/CA (Beta) · Porsche (Beta)
Found a bug? / Bug gefunden?
Open an issue with the bug-report template: https://github.com/its-me-prash/vwgroup-connect-ha/issues/new/choose
Bug-Report-Template: https://github.com/its-me-prash/vwgroup-connect-ha/issues/new/choose
Please mask your VIN to the last 6 characters and remove email/tokens/GPS before posting.
Bitte VIN auf die letzten 6 Zeichen kürzen und Email/Tokens/GPS vor dem Posten entfernen.