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 app does not open or close car #433

Open
Dominique1997 opened this issue Jun 6, 2024 · 13 comments
Open

Audi app does not open or close car #433

Dominique1997 opened this issue Jun 6, 2024 · 13 comments
Labels
bug Something isn't working planned Planned fix or feature

Comments

@Dominique1997
Copy link

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

Copy link

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

@github-actions github-actions bot added the stale label Jul 22, 2024
@cdnninja cdnninja removed the stale label Jul 24, 2024
@coreywillwhat coreywillwhat added bug Something isn't working planned Planned fix or feature labels Jul 25, 2024
@coreywillwhat
Copy link
Contributor

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
Copy link
Contributor

I've got this working for US region

@mrechs
Copy link

mrechs commented Aug 8, 2024

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
Copy link
Collaborator

cdnninja commented Aug 8, 2024

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
Copy link

g3gg0 commented Aug 11, 2024

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
Copy link

wessa66 commented Aug 15, 2024

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
Copy link

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'

@goldengod503
Copy link

i'm having this issue as well. same 404 message

@wessa66
Copy link

wessa66 commented Oct 3, 2024

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()

Suddenly this works for me?! , I can see error sometimes and see the
403, message='', url='https://msg.volkswagen.de/fs-car/bs/rs/v1/Audi/DE/vehicles/xxxxxxxxxxxx/action'

but I also saw I was forced to login to https://my.audi.com/ and accept the new term and conditions, I saw this in my log
2024-10-03 09:13:10.836 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] LOGIN: Login to Audi service failed: /signin-service/v1/xxxxxxxxxxxxxxxxxx@apps_vw-dilab_com/terms-and-conditions?relayState=xxxxxxxxxxxxxxxxxxxxxx&canChangeCountryOfResidence=true&userId=xxxxxxxxxxxxxxxxxxxxxxxxxc

@P3nryn
Copy link

P3nryn commented Oct 7, 2024

Still got the 404 message after relogin to Audi app and accepting the new terms and conditions.

So vor me it looks like that the integration can read data but can't send data to the the AUDI/VW API

@goldengod503
Copy link

i still consistently get a 404 when attempting to lock the doors via HA.

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

@seanwalter
Copy link

I am also having lock/unlock issues. I noticed a “default code” in the lock/unlock settings and have tried my 4-digit pin, 8-digit s-pin, and leaving it empty:

Logger: custom_components.audiconnect.util
Source: custom_components/audiconnect/util.py:26
integration: Audi Connect ([documentation](https://github.com/audiconnect/audi_connect_ha), [issues](https://github.com/audiconnect/audi_connect_ha/issues))
First occurred: 8:04:58 AM (10 occurrences)
Last logged: 8:57:55 AM

Unable to unlock XXXXXXXXXXXXXX: 403, message='', url='https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/security-pin-auth-completed'
Unable to unlock XXXXXXXXXXXXXX: 403, message='', url='https://mal-3a.prd.eu.dp.vwg-connect.com/api/rolesrights/authorization/v2/vehicles/XXXXXXXXXXXXXX/services/rlu_v1/operations/UNLOCK/security-pin-auth-requested'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working planned Planned fix or feature
Projects
None yet
Development

No branches or pull requests

10 participants