evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Skoda: form not found ```

Open assineu opened this issue 1 year ago • 83 comments

Describe the bug

Seit heute diese Fehlermeldung: ``` [main ] ERROR 2025/11/06 18:10:50 creating vehicle enyaq failed: cannot create vehicle type 'template': cannot create vehicle type 'skoda': form not found


### Steps to reproduce

1. Neustart
2.
3.
...


### Configuration details

```yaml
sponsortoken: ###
network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: 192.168.178.86
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070
plant: ###
# modbus proxy for allowing external programs to reuse the evcc modbus connection
# each entry will start a proxy instance at the given port speaking Modbus TCP and
# relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)
#modbusproxy:
#    - port: 502
#      uri: 192.168.200.1:6607
     # id: 66
    #  rtu: true
    #  readonly: true # use `deny` to raise modbus errors

meters:
- name: Tibber
  type: template
  template: tibber-pulse
  usage: grid
  token:###
#  #homeid: ###
- type: template
  template: huawei-dongle-powersensor
  id: 2
  host: 192.168.178.39
  port: 502
  usage: grid
  modbus: tcpip
  timeout: 30s
  name: grid1
- type: template
  template: huawei-dongle-powersensor
  id: 2
  host: 192.168.178.39
  port: 502
  usage: pv
  modbus: tcpip
  timeout: 30s
  name: pv2
- type: template
  template: huawei-dongle-powersensor
  id: 2
  host: 192.168.178.39
  port: 502
  usage: battery
  storageunit: 2 
  modbus: tcpip
  capacity: 10 #in kwk
  timeout: 30s
  name: battery3



chargers:
- name: Easee
  type: template
  template: easee
  user:##### #
  charger:###
  timeout: 30s # optiona
    #authorize: # Steuert ob evcc die Authentifizierung am Charger vornimmt. Vorteil ist ein kontrollierter Ladestart. Nicht kompatibel mit RFID Identifikation von Fahrzeugen. (optional)

vehicles:
- type: template
  template: enyaq
  title: Skoda Enyaq IV4
  user: ###
  password:###
  vin:###
  capacity: 80
  timeout: 30s
  name: enyaq    

  

site:
  title: Zentgrafenstr.
  meters:
    grid: grid1
    pv:
    - pv2
    battery:
    - battery3
  residualPower: 100 # additional household usage margin

loadpoints:
- title: Garage # display name for UI
  charger: Easee # charger
#    meter: pv2 # charge meter
  #mode: pv # default charge mode to apply when vehicle is disconnected; use "off" to disable by default if charger is publicly available
  phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases)
 # vehicle: ev4
#    minCurrent: 6 # minimum charge current (default 6A)
#    maxCurrent: 16 # maximum charge current (default 16A)
# tariffs are the fixed or variable tariffs
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price (or price zones)
   # type: fixed
    #price: 0.294 # EUR/kWh
#    zones:
 #     - days: Mon-Fri
  #      hours: 2-5
  #      price: 0.2 # EUR/kWh
  #    - days: Sat,Sun
  #      price: 0.15 # EUR/kWh

    # or variable tariffs
    type: tibber
    token:###" # access token
    # homeid:### # optional if multiple homes associated to account

    # type: awattar
    # region: de # optional, choose at for Austria
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: elering # Nordpool
    # region: ee # or lt, lv, fi
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: energinet # Energinet using the price in DKK
    # region: dk1 # or dk2
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: entsoe # Entso-E european market data
    # domain: BZN|DE-LU # https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html#_areas
    # securitytoken: # api token
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: pun # PUN - Prezzo unico nazionale - Hourly Italian wholesale prices
    # charges: 0 # optional, additional charges per kWh
    # tax: 0 # optional, additional tax (0.1 for 10%)

    # type: amber
    # token: # api token from https://app.amber.com.au/developers/
    # siteid: # site ID returned by the API
    # channel: general

    # type: custom # price from a plugin source; see https://docs.evcc.io/docs/reference/plugins
    # price:
    #   source: http
    #   uri: https://example.org/price.json
    #   jq: .price.current

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.08 # EUR/kWh

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: amber
    # token: # api token from https://app.amber.com.au/developers/
    # siteid: # site ID returned by the API
    # channel: feedIn
  co2:
    # co2 tariff provides co2 intensity forecast and is for co2-optimized target charging if no variable grid tariff is specified
    type: grünstromindex # GrünStromIndex (Germany only)
    zip: 60389

    # type: electricitymaps # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token> # needs to be a token with forecast (not in the free tier)
    # zone: DE

    # type: ngeso # National Grid Electricity System Operator data (United Kingdom only) https://carbonintensity.org.uk/
    # provides national data if both region and postcode are omitted - do not supply both at the same time!
    # region: 1 # optional, coarser than using a postcode - see https://api.carbonintensity.org.uk/ for full list
    # postcode: SW1A1AA # optional

# mqtt message broker
mqtt:
  broker:###
  topic: evcc # root topic for publishing, set empty to disable
  user: joe
  password: ###0'

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user:
  # password:

Log details

[main ] ERROR 2025/11/06 18:10:50 creating vehicle enyaq failed: cannot create vehicle type 'template': cannot create vehicle type 'skoda': form not found

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

HomeAssistant Add-on

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

assineu avatar Nov 06 '25 17:11 assineu

Welches Template soll das denn sein? template: enyaq

Wolltest du ev. das Skoda Template nutzen?

Kann es sein, dass das Template enyaq in einer vorherigen Version existierte und jetzt eigentlich durch das Template Skoda abgedeckt sein sollte?

https://github.com/evcc-io/evcc/pull/24450

mucki12 avatar Nov 06 '25 17:11 mucki12

Seem Skoda might have changed something. Somebody will need to find out what. I'd also suggest to read up https://github.com/evcc-io/evcc/discussions/23684 and encourage VW to fulfill they legal requirements.

andig avatar Nov 06 '25 17:11 andig

Du meinst also, dass das gar nichts mit dem Update von evcc zu tun hat? Würde zumindest damit zusammenpassen, dass ich das Problem nach dem Downgrade auf die *.4 immer noch habe...

starwarsfan avatar Nov 06 '25 17:11 starwarsfan

Welches Template soll das denn sein? template: enyaq

Das Template hiess früher so. Ich sehe das hier bei mir in der History der evcc.yaml, weil ich die Datei versioniere. Seit der grafischen Konfiguration ist das jedoch bei mir nicht mehr vorhanden und genau das ist der Nachteil der grafischen Konfiguration: Man hat keine Chance mehr, vor einem Update etwas zu sichern. :-/

starwarsfan avatar Nov 06 '25 18:11 starwarsfan

OT: nennt sich Backup und hier gehts nicht um ein evcc update sondern um Skoda.

andig avatar Nov 06 '25 18:11 andig

Hallo @andig

OT: nennt sich Backup und hier gehts nicht um ein evcc update sondern um Skoda.

Ja schon klar. Aber hast Du überhaupt gelesen, was ich in #25111 geschrieben und hier zwei Postings weiter oben nochmals nachgefragt habe? Bei mir ist das Problem nach dem Update aufgetreten, bis dahin hat alles wunderbar funktioniert. Daher ist es mir nicht klar, ob das Problem nun bei Skoda oder dem evcc-update liegt und meine DB nun broken ist, weil nach dem Rollback das gleiche Problem besteht wie vor dem Update.

starwarsfan avatar Nov 06 '25 18:11 starwarsfan

Aber hast Du überhaupt gelesen

Ne, ich poste nur so ;)

und meine DB nun broken ist

Ist sie nicht

weil nach dem Rollback das gleiche Problem besteht wie vor dem Update.

Idee: es liegt an Skoda ;)

andig avatar Nov 06 '25 18:11 andig

Denke es liegt an Skoda. Das Sokda Home Assistant Plugin hat auch seit Probleme: https://github.com/skodaconnect/homeassistant-myskoda/issues/932

10bias avatar Nov 06 '25 18:11 10bias

Aber hast Du überhaupt gelesen Ne, ich poste nur so ;)

;)

und meine DB nun broken ist Ist sie nicht

Na das ist doch ein Wort. Danke Dir!

weil nach dem Rollback das gleiche Problem besteht wie vor dem Update. Idee: es liegt an Skoda ;)

Ok, mittlerweile ist das wohl klar. :)

Ich kenne den Aufbau der DB nicht aber an der Stelle würde mich interessieren, ob/wie evcc DB-Up- und -Downgrades handhabt resp. ob das überhaupt gehandhabt wird!? Wenn ich an die DB-Update-Prozeduren bei mir @work denke, dann wäre es hier vermutlich gar nicht so schlecht, aus den Paket-Installern heraus automatisiert Backups der DBs und Konfigurationsdateien anzulegen.

starwarsfan avatar Nov 06 '25 18:11 starwarsfan

Die DB wird beim Upgrade egtl. nicht angefasst (ok, es sei denn es gäbe Schemchanges). Aber ja, kann nix schaden...

andig avatar Nov 06 '25 19:11 andig

Die DB wird beim Upgrade egtl. nicht angefasst (ok, es sei denn es gäbe Schemchanges). Aber ja, kann nix schaden...

https://github.com/evcc-io/evcc/pull/25118

starwarsfan avatar Nov 06 '25 19:11 starwarsfan

@starwarsfan

Bei mir ist das Problem nach dem Update aufgetreten, bis dahin hat alles wunderbar funktioniert

Bei Änderungen an der Fahrzeug-API ist dann der Neustart (und die damit verbundene Neu-Initialisierung) der Auslöser, nicht das Update selber.

VolkerK62 avatar Nov 07 '25 06:11 VolkerK62

@starwarsfan

Bei mir ist das Problem nach dem Update aufgetreten, bis dahin hat alles wunderbar funktioniert

Hi, Bei mir das exact gleiche Problem. Hab gestern von 0.209.4 to 0.209.7 aktualisiert. Hatte noch das "enyaq" template aktiv und hab es danach auf "Skoda" geändert. Ohne Erfolg.

fuxl66 avatar Nov 07 '25 07:11 fuxl66

Hi, Bei mir das exact gleiche Problem. Hab gestern von 0.209.4 to 0.209.7 aktualisiert. Hatte noch das "enyaq" template aktiv und hab es danach auf "Skoda" geändert. Ohne Erfolg.

Das ist auch Aberglaube...

andig avatar Nov 07 '25 07:11 andig

Just to let you know, I called Skoda Connect support and they just confirmed that this is not intentional but an issue with skoda/VAG servers. It is currently being investigated. No ETA for a solution.

skolberg avatar Nov 07 '25 07:11 skolberg

If VAG had a self-service EU Data Act api we could use that. But they haven't :(

andig avatar Nov 07 '25 08:11 andig

Ich kann auch bestätigen das es nicht an der neuen Version liegt. Diese hatte ich gestern Vormittag installiert und danach funktionierte noch alles sehr gut. Erst nach einem späteren Neustart trat das Problem auf. Geht in meinem Fall um einen Citigo e-iV. Dann hoffe ich mal das Skoda sein Problem schnell fixt.

FeliciaRS avatar Nov 07 '25 09:11 FeliciaRS

Hi, Bei mir das exact gleiche Problem. Hab gestern von 0.209.4 to 0.209.7 aktualisiert. Hatte noch das "enyaq" template aktiv und hab es danach auf "Skoda" geändert. Ohne Erfolg.

Das ist auch Aberglaube...

Wieso ist das Aberglaube? In der Doku steht doch inzwischen template: skoda und nicht mehr wie früher template: enyaq.

Insofern war das auch instinktiv mein erster Versuch, das Problem zu beheben, indem ich mein yaml von enyaq auf skoda ändere, weil ich dachte, evcc hätte hier vielleicht das alte enyaq template abgeschaltet.

Dass es letztlich an den VW-Servern zu liegen scheint, ist für uns als reine Nutzer ja nicht erkennbar. Und die Fehlermeldung seitens evcc cannot create vehicle type 'skoda': form not found deutet ja auch nicht gerade darauf hin, dass der Fehler bei VW liegt und nicht an den Templates oder der eigenen yaml-Definition.

Hoffen wir mal, dass VW das Problem zeitnah löst und nicht in der Geschwindigkeit, die sie üblicherweise leider zeigen. Meine Skoda-App zickt auch seit gestern rum, das sollte hoffentlich den Druck erhöhen.

TRON4R avatar Nov 07 '25 10:11 TRON4R

Meine Skoda-App zickt auch seit gestern rum, das sollte hoffentlich den Druck erhöhen.

Ich hab natürlich selbes Problem... und natürlich aufgetreten beim "evcc migrate" um yaml in die DB zu schieben... Aber: meine MySkoda app geht wunderbar - und auch der Home Assistant funktioniert problemlos... Seid ihr euch sicher das es eine Änderung an der API gab? Ich hoffe mal auf "Besserung" - egal woran es hängt...

Gruß Thorsten

thorsten-gehrig avatar Nov 08 '25 06:11 thorsten-gehrig

Wie machst du das, das MySokda in HomeAssistant geht. Auch bei dieser Integration ist im Bereich der Issues alles voller Fehlermeldung. Auch bei mir geht nichts.

assineu avatar Nov 08 '25 06:11 assineu