evcc icon indicating copy to clipboard operation
evcc copied to clipboard

EU Data Act (VW): login fails after portal moved to eu-data-act.vwgroup-datahub.com

Open konzty opened this issue 2 weeks ago • 31 comments

Describe the bug

VW moved the EU Data Act portal from eu-data-act.drivesomethinggreater.com to eu-data-act.vwgroup-datahub.com. The old host now returns a 301 to the new one:

$ curl -sI https://eu-data-act.drivesomethinggreater.com/ | grep -i location
location: https://eu-data-act.vwgroup-datahub.com/

Creating a VW ID.7 vehicle (template vw, drivesomethinggreater driver) fails:

cannot create vehicle type 'drivesomethinggreater': login failed: credentials:
Post "https://eu-data-act.vwgroup-datahub.com/login?...":
unexpected login redirect host eu-data-act.vwgroup-datahub.com

The redirect allow-list in vehicle/vw/eudataact/api.go (isLoginHost) only permits identity.vwgroup.io and eu-data-act.drivesomethinggreater.com, so the 301 to the new host is rejected.

Further observations:

  • the 301 keeps path and query intact, so the authorization code still arrives: https://eu-data-act.drivesomethinggreater.com/login?state=…&code=… → https://eu-data-act.vwgroup-datahub.com/login?state=…&code=…
  • the new host also answers the legacy /proxy_api/... paths (e.g. /proxy_api/consent/me/vehicles → 401 instead of 404), so it is the same application under a new domain
  • the legacy /proxy_api paths are rewritten on the way (/proxy_api/consent/me/vehicles → /me/vehicles), so the driver's data calls should go to the new host directly

Steps to reproduce

  1. Configure a VW ID vehicle with the vw template
  2. Enter We Connect credentials
  3. Press "Test"/check

Configuration details

vehicles:
      - name: id7
        type: template
        template: vw
        title: VW ID.7
        user: [REDACTED]
        password: [REDACTED]
        vin: [REDACTED]

Log details

cannot create vehicle type 'template': cannot create vehicle type
    'drivesomethinggreater': login failed: credentials: Post
    "https://eu-data-act.vwgroup-datahub.com/login?state=de__en__VOLKSWAGEN_PASSENGER_CARS&code=...":
    unexpected login redirect host eu-data-act.vwgroup-datahub.com

What type of operating system or environment does evcc run on?

Docker container

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.319.0

konzty avatar Nov 16 '26 11:11 konzty

The login redirect allow-list in vehicle/vw/eudataact/api.go (isLoginHost) only accepts the identity host and the old portal host, so the 301 to eu-data-act.vwgroup-datahub.com is rejected. The data calls in the same file also still target the old host. This matches the code and the log in the report.

I committed a fix that moves BaseURL to the new host and keeps the old host as an accepted login redirect host. The OIDC RedirectURI stays on the old host, because that is the one registered with the identity provider and it redirects to the new one. I could not run the Go tests in this environment, so it is untested.

🤖 Generated with Claude Code

github-actions[bot] avatar Nov 16 '26 11:11 github-actions[bot]

Suggested fix

Point BaseURL/portalHost at https://eu-data-act.vwgroup-datahub.com (or add it to isLoginHost), keeping the old host as fallback during the migration. Keep RedirectURI on the legacy host, as that is the redirect URI registered with the VW identity provider.

Additional context

I built 0.319.0 with exactly that change (BaseURL → new host, both hosts accepted in isLoginHost/landing-host/isUserPage, RedirectURI unchanged) and the vehicle login succeeds with it, so the change is validated against a real VW ID.7. Patch available on request. The template instructions still link to the legacy portal domain in templates/definition/vehicle/*.yaml.

(Drafted with AI assistance — opencode. Reviewed, built and validated against a live evcc instance with a VW ID.7.)

konzty avatar Nov 16 '26 11:11 konzty

Have the same issue with a cupra born. I am on the last stable 0.3190 - any chance for a hotfix?

sw1002 avatar Nov 16 '26 14:11 sw1002

Same issue with ID.4, EVCC v0.319.0.

weakspot avatar Nov 16 '26 18:11 weakspot

Same issue with ID.4, EVCC v0.319.0.

m0nn3 avatar Nov 16 '26 19:11 m0nn3

Same issue with VW Caddy. EVCC v0.319.0. I also wonder if string VOLKSWAGEN_PASSENGER_CARS vs VOLKSWAGEN_COMMERCIAL_VEHICLES requires some attention.

harri-k-hanninen avatar Nov 16 '26 19:11 harri-k-hanninen

I can confirm the same issue with evcc v0.319.1 and my Volkswagen ID.3.

The VW EU Data Act portal works correctly in Safari. My vehicle is visible and the data permission is successfully verified. Data files are generated every 15 minutes.

However, evcc still fails with:

unexpected login redirect host eu-data-act.vwgroup-datahub.com

Could you please let us know when the fix will be included in an official evcc release?

Thank you!

bmwpower530d avatar Nov 16 '26 21:11 bmwpower530d

Same issue ID.3 with updated 0.319.1

kkuechler avatar Nov 16 '26 22:11 kkuechler

Yes, same issue for me.

Id.7 with evcc 319.1.

Looking forward to the fix which is already mentioned and included in current nightly. As I am not used to implement nightly evcc versions I have to be patient.

Thank you all for taking care of this.

Satriani77 avatar Nov 16 '26 23:11 Satriani77

Upgrading to today's (17.11.2026) nightly built, still shows the unexpected redirect issue for my ID.3.

mkrill avatar Nov 17 '26 07:11 mkrill

A6 - same issue. Thanks for taking care

vmatejka avatar Nov 17 '26 07:11 vmatejka

I think, more comments that your are also affected are not needed. Just click on Subscribe and wait.

StefanSchoof avatar Nov 17 '26 08:11 StefanSchoof

Fix in master

andig avatar Nov 17 '26 12:11 andig

Confirmed working with latest nightly v0.320.0-dev.1794967966

tfenster avatar Nov 18 '26 07:11 tfenster

Upgraded to nightly v0.320.0-dev.1794967966 and confirm evcc is working now, but still missing data.

$ evcc vehicle

<REDACTED output>
.Soc:           not available  3.685s  
Capacity:       0.0kWh                 
Charge status:  not available          
Range:          not available          
Odometer:       not available          
Limit Soc:      not available          
Features:       [Streaming]            
                                       
Total time:                    3.685s

I reached out to Volkswagen Group Info Services AG, who confirmed:

We're currently experiencing some delays in the data delivery, which has already been escalated to our specialist team who are working on solving the issue as quickly as possible.

This is true at least for Volkswagen Commercial Vehicles (such as Caddy).

harri-k-hanninen avatar Nov 18 '26 07:11 harri-k-hanninen

I can confirm SOC and range readings are back to normal with nightly v0.320.0-dev.1794967966. @harri-k-hanninen maybe you need to go to the VW portal and accept the conditions again (some checkboxes that came after login).

squirrel3000 avatar Nov 18 '26 08:11 squirrel3000

when will the fix be released?

bolisaf avatar Nov 18 '26 11:11 bolisaf

I have investigated the incorrect SoC issue further using the official VW Group Info Services data export.

My Seat app currently reports an actual battery SoC of 57%, while evcc and Home Assistant continue to report 100%.

I downloaded the official VW data export on November 18, 2026, and inspected the JSON file.

Findings:

  • "state_of_charge": 100%
  • Timestamp: November 17, 2026, 10:25:16 UTC
  • "battery_state_report.soc": not present
  • "battery_level_HV": not present

Other vehicle data contains newer timestamps from November 18, but the SoC value remains unchanged.

This suggests that the VW Data Act API/export is providing stale battery SoC data, rather than evcc simply displaying an incorrect value.

Could you please investigate whether the current implementation selects the correct and most recent SoC data field for Seat PHEV vehicles?

derHeidecker avatar Nov 18 '26 16:11 derHeidecker

basically this is showing what VW is understanding under "realtime" it is simply not working. I also checked some of my "logfiles" all of them are almost more than 24h old worst case even 48hours.

I switched from soc based charging to plans with fixed kwh limits. There I neeed no SOC info from VW. sucks a little bit but at least it is working in the sense of heving a fully loaded car next morning.

krekssus avatar Nov 18 '26 16:11 krekssus

Vorsichtige Frage: Wann wird das nächste Release mit diesem Fix veröffentlicht?

Danke für die Mühe!!

VG

snookerap avatar Nov 19 '26 18:11 snookerap