audiconnect / audi_connect_ha

Adds an audi connect integration to home assistant
MIT License
237 stars 97 forks source link

Fails to lock/unlock vehicle #80

Closed dsantanu closed 3 years ago

dsantanu commented 3 years ago

It's constantly failing to lock/unlock the car, resulting an hr. long suspension after every 5 failed attempts. When I lock/unlock the car from myAudi app, it always asks for the PIN before proceed:

lock_pin

I don't think S-PIN alone can do that and I don't see any option for lock.<myCar>_door_lock to set that up? Ideally, clicking the button, should represent the PIN entry screen, like the security system integration dose for arm/disarm functionality. Am I missing something here or didn't configure it properly?

-S

JamieP83 commented 3 years ago

same issue. im using this script, but not sure what to pass for my pin?

audi_service_lock:
  sequence: 
    - service: audiconnect.execute_vehicle_action
      data:
        vin: !secret audisq5vin
        action: 'lock'

audi_service_unlock:
  sequence: 
    - service: audiconnect.execute_vehicle_action
      data:
        vin: !secret audisq5vin
        action: 'unlock'
dsantanu commented 3 years ago

I think we have to wait for @arjenvrh to shade some light on it. It's clearly not working.

dsantanu commented 3 years ago

Any update on this issue pls - @arjenvrh or anyone?

dsantanu commented 3 years ago

hope, this project is still alive??

arjenvrh commented 3 years ago

The project is still alive, sort of. I just found some time to look into it and discovered all vehicle actions were not working. I just patched the integration, hopefully it works now.

Note that the spin is the same as the code the app requests, and should be configured when adding the integration.

fhloston commented 3 years ago

I can confirm that lock/unlockworks now. Thank you!