audi_connect_ha icon indicating copy to clipboard operation
audi_connect_ha copied to clipboard

Service 'refresh_vehicle_data': API error. 'refresh_data' works but does not update

Open Rookie-Ron opened this issue 3 years ago • 3 comments

Using HA core-2021.12.7 I activated the audiconnect service to regularly update the data, using the VIN. Contrary the description on this GitHub' site only service 'audiconnect.refresh_data' replies with data. I used NodeRed to verify response, which is a Unix timestamp, nicely updating when I call the service: image

The node itself is set up like this: image

When I created a LoveLace card, like the one on 'GitHub', it worked fine for the first day. But since two days no updating takes place anymore, with my HA Log showing the following: image

Any idea whether this is a bug or suggestions for a different setup? Moreover: is 'refresh_vehicle_data' deprecated or changed?

Rookie-Ron avatar Jan 13 '22 16:01 Rookie-Ron

Probably related to #107

oskretc avatar Jan 13 '22 20:01 oskretc

I just de-activated the 'audiconnect.refresh_data' Service and restarted HA. Result: no errors in the Log, and car-data nicely updated from the Audi server: image

Seems there is an issue with the interfacing with the VIN? Not sure whether this is related to #107, as there are no errors from the server-data...

Rookie-Ron avatar Jan 13 '22 21:01 Rookie-Ron

Just wanted to bump this -- as of 1.0.0 this is still some kind of problem. The docs say that the service is audiconnect.refresh_vehicle_data, but this fails. audiconnect.refresh_data does work, but it is unclear to me if it actually does anything (last update time is not changing).

The Spook integration monitoring the configuration is complaining that the audiconnect.refresh_data service does not exist.

wigster avatar Mar 17 '24 21:03 wigster

Just wanted to bump this -- as of 1.0.0 this is still some kind of problem. The docs say that the service is audiconnect.refresh_vehicle_data, but this fails. audiconnect.refresh_data does work, but it is unclear to me if it actually does anything (last update time is not changing).

The Spook integration monitoring the configuration is complaining that the audiconnect.refresh_data service does not exist.

refresh_cloud_data will update data from the cloud, but as you noted, it will not force a vehicle refresh. It only pulls the latest data that the cloud received when the vehicle last 'checked-in'. Last_update reflects the last time the vehicle checked-in.

#330 is for refresh_vehicle_data issue catch all.

Closing this issue but please let me know if I'm missing another issue in here.

coreywillwhat avatar Apr 08 '24 21:04 coreywillwhat