[![GitHub Activity][commits-shield]][commits] ![License][license-shield] [![Code Style][blackbadge]][black] ![hacs][hacsbadge]
Due to API changes, currently not all functionality is available. Please open a issue to report the topics you are missing.
[!Caution] Excessive use of certain features in this integration may result in temporary or permanent suspension of your Audi Connect account. Please use responsibly — abuse or misuse could potentially impact access for the entire community. Use at your own risk.
The audiconnect component provides an integration with the Audi Connect cloud service. It adds presence detection, sensors such as range, mileage, and fuel level, and provides car actions such as locking/unlocking and setting the pre-heater.
Note: Certain functions require special permissions from Audi, such as position update via GPS.
Credit for initial API discovery go to the guys at the ioBroker VW-Connect forum, who were able to figure out how the API and the PIN hashing works. Also some implementation credit to davidgiga1993 of the original AudiAPI Python package, on which some of this code is loosely based.
Full credit for this integration goes to @arjenvrh for their outstanding work in putting it all together. We wouldn’t have this without their contributions.
There are two ways this integration can be installed into Home Assistant.
The easiest and recommended way is to install the integration using HACS, which makes future updates easy to track and install.
Alternatively, installation can be done manually by copying the files in this repository into the custom_components directory in the Home Assistant configuration directory:
custom_components directory, create it.custom_components directory, create a new directory called audiconnect.custom_components/audiconnect/ directory in this repository into the audiconnect directory.Configuration is done through the Home Assistant UI.
To add the integration, go to Settings ➤ Devices & Services ➤ Integrations, click ➕ Add Integration, and search for "Audi Connect".
| Name | Type | Default | Description |
|---|---|---|---|
Username |
string |
– | The username associated with your Audi Connect account. |
Password |
string |
– | The password for your Audi Connect account. |
S-PIN |
string |
– | The S-PIN for your Audi Connect account to perform certain service actions. |
(Optional) |
| Region | string | DE | The region where your Audi Connect account is registered:
• DE – Europe
• US – United States
• CA – Canada
• CN – China |
| Scan Interval | int | 15 | Frequency (in minutes) to fetch status data from Audi Connect.
Minimum allowed is 15 minutes.
* Can be updated later via the CONFIGURE menu. |
| API Level | int | 0 | Determines the API structure used for service action calls:
• 0 – Typically Gas vehicles (legacy format)
• 1 – Typically e-tron (electric vehicles, newer format)
* Can be updated later via the CONFIGURE menu. |
Find configuration options under Settings ➤ Devices & Services ➤ Integrations ➤ Audi Connect ➤ Configure:
| Name | Type | Default | Description |
|---|---|---|---|
Cloud Update at Startup |
bool |
True |
Toggle the initial cloud update when the integration starts. Useful for development or frequent Home Assistant restarts. |
Refresh Vehicle Data After Action |
bool |
False |
Send a vehicle refresh command after every service action (e.g. climate, lock). This is typically not required as the vehicle will check in with the cloud on its own after a command. Each vehicle refresh counts against the API rate limit. To improve responsiveness, increase the Cloud Refresh Delay instead. |
Cloud Refresh Delay |
int |
5 |
Seconds to wait after a service action before refreshing cloud data. A longer delay gives the vehicle more time to report its updated state to the cloud. |
Scan Interval |
int |
15 |
Defines polling frequency in minutes (minimum 15). |
Excluded VINs |
str |
– | Comma-separated VIN list to exclude from setup and updates. |
Note: The integration will reload automatically upon clicking Submit, but a Home Assistant restart is suggested.
audiconnect.refresh_vehicle_data
Normal updates retrieve data from the Audi Connect cloud service, and don't interact directly with the vehicle. This service action triggers an update request from the vehicle itself. When data is retrieved successfully, Home Assistant is automatically updated. The service action requires a vehicle identification number (VIN) as a parameter.
vehicle: The Audi vehicle to perform the action on.[!CAUTION] This service action counts against your daily API rate limit. Repeated use may exhaust your limit. Use sparingly and monitor your remaining API calls via the "API Requests Remaining" diagnostic sensor or Settings → System → Repairs & System Information.
audiconnect.refresh_cloud_data
This service action triggers an update request from the cloud.
noneaudiconnect.execute_vehicle_action
This service action allows you to perform actions on your Audi vehicle, specified by the vehicle identification number (VIN) and the desired action.
vehicle: The Audi vehicle to perform the action on.action: The specific action to perform on the vehicle. Available actions include:lock: Lock the vehicle.unlock: Unlock the vehicle.start_climatisation: Start the vehicle's climatisation system. (Legacy) -- Deprecatedstop_climatisation: Stop the vehicle's climatisation system.start_charger: Start charging the vehicle.start_timed_charger: Start the vehicle's charger with a timer.stop_charger: Stop charging the vehicle.start_preheater: Start the vehicle's preheater system. (Legacy) -- Deprecatedstop_preheater: Stop the vehicle's preheater system.start_window_heating: Start heating the vehicle's windows.stop_window_heating: Stop heating the vehicle's windows.To initiate the lock action for a vehicle with VIN WAUZZZ4G7EN123456, use the following service call:
service: audiconnect.execute_vehicle_action
data:
device_id: 034986de941a1f824b3f06c0a1d9333f
action: "lock"
audiconnect.start_climate_control
This service action allows you to start the climate control with options for temperature, glass surface heating, and auto seat comfort.
vehicle: The Audi vehicle to perform the action on.temp_f (optional): Desired temperature in Fahrenheit. Default is 70.temp_c (optional): Desired temperature in Celsius. Default is 21.glass_heating (optional): Enable (True) or disable (False) glass heating. Default is False.seat_fl (optional): Enable (True) or disable (False) the front-left seat heater. Default is False.seat_fr (optional): Enable (True) or disable (False) the front-right seat heater. Default is False.seat_rl (optional): Enable (True) or disable (False) the rear-left seat heater. Default is False.seat_rr (optional): Enable (True) or disable (False) the rear-right seat heater. Default is False.To start the climate control for a vehicle with VIN WAUZZZ4G7EN123456 with a temperature of 72°F, enable glass heating, and activate both front seat heaters, use the following service call:
service: audiconnect.start_climate_control
data:
device_id: 034986de941a1f824b3f06c0a1d9333f
temp_f: 72
glass_heating: True
seat_fl: True
seat_fr: True
temp_f and temp_c parameters are mutually exclusive. If both are provided, temp_f takes precedence.temp_f nor temp_c is provided, the system defaults to 70°F or 21°C.audiconnect.start_auxiliary_heating
This service action allows you to start auxiliary heating the vehicle, with option for duration.
vehicle: The Audi vehicle to perform the action on.duration (optional): The number of minutes the auxiliary heater should run before turning off. Default is 20 minutes if not provided.To start the auxiliary heater for a vehicle with VIN WAUZZZ4G7EN123456, and a duration of 40 minutes, use the following service call action:
service: audiconnect.start_auxiliary_heating
data:
device_id: 034986de941a1f824b3f06c0a1d9333f
duration: 40
Below is an example Dashboard (Lovelace) card illu
$ claude mcp add audi_connect_ha \
-- python -m otcore.mcp_server <graph>