Audi MMI support

@dsantanu Tanks for your reply!

Both lock and unlock works fine from Home Asssitant. I just tried it using the Developer Tools to call the audiconnect.execute_vehicle_action to unlock the car, and it unlocked. Then I called it to lock, and the car locked itself. I was not prompted for a PIN-code. The action was simply executed.

Is there any specific log file I can check when trying to start climatisation, to see what might be going wrong?

Account is locked atm, as result of multiple unsuccessful attempts. I’ll send the log from Developer Tools, when it’s unlocked again.

@albatorsk
This is the error I get, when try to UNLOCK:

This error originated from a custom integration.

Logger: custom_components.audiconnect.util
Source: custom_components/audiconnect/util.py:25
Integration: Audi Connect
First occurred: 4:21:05 PM (2 occurrences)
Last logged: 4:23:31 PM

Unable to unlock WAUxxxxxxxxxx4243: 403, message='Forbidden', url=URL('https://mal-1a.prd.ece.vwg-connect.com/api/rolesrights/authorization/v2/security-pin-auth-completed')

Looks like something wrong with authorization PIN?? Is there there any details log available anywhere?

Correct me if I’m missing it because I don’t know where everyone is from, but in the US this add-on doesn’t work at all correct? Not just the unlock stuff.

1 Like

That is correct.

I’ve installed throug HACS but can’t find the integration in the UI:


What am i doing wrong?

When it was working for US cars, I accessed it by just typing “audi” in the integration search.

Anyone having issues with connectivity to audi service? Since few days I lost connection (no changes on my system). I get one error constantly being repeated in my log:

2021-10-22 13:38:58 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Login to Audi service failed: 404, message='Not Found', url=URL('https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration')
2021-10-22 13:48:58 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] Login to Audi service failed, trying again in 10 seconds

On the other hand no issues to connect from myAudi app or from web…

same here, login errors, has the api login link changed?

Looks like the service endpoint has been moved or is currently unavailabe

service not found:- /myaudiappidk/v1/openid-configuration

Yes I have the same Issue:
Logger: custom_components.audiconnect.audi_connect_account
Source: custom_components/audiconnect/audi_connect_account.py:87
Integration: Audi Connect
First occurred: 22:04:55 (1 occurrences)
Last logged: 22:04:55
Login to Audi service failed: 404, message=‘Not Found’, url=URL(‘https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration’)

1 Like

Audi changed things on their end at least in the US. Unless someone fixes the integration it’s down for the count. Think it’s been down for like 7 months.

Apps on Ios en android did get updated to v4.5, but still, use the same link and work for me. so don’t what goes wrong here

not mine but here this helps:

found on Integration Stopped working - unable to log in · Issue #88 · arjenvrh/audi_connect_ha · GitHub

So to sum it up to anybody who opens up this thread before a permenent fix is in place

Open /config/custom_components/audiconnect/audi_services.py and fix the following:
Line 501 replace "https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration" with "https://idkproxy-service.apps.na.vwapps.io/v1/na/openid-configuration"
Line 504 replace "https://app-api.live-my.audi.com/myaudiappidk/v1/openid-configuration" with "https://idkproxy-service.apps.emea.vwapps.io/v1/emea/openid-configuration"

1 Like

Thanks a lot! Updated script and it works again now!

1 Like

I installed today morning updated version from HACS and I’m happy to report that it also works as intended!

No way… I don’t know why.

  1. Removed directory “audiconnect” from “custom_components”.
  2. Restarted Home Assistant
  3. Installed the new version from GitHub (custom_components/audiconnect)
  4. Added Settings > Integrations > Audi Connect
  5. Inserted user & password

Message on screen (1st tentative): Invalid credentials
Message on screen (from 2nd tentative): User input malformed Invalid credentials

PS: I’ve already tried to change psw to be sure to avoid that error.

Finally logged in!
But only with basic info of the car and lock/unlock, no more all details of the car, like mileage, oil, fuel level, etc.
Until few weeks ago I has everything.
Are you able to see these (and other) details?

For me via HACS audi connect update worked!
all there
audi-conn2021-10-30_17-15-58|175x500

Don’t know why. Nth change, but I’ve uninstalled and installed once again and now I see all 19 entities, no more 2 entities. :slight_smile: