Workaround: read VW-Group car data via Home Assistant while the dsg / EU Data Act template returns HTTP 500 #30692
Replies: 4 comments 2 replies
-
|
This can even be done simpler using the 'homeassistant' template: Add this to evcc.yaml and restart evcc. Then go to evcc configuration page and grant evcc access to your HA. That's it. |
Beta Was this translation helpful? Give feedback.
-
|
Which integration are you using in HA? I am using Volkswagen Connect and get errors when signing in. Edit: nevermind… https://github.com/its-me-prash/vwgroup-connect-ha Edit2: I tried this integration with my VW id buzz, but getting no data. Connection seems ok. But note that currently I also have connected EVCC separately. So I assume this exceeds the interval formulates (15 minutes) and that is why there is no data… |
Beta Was this translation helpful? Give feedback.
-
|
I use Audi Connect - Version 2.1.2 |
Beta Was this translation helpful? Give feedback.
-
|
The workaround doesnt work. I still get an API Error and no useful entities: 2026-06-10 18:11:45.324 ERROR (MainThread) [custom_components.vag_connect.cariad.api.seat_cupra] OLA 403 persistent (5 consecutive) — flagging for HA Repair issue. Likely cause: OLA backend updated app-header requirements again. Check for integration update. No more other integration like Pycupra or tibber is installed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Sharing a workaround in case it helps others. The few evcc config lines below makes my EVCC working again, utilizing HA solutions which still provide car data more reliable than the EVCC dsg integration. Like several people here, my Audi stopped reporting data after the switch to the
drivesomethinggreater(EU Data Act) template. evcc logs a steady stream of:The portal-side
500seems to be outside evcc's control, so here's an approach that's been rock-solid for me while thedsgpath gets sorted out.Idea
If you already run Home Assistant, the community HA integrations for VW-Group cars (e.g.
vwgroup-connect) still authenticate and deliver live car data. So instead of evcc talking to the portal directly, we let HA own all the VW-Group auth/maintenance (device-grant login, token refresh, the rotatingx-qmauthheader, future API changes) and have evcc simply read HA's sensor states via the REST API.It's a drop-in replacement for the affected vehicle in
evcc.yaml— no rebuild, fully reversible.Requirements
Finding your entity IDs
audi, or your model).entity_id:%/ device classbattery, e.g.sensor.audi_q6_suv_e_tron_state_of_chargekm, e.g.sensor.audi_q6_suv_e_tron_rangecharging/off/readyForCharging, e.g.sensor.audi_q6_suv_e_tron_charging_state"state": "86"field.Drop-in vehicle config
Replace your broken vehicle entry under
vehicles:with this, thensystemctl restart evcc. Swap in your own<HA_URL>,<LONG_LIVED_TOKEN>, and entity IDs:Notes
statusmapping depends on your integration'scharging_statevalues — tweak thejqline if yours differ.evcc.yamlin plain text (normal for evcc), and is revocable/rotatable anytime from HA.type: homeassistantvehicle — I tried it first, but on evcc 0.308.x its auth has moved to an OAuth2/zeroconf pairing and the oldtoken:field is ignored, so the REST-API approach above was the simpler, version-stable route for me. (Might be worth a docs note?)Full write-up / config: https://gist.github.com/whentotrade/a08dfc672ea5c771476bd41da32d1da4
Happy to help document this for other HA users if that's useful.
Beta Was this translation helpful? Give feedback.
All reactions