Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum allowed requests per day changed #266

Open
AlexPanoptikum opened this issue Jul 15, 2024 · 2 comments
Open

Maximum allowed requests per day changed #266

AlexPanoptikum opened this issue Jul 15, 2024 · 2 comments

Comments

@AlexPanoptikum
Copy link

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.

@pdcastro
Copy link
Contributor

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?

@AlexPanoptikum
Copy link
Author

AlexPanoptikum commented Jul 15, 2024

@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 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants