evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Bug report: VW ID.7 vehicle not recognized (`cannot create vehicle type 'vw': form not found`)

Open schoppfe opened this issue 1 year ago • 52 comments

Version

  • evcc version: 0.209.8

Description

My Volkswagen ID.7 is no longer detected correctly by evcc.
The vehicle has to be selected manually in the web UI, but even after selecting it the vehicle is shown as invalid:

  • The vehicle name is displayed with a struck-through cloud icon.
  • The charging progress bar remains red.
  • State of charge is shown as 0.0 % in red.
  • Odometer and other vehicle data are missing.
  • Validating the vehicle configuration fails with an error.

In the vehicle configuration, the manufacturer field is greyed out and shows vw, which does not exist as a selectable manufacturer in the UI.

This error also occurs when configuring a completely new vehicle via Volkswagen We Connect ID, regardless of which (valid or invalid) account credentials are entered. It looks as if the error already occurs before any login attempt is made.

Additional observations

  • The manufacturer is shown as greyed-out vw in the configuration, which is not a valid selectable manufacturer in the UI.
  • On the same day, I was logged out of the official Volkswagen app. In the past, a similar combination of issues appeared when new VW terms & conditions had to be accepted. This time there was no T&C confirmation prompt in the app, but I mention it in case a backend/API change is related.

Expected behavior

  • The VW ID.7 should be created successfully as a vehicle.
  • Vehicle data (SoC, odometer, etc.) should be displayed correctly.
  • Charging bar should show normal progress (not red).
  • Vehicle validation should succeed without errors.

Actual behavior

  • Vehicle appears with a struck-through cloud icon.
  • Charging bar stays red.
  • State of charge is always shown as 0.0 % (red).
  • No odometer or additional vehicle data is shown.
  • Clicking Check on the vehicle configuration shows status failed with the following error:

cannot create vehicle type 'template': cannot create vehicle type 'vw': form not found

Steps to reproduce

  1. Open the evcc web UI.
  2. Go to the vehicle configuration.
  3. Either:
    • Use an existing VW ID.7 configuration from an existing configuration, or
    • Add a new vehicle and select manufacturer Volkswagen We Connect ID.
  4. Enter valid Volkswagen account credentials (We Connect ID / Volkswagen app).
  5. Save and then click Check (validate) on the vehicle configuration.

Configuration details

Even though I did not change anything for over a year and everything (including the db) works correctly, I now get error messages by checking this:


root@evcc:~# evcc config
[main  ] INFO 2025/11/19 11:06:07 using config file: /etc/evcc.yaml
[main  ] FATAL 2025/11/19 11:06:07 
Found systemd service database at "/var/lib/evcc/evcc.db", evcc has been invoked with no explicit database path.
Running the same config with multiple databases can lead to expiring vehicle tokens.

If you want to use the existing service database run the following command:

evcc --database /var/lib/evcc/evcc.db

If you want to create a new user-space database run the following command:

evcc --database ~/.evcc/evcc.db

If you know what you're doing, you can skip the database check with the --ignore-db flag.

root@evcc:~# cat /etc/evcc.yaml 
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 80

chargers:
- type: template
  template: ellipro
  ski: **** **** **** **** **** **** **** **** **** **** 
  ip: ***.***.***.***
  name: my_wallbox

loadpoints:
- title: VW ID.Charger Pro
  charger: my_wallbox
  mode: pv

vehicles:
  - name: my_vehicle_id7
    type: template
    template: vw
    title: 	VW ID.7 
    user: xxx
    password: xxx
    vin: xxx

Log details

Request failed with status code 400.
cannot create vehicle type 'template': cannot create vehicle type 'vw': form not found.
POST http://evcc.localdomain/api/config/test/vehicle

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

Linux

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.209.8

schoppfe avatar Nov 19 '25 11:11 schoppfe

Das selbe hier mit dem ID4, ich denke mal das liegt an den VW Servern. Die App ist auch abgemeldet.

Timer2000 avatar Nov 19 '25 11:11 Timer2000

Auch die We Connect Integration HA kann sich gerade nicht an VW Anmelden, somit ein Fehler oder eine Änderung bei VW

thecem avatar Nov 19 '25 11:11 thecem

Here the HA issue: https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/778

(and please also do not all post, that you are also affected. Just click thumb up and subscribe if you like.)

StefanSchoof avatar Nov 19 '25 11:11 StefanSchoof

Mit VW ID 3 auch Probleme. EVCC und HA können sich nicht anmelden.

developer-stephan avatar Nov 19 '25 12:11 developer-stephan

Aus HA Forum:

Image

Anscheinend muss EVCC etwas anpassen.

developer-stephan avatar Nov 19 '25 12:11 developer-stephan

Tldr: Die Fehlermeldung ist unzureichend wenn es an VW liegen sollte. Das geht sicher besser / weniger generisch.

Komisch, bei mir funktioniert nur EVCC nicht. HA und VW App ohne Probleme live. Nüscht angefasst.

Naja warten wir mal. Habe ja im Report erwähnt dass ich das Problem schon einmal bei neuen AGBs in Verbindung mit Zwang Logout erlebt habe.

schoppfe avatar Nov 19 '25 12:11 schoppfe

Also hier läuft HA noch und auch in der App bin ich wieder online, ohne Zustimmung zu neuen AGBs oder ähnliches.

Nur EVCC lässt sich nicht anmelden, irgendwie strange.

Timer2000 avatar Nov 19 '25 12:11 Timer2000

HA und VW App

Sobald deine OAuth-ID abläuft, funktioniert das bei dir ebenfalls nicht mehr. Bei mir geht es bereits nicht mehr im HA.

Im VW App musste ich mich neu einloggen. Dann ging es wieder.

D.h. Login-Verfahren hat sich geändert.

developer-stephan avatar Nov 19 '25 12:11 developer-stephan

Mein ID3 geht auch nicht mehr. Gleicher Fehler

chfaurie avatar Nov 19 '25 13:11 chfaurie

mir mir hat abmelden / anmelden über die Homepage von VW wohl geholfen.

TobiasHuber1980 avatar Nov 19 '25 13:11 TobiasHuber1980

Nee, war Zufall. Hier geht EVCC auch wieder

Timer2000 avatar Nov 19 '25 13:11 Timer2000

mir mir hat abmelden / anmelden über die Homepage von VW wohl geholfen.

Danke für den Tip, meine 3 E-VWs sind auch wieder per EVCC erreichbar.

alese82 avatar Nov 19 '25 13:11 alese82

Es funktioniert wieder. Ganz ohne mein Zutun

developer-stephan avatar Nov 19 '25 14:11 developer-stephan

VW just rolled back to the old login process again.

https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/778#issuecomment-3552830655

So for now it is working again. The question is, when is VW switch back to the new auth flow.

StefanSchoof avatar Nov 19 '25 14:11 StefanSchoof

My daily test for VW Login with the nigthly of evcc has failed. I think VW switch back to the new auth flow and breaking the integration.

StefanSchoof avatar Nov 24 '25 09:11 StefanSchoof

As customer: force VW to comply with your EU Data Act rights! Then we can provide a proper implementation...

andig avatar Nov 24 '25 10:11 andig

Anscheinend geht es wieder nicht mehr.

developer-stephan avatar Nov 24 '25 10:11 developer-stephan

@developer-stephan die Information steht ja schon 2 Posts drüber...

andig avatar Nov 24 '25 10:11 andig

At https://github.com/robinostlund/volkswagencarnet/pull/282 is the charge the python lib does to adapt.

StefanSchoof avatar Nov 24 '25 13:11 StefanSchoof

Die Volkswagen Connect Integration im HA läuft wieder. Mit dem neuen Login-Verfahren

developer-stephan avatar Nov 24 '25 14:11 developer-stephan