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 Q6 preheater missing #499

Open
jojoac opened this issue Nov 22, 2024 · 2 comments
Open

Audi Q6 preheater missing #499

jojoac opened this issue Nov 22, 2024 · 2 comments

Comments

@jojoac
Copy link

jojoac commented Nov 22, 2024

Describe the bug
from time to time, the reported data from the car is not shown, all have unknown state.
But I really miss the option to start the preheater. If possible, it would also be
home-assistant_audiconnect_2024-11-22T15-13-25.287Z.log
helpful to know is there is a service or update needed.

To Reproduce
Steps to reproduce the behavior:

It is just not there nothing need to be done

Expected behavior
at least, I would be happy if I could switch on the preheater. Nice would be to have the same option as in the app.
setting the Mode Comfort or Economy. and if I would like to switch on the seat heating for all 4 seats.

Screenshots
If applicable, add screenshots to help explain your problem.

Logfile
attached

Your Vehicle Details
Model: Audi Q6 e-tron

Year: 2024
Type (Electric):
Region (EU/US/CA/CN): DE

home-assistant_audiconnect_2024-11-22T15-13-25.287Z.log

@Pastaloverzzz
Copy link

Pastaloverzzz commented Nov 24, 2024

If you mean to start the climatisation manually you can try this in your yaml file.. It works for my Q4 2024.

The following is line 548 to 574. This is the fix from issue #450
I was lucky enough to download the beta that was cancelled again because it could break the climatisation for other models.

    async def set_climatisation(self, vin: str, start: bool):
        if start:
            data = '{ "targetTemperature": 23, "targetTemperatureUnit": "celsius", "climatisationWithoutExternalPower": true, "climatizationAtUnlock": false, "windowHeatingEnabled": true, "zoneFrontLeftEnabled": false, "zoneFrontRightEnabled": false, "zoneRearLeftEnabled": false,  "zoneRearRightEnabled": false }'
            headers = { "Authorization": "Bearer " + self._bearer_token_json["access_token"] }
            res = await self._api.request(
                "POST",
                "https://emea.bff.cariad.digital/vehicle/v1/vehicles/{vin}/climatisation/start".format(
                    vin=vin.upper(),
                ),
                headers=headers,
                data=data,
            ) 
        else:
            data = ''
            headers = { "Authorization": "Bearer " + self._bearer_token_json["access_token"] }
            res = await self._api.request(
                "POST",
                "https://emea.bff.cariad.digital/vehicle/v1/vehicles/{vin}/climatisation/stop".format(
                    vin=vin.upper(),
                ),
                headers=headers,
                data=data,
            )

After that you can start climatisation via:
tap_action:
action: perform-action
perform_action: audiconnect.execute_vehicle_action
data:
vin: XXXXXXYOUR-VIN-HEREXXXXX
action: start_climatisation
And stop:
hold_action:
action: perform-action
perform_action: audiconnect.execute_vehicle_action
data:
vin: XXXXXXYOUR-VIN-HEREXXXXX
action: stop_climatisation

You will have to change the yaml to change the settings for the climatisation though.
Setting zoneFrontLeftEnabled/zoneFrontRightEnabled/zoneRearLeftEnabled/zoneRearRightEnabled to true enables the seat heating.
is also set the "climatizationAtUnlock" to true so it heats when i unlock it.
And also "climatisationWithoutExternalPower" to true so it also heats up without the car plugged in.

Still a big thanks to pergolafabio for sharing this code, it already helped me out a lot these colder days :)

@jojoac
Copy link
Author

jojoac commented Jan 6, 2025

BTW:
the CCC has this nice Video how they "hacked" VW/Audi etc.
https://media.ccc.de/v/38c3-wir-wissen-wo-dein-auto-steht-volksdaten-von-volkswagen#t=637
Available in DE/EN/FR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants