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

Status of audiconnect.execute_vehicle_action and audiconnect.refresh_vehicle_data services #267

Closed
DutchKillerbee opened this issue Mar 7, 2024 · 11 comments

Comments

@DutchKillerbee
Copy link

Am I right that the services audiconnect.execute_vehicle_action (start_charger stop_charger) and the audiconnect.refresh_vehicle_data services are not working (yet) after switching to the new API (march 2024)?
Thanks

@Ingrimmsch93
Copy link
Contributor

i can not start and stop charging, but refresh is also not working for me. This is an open issue :)

@t0bias-r
Copy link
Contributor

t0bias-r commented Mar 7, 2024

same like #262

@guidokieboom
Copy link

guidokieboom commented Mar 8, 2024

@t0bias-r maybe following helps to find solution. Two days ago audiconnect.execute_vehicle_action start-climatisation worked well for me. This was with the t0bias-r branch. Yesterday when I removed this from HACS, rebooted and installed the arjenvrh branch (f4bf375) it did not work anymore. I used a switch in my configuration.yaml

image
switch:
  - platform: template
    switches:
      audiclimatise:
        friendly_name: "Audi Climatisation"
        value_template: "{{ is_state('sensor.audipreheat', 'on') }}"
        turn_on:
          service: audiconnect.execute_vehicle_action
          data:
            vin: wauzzzxxxxxxxxxxx
            action: start_climatisation
        turn_off:
          service: audiconnect.execute_vehicle_action
          data:
            vin: wauzzzxxxxxxxxxxx
            action: start_climatisation

edit: it works again (couple of days later)... i.e. the service call... also the switch does work (starting climatisation)... what still does not work is the feedback (the state is not refreshed); this is an issue referenced in several other issues.

@Kolbi
Copy link
Contributor

Kolbi commented Mar 11, 2024

I created a fix for the Services in general: #281

Now we need to figure out which services are still working :)

@DutchKillerbee
Copy link
Author

For my understanding:
The new Audi api doesn't have any service calls end points?
Or we don't know them (yet).

@guidokieboom
Copy link

guidokieboom commented Mar 12, 2024

I'm not knowledgeable about the API use, but... Few days after my above post that audiconnect.execute_vehicle_action start_climatisation did not work, it started to work again (with the yaml config as I posted). I did not install any update of fix. The other one (refresh vehicle data) still does not work for me.

@DutchKillerbee
Copy link
Author

@guidokieboom
Are you using start_climatisation or start-climatisation

@guidokieboom
Copy link

guidokieboom commented Mar 13, 2024

@guidokieboom Are you using start_climatisation or start-climatisation

I'm using start_climatisation as the action (just checked my configuration : above copy of yaml is still working for me). I see that I made a type-o above (now edited/corrected). Apologies for confusion.
Maybe following helps as well. From Developer Tools, Services you can find:
image

@DutchKillerbee
Copy link
Author

@Kolbi @guidokieboom
I can confirm that start_climatisation and stop_climatisation works (for my Q3 tfsi-e)
Only the climatisation status is not updated after calling the service..
Probably this is due the fact that the audiconnect.refresh_vehicle_data service doesn't work (yet)

@coreywillwhat
Copy link
Contributor

Tracking refresh_vehicle_data under #330 . HA entity updates post action should be resolved by #327 .

@coreywillwhat
Copy link
Contributor

#227 for tracking the charger actions not working.
Climate control actions should be working, but please report if you run into any other issues.

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

6 participants