Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audi API broken #8352

Closed
StefanRu1 opened this issue Jun 7, 2023 · 6 comments · Fixed by #8374
Closed

Audi API broken #8352

StefanRu1 opened this issue Jun 7, 2023 · 6 comments · Fixed by #8374
Labels
bug Something isn't working

Comments

@StefanRu1
Copy link

Describe the bug

I used evcc since 4 Weeks and it worked fine.
But some days ago i did not get data from my vehicle anymore.
It is a Audi A3 TFSIe.

I tried the Audi App and it works fine.
I logged in to MyAudi and it works fine.

But evcc is returning:
root@raspberrypi:~# evcc vehicle
[main ] INFO 2023/06/07 21:14:08 evcc 0.117.4
[main ] INFO 2023/06/07 21:14:08 using config file: /etc/evcc.yaml
[main ] ERROR 2023/06/07 21:14:10 creating vehicle ev5 failed: cannot create vehicle 'template': cannot create vehicle 'audi': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
.Soc: vehicle not available: cannot create vehicle 'template': cannot create vehicle 'audi': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
Capacity: 10.4kWh
Features: [Offline]

I did not change anything in the config or in my account.
I did not find another bugreport, anyone else having this problem with the Audi API?

Best regards,
Stefan

Steps to reproduce

  1. Try to get data from an AUDI A3 TFSIe

...

Configuration details

vehicles:
- type: template
  template: audi 
  title: Audi A3 TFSIe  
  user: XXXXX@gmx.de
  password: XXXXX
  vin: WAUZZZXXXXXXXXX
  capacity: 10.4  
  phases: 1  
  icon: car  
  cache: 5m  
  mode: pv  
  minSoc: 0  
  targetSoc: 75  
  minCurrent: 1
  maxcurrent: 12
  name: ev5

Log details

evcc vehicle
[main  ] INFO 2023/06/07 21:14:08 evcc 0.117.4
[main  ] INFO 2023/06/07 21:14:08 using config file: /etc/evcc.yaml
[main  ] ERROR 2023/06/07 21:14:10 creating vehicle ev5 failed: cannot create vehicle 'template': cannot create vehicle 'audi': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
.Soc:     vehicle not available: cannot create vehicle 'template': cannot create vehicle 'audi': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
Capacity: 10.4kWh
Features: [Offline]

What type of operating system are you running?

Linux

Version

evcc version 0.117.4

@andig andig added the bug Something isn't working label Jun 8, 2023
@andig
Copy link
Member

andig commented Jun 8, 2023

Depends on TA2k/ioBroker.vw-connect#255

@StefanRu1
Copy link
Author

Ok thanks,
the workaround is
template: etron

Not
type: etron
as described.

Thanks and best regards,
Stefan

@andig
Copy link
Member

andig commented Jun 8, 2023

It is type etron if you dont use templates. They are just a way of making the types accessible for

evcc configure

underneath, its all types…

@StefanRu1
Copy link
Author

Ah, ok i see.
Thanks, works with type etron fine again.

@fxfxfx666

This comment was marked as off-topic.

@andig

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants