evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.6k stars 670 forks source link

creating vehicle ev6 failed: cannot create vehicle 'template': cannot create vehicle 'enyaq': #5317

Closed twingo667 closed 1 year ago

twingo667 commented 1 year ago

Car: Skoda Enyaq iV80 without MEB3

EVCC cannot create the vehicle:

pi@RPI:~ $ sudo systemctl stop evcc.service pi@RPI:~ $ evcc vehicle [main ] INFO 2022/11/29 12:27:19 evcc 0.108.2 [main ] INFO 2022/11/29 12:27:19 using config file: /etc/evcc.yaml [main ] ERROR 2022/11/29 12:27:24 creating vehicle ev6 failed: cannot create vehicle 'template': cannot create vehicle 'enyaq': Get "https://identity.vwgroup.io/oidc/v1/authorize?client_id=f9a2359a-b776-46d9-bd0c-db1904343117%40apps_vw-dilab_com&code_challenge=fxzpqa-F5wT8Vn8AHK2KzFiYxtfOZhRVpsc8K7ZKuMQ&code_challenge_method=S256&redirect_uri=skodaconnect%3A%2F%2Foidc.login%2F&response_type=code+id_token&scope=openid+mbb+profile&nonce=AtGZpVZCHuXnbFpFRmBjRFNqYzociOzCXJpgxVFqHPO&state=8e97dda8-1f0d-477d-944f-81aa41dc0009": dial tcp: lookup identity.vwgroup.io: i/o timeout .SoC: vehicle not available: cannot create vehicle 'template': cannot create vehicle 'enyaq': Get "https://identity.vwgroup.io/oidc/v1/authorize?client_id=f9a2359a-b776-46d9-bd0c-db1904343117%40apps_vw-dilab_com&code_challenge=fxzpqa-F5wT8Vn8AHK2KzFiYxtfOZhRVpsc8K7ZKuMQ&code_challenge_method=S256&redirect_uri=skodaconnect%3A%2F%2Foidc.login%2F&response_type=code+id_token&scope=openid+mbb+profile&nonce=AtGZpVZCHuXnbFpFRmBjRFNqYzociOzCXJpgxVFqHPO&state=8e97dda8-1f0d-477d-944f-81aa41dc0009": dial tcp: lookup identity.vwgroup.io: i/o timeout Capacity: 0.0kWh

evcc.yaml:

vehicles:

loadpoints:

Can anybody help please?

RTTTC commented 1 year ago

Try adapting this with your username and password, works for me:

vehicles:

  name: ev6
  type: enyaq

  title: Pappas
  user: username
  password: passw
  capacity: 77
  phases: 3
#  cache: 5m

  onIdentify:
    mode: pv
    minSoC: 0
    targetSoC: 100
    minCurrent: 6
    maxCurrent: 16
RTTTC commented 1 year ago

How many cars do you have? If one EV, then you can use in loadpoint configuration : vehicle: ev6 # set default vehicle (disables vehicle detection)

If more, this line should be commented out, and i think it is outdated like you have configured vehicles in your loadpoint. Have a look ar the current yaml: https://github.com/evcc-io/evcc/blob/master/evcc.dist.yaml

andig commented 1 year ago

Temporary issue.