audiconnect / audi_connect_ha

Adds an audi connect integration to home assistant
MIT License
224 stars 98 forks source link

Audi app does not open or close car #433

Open Dominique1997 opened 2 months ago

Dominique1997 commented 2 months ago

Describe the bug When the vin is provided and the action to close or open the car is called. Home assistant shows that the action is performed. But in real life the action is not performed.

To Reproduce Execute the following script: service: audiconnect.execute_vehicle_action data: vin: ***** action: unlock

Expected behavior To open or close the car

Logfile How to enable audiconnect debugging? Settings > Integrations > Audi Connect > Enable Debug Logging Run service refresh_cloud_data Disable Debug Logging

Your Vehicle Details Model: A3 Year: 2023 Type (ICE/PHEV/BEV): SPORTBACK

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 45 days with no activity. Are you still experiencing this issue?

coreywillwhat commented 1 month ago

US Region Endpoint for Lock:

https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/rlu/v1/vehicles/{vin}/lock

US Region Endpoint for Unlock

https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/rlu/v1/vehicles/{vin}/unlock
coreywillwhat commented 1 month ago

I've got this working for US region

mrechs commented 3 weeks ago

Hi is it correct that this is still broken? I am getting the following in my log file: This error originated from a custom integration.

Logger: custom_components.audiconnect.util Source: custom_components/audiconnect/util.py:25 integration: Audi Connect (documentation, issues) First occurred: 8:15:28 PM (1 occurrences) Last logged: 8:15:28 PM

Unable to lock [VIN]: 404, message='Not Found', url=URL('https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/Audi/US/vehicles/[VIN]/actions')

cdnninja commented 3 weeks ago

US Region Endpoint for Lock:


https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/rlu/v1/vehicles/{vin}/lock

US Region Endpoint for Unlock


https://mal-3a.prd.eu.dp.vwg-connect.com/api/bs/rlu/v1/vehicles/{vin}/unlock

Did just the endpoint change or anything else in the command?

g3gg0 commented 2 weeks ago

Same error here in DE region:

Unable to lock wauzzzXXX: 404, message='Not Found', url='https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/Audi/DE/vehicles/WAUZZZXXX/actions'

wessa66 commented 2 weeks ago

I see the same problem but I see the error below (the same thing shows when trying to start preheater)

2024-08-15 09:10:31.604 DEBUG (MainThread) [custom_components.audiconnect.audi_connect_account] Sending command to lock to vehicle **46ha142 2024-08-15 09:10:31.917 ERROR (MainThread) [custom_components.audiconnect.util] Unable to lock ***46ha142*: object of type 'NoneType' has no len()

martijncas commented 1 week ago

also cannot perform any action on the car. all data is being updated fine. HA log:

Unable to unlock wauzzzf24xxxxxxxx: 404, message='Not Found', url='https://fal-3a.prd.eu.dp.vwg-connect.com/fs-car/bs/rlu/v1/Audi/DE/vehicles/WAUZZZF24MN018677/actions'