robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
304 stars 60 forks source link

App and plugin become unresponsive after some hours of usage #533

Closed artkula closed 5 months ago

artkula commented 6 months ago

Environment

Describe the bug

Once enabled, the plugin works for a while but becomes irresponsive in a few hours, bringing down the app as well. Nothing can be seen in the App. If the plugin is disabled, the app works fine.

Screenshots

image

Traceback/Error logs

Debug information - all JSON responses from logfile

There is no error output appearing. The information about the car simply becomes out-of-date but is still showing.

Additional context

VW support cannot explain this behavior.

ohaue commented 6 months ago

I see the exact same behavior. Described here: https://github.com/robinostlund/homeassistant-volkswagencarnet/discussions/532

Happy new year. Best regards Otto

artkula commented 5 months ago

I have installed the latest beta. The problem is still there. This is the series of messages I collect in the log once it becomes irresponsive on HA. image Once I reload it, this is what I get. image

stickpin commented 5 months ago

It seems that you have a pulling interval of 1 minute which is causing the Rate limit. Change it to 5 minutes, if the issue still persists, enable debug mode, reopen the issue, and share the collected logs.

Screenshot 2024-01-31 at 09 57 43