i now always have this error in log on first start :
2019-10-18 16:48:15 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] API error: {'errorCode': 'batterycharge.auth.forbidden', 'description': 'The service: rbatterycharge_v1 for VIN: WAxxx could not be found.'}
I integrated this nice integration and everything works as expected.
I’m missing the identity ‘windows’, although in MyAudi I see ‘windows are closed’.
in MyAudi I have some other stuff which is available, can I integrate them?:
car locked/unlocked
doors open/closed (is ok)
windows open/closed
light on/off
engine open/closed
trunk open/clsoed
What are the ‘binary_sensor’ identities? these all have an on or off state. I have the following:
yeah, me too
what kinda hickups did you have? also like that that the website itself was not responing anymore?
i have issues that mu nabucasa remote link is dead, while surfing on local ip was still possible
my guess is that this component is checking something on audi website, but the request is not timing out or just takes too long … while this request doing something, other services fail …
Not really sure which services stopped, but the UI definitely seemed to freeze. Maybe there is indeed something which should be async blocking the system. Unfortunately I don’t have the time to get to the bottom of it right now.
this has been affecting my instance for weeks and i even started gain and never suspected that ti was this component because it always seemed to work!!!
Ok, same issues as me then… It’s indeed probably related to the Audi services… But the component should be able to handle the issues/time outs… We need a developer for this
@arjenvr hi , are you still supporting this custom component? i really like it, but i had to disable it for now
it works, but seems when this component is activated, normal other components are failing
my nabucasa is dead after a while, deconz not working anymore after a while, other random errors , lovelace stuck… aftre disabling this component, everything is stable again
seems other people have the issue too
I have had the same issue once, when the Audi service seems to have not been running at all (I could also not connect through the App or website), as well as issues upon (re)starting HA which were caused by this integration. Since then, I’ve made some changes and have been testing it before checking in. I have not had these problems since then. I’ve added some timeout stuff that was missing in the AudiAPI library.
If you guys would like to test it, I’ve committed the changes to github. Please try testing without periodically running the service “refresh_vehicle_data”. This service does not seem so useful anyway, as car position updates are pushed automatically upon certain events (such as parking the car) and the car does not seem to want to send position updates between such events.
ok, loaded the component again
but in my case, i didnt use that refresh_vehicle_data att all, just noticing issues after a while in the overal HA system, just unstable … not sure why
anyway, loaded it again with new code fom github
i still see this error though, was also before update :
2019-11-05 14:51:52 ERROR (MainThread) [custom_components.audiconnect.audi_connect_account] API error: {'errorCode': 'batterycharge.auth.forbidden', 'description': 'The service: rbatterycharge_v1 for VIN: WAxxx could not be found.'}