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

Frequency of update() calls #179

Open
HughMacdonald opened this issue Mar 20, 2024 · 2 comments
Open

Frequency of update() calls #179

HughMacdonald opened this issue Mar 20, 2024 · 2 comments

Comments

@HughMacdonald
Copy link

I couldn't find anything in the docs about this, so I hope it's okay to have created an issue to ask the question.

I want to get an update to the plugConnectionStatus as soon as possible after plugging or unpluggging the car. My current understanding is that, to get an event, I need to call update(). Is there a maximum frequency of calling this that is considered okay by VW (and won't get my account blocked)?

Thanks

@HughMacdonald
Copy link
Author

So after accidentally commenting a sleep() out of my code, and having it continuously calling update() until I caught it, it appears that it'll allow 5 or 6 in a minute before blocking you. However, this limit appears to reset every minute.

My code is currently updating every 2 minutes. I'd like to increase that to 1 minute or 30 seconds if at all possible, which I'll try once I'm confident in the stability of the current setup.

@HughMacdonald
Copy link
Author

After running a couple of tests, it appears that this number is 7

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

1 participant