mitch-dc/volkswagen_we_connect_id

Maximum allowed requests per day changed

AlexPanoptikum opened this issue · 2 comments

The Volkswagen Company changed the maximum Number of allowed requests to round about 550 per day which means polling time should be set to 150 seconds.

The polling time (update interval) is configurable when the integration is installed:
config-flow-update-interva

I believe that reconfiguring it requires deleting and re-adding the integration. Screenshots of the steps to do so can be found in this post.

[...]about 550 per day which means polling time should be set to 150 seconds.

@AlexPanoptikum, I assume you meant that the default polling time (45 seconds, I believe) should be increased. May I ask you how you determined or found out that the limit changed to 550 requests per day?

@pdcastro Hi, yes i mean the default, sorry about my unprecise issue.
I allready knew how to change the update interval, thats how I found out the number of seconds to use, increasing the time in steps of 15 seconds and then look at what time the error occures.
By the way a new "round" starts at midnight.

Greetings Alex

In the Logs:

File "/usr/local/lib/python3.12/site-packages/weconnect/weconnect.py", line 382, in fetchData
raise TooManyRequestsError('Could not fetch data due to too many requests from your account. '
weconnect.errors.TooManyRequestsError: Could not fetch data due to too many requests from your account. Status Code was: 429

Thank you for the great work you did already :-)