Audi MMI support

Thanks @pergola.fabio

Can I just check; Am I copying the ‘async def start_climate_control’ function from that post and replacing it with the existing function in the ‘audi_services.py’ file?

And do I also do the same for the ‘async def set_climatisation’ that ‘niilorm’ posted?



You can do both indeed, the other one is the legacy function

1 Like

Thank you! @pergola.fabio

Its now working!

Do you know if there’s a return response that I could perhaps use to trigger a notification when the climate has started?

Yes, there is , I sniffed it , you can add it to the function too if you want, I didn’t add it there yet…

Here is full trace:

Hi all, in order to get this Audi q4 correctly reporting in my energy dashboard, I try to grab its charging power if location is home.
This template tries to achieve that:


template:
  - sensor:
      - name: "Audi Q4 e-tron Charging Power at Home"
        unique_id: "460873c0-dafb-4b32-95a3-7acf09fefdbb"
        unit_of_measurement: "kWh"
        state_class: "total_increasing"
        device_class: "energy"
        state: >
          {% if is_state('device_tracker.audi_q4_e_tron_position', 'home') %}
            {{ states('sensor.audi_q4_e_tron_charging_power') }}
          {% else %}
            0
          {% endif %}

However, during the energy reporting, It only shows one burst, after which it stops showing it.

Anyone can share yaml to add pin to any integrations. And even better the user / password / pin all through the yaml when you intitiate a vehicle execute action. I do not know the tags the i have to specify. Besides the Vin

I am nearly ready with an integration just need this last. Part. I am doing when the distance between my phone and the car is less then 1 m then it should open the car

I believe my integration is correct as it is only your vin number and the vehichle action that needs to be provided. Though in the logs i get the information that not found error. The same action from audi’s own app works fine without issues. I think might have to so something with an update of the api ? Anyways hope someone can help its a 2025 audi q2. I am as mentioned earlier working on a integration where the car unlocks when my phone is near the car and locks when i move away from the car :slight_smile: :

{“error” : {
“code” : “GW404”,
“message” : “Not found”,
“tracking-id” : “c2d8cb5e-467f-44ee-897e-fc7e03de94ee”
} }