Open aphotrax opened 2 months ago
This issue is stale because it has been open for 30 days with no activity.
I have the same issue.
To try to resolve I have done this: Throttled down the HASS configuration to 15 min sensor update interval (was 5 min) and also removed VW api connection from Tibber (my power company, using their service for smart charging). This is not optimal, but if need be…
The only things that ABSOLUTELY must work for me is a data refresh at 05.00 am in the morning to be able to force charging robot in case smart charging failed and secondly start heater 10 min before calendar departure in the morning if cold outside.
Do we have any knowledge on what the rate limit in the VW api is? And how to ensure it is not reached….?
This issue is stale because it has been open for 30 days with no activity.
Please note that VW allow max of 480 request per day, that is an interval of 5 Min. To allow you to use also VW App additional to HA, you should set an interval of at least every 6 min. to be under the day's request limit.
Thanx! Just to confirm. I set it to every 10 min and have not had a single problem since! happy!
Ah but that's probably exactly what I'm looking for. Just changed it to 10 minutes as well. Good to know the limits now and that they are daily not hourly. Thanks
Suggested fix to document this in https://github.com/robinostlund/homeassistant-volkswagencarnet/pull/680
Before you post a new issue - you must first check the following (and check the boxes with an "X" below)
Environment
Describe the bug
The issue has been there pretty much since I've started using the addon. When arriving home everything works as expected but after a while it stops connecting to my car. This happens the quickest when "often" changing MaxCharging setting based on solar production. When checking the logs it's confirmed I'm being rate-limited. Though I can't find any information about the limits applicable to avoid this. Currently it shouldn't send more then one request every +/-15 minutes to increase/decrease. And maybe sometimes one more for full stop or start. So that already feels pretty "slow".
Traceback/Error