mitch-dc / volkswagen_we_connect_id

Apache License 2.0
196 stars 52 forks source link

Possible to reload Device on a schedule? #200

Open rgerhards opened 1 year ago

rgerhards commented 1 year ago

I noticed that the integration often looses connection to the car and also seems to take either very long to reconnect or does not manage that at all (I was too impatient to wait longer than a day). I guess this is a problem with the VW infrastucture.

However, when I reload the integration, the connection is often (but not always ;-)) restored. So I wonder if there is a way to reload it on a schedule, e.g. every 6 hrs or so.

Version of the custom_component

newest version

Installation method (hacs / manual)

hacs

Installation method of hass (venv, docker, hassio,...)

docker

Configuration


Add your configuration here.

Describe the bug

A clear and concise description of what the bug is.

Debug log


Add your logs here.
SzymonWojnarowski commented 1 year ago

Hi

Same here. Now i have it not synchornised for a week or so. When i relod HA, it works again for some time.

From the VW app all looks ok - some time it has problems with synchro but after some time it is sychnronized.

rgerhards commented 1 year ago

@SzymonWojnarowski Note that you do not need to reload all of HA. It is sufficient (for me) to go to integrations, go to the VW integration, three on the device info, the 3-dot-menu has "reload integration". That does the trick for me ... for the next few hours to a couple of days ;-)

Sleazified commented 11 months ago

Im having the same isse, but reload dont always fix it for me, the entities show as unaviable for hours upon hours. Anyone got a better solution for this?