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

Polling frequency high #7

Closed
maxx-maurer opened this issue Aug 13, 2024 · 4 comments
Closed

Polling frequency high #7

maxx-maurer opened this issue Aug 13, 2024 · 4 comments

Comments

@maxx-maurer
Copy link

Looking at my network traffic, I see that this sensor is polling the data servers approximately every 20 seconds, twice (prognosis and current data). This leads to high unnecessary traffic on data.geo.admin.ch and app-prod-ws.meteoswiss-app.ch. It would be nice to a) reduce (e.g. every 5 min) or then give the option to define the update frequency.
In any case: Thanks for this integration. Much appreciated.

@chriszuercher
Copy link

I noticed the same and agree to @maxx-maurer propsal , the default should be much lower like 5 minutes. Configuration of this is nice to have if the period has a reasonable default.

Aside of this I really like this integration and use it i multiple installations. Thank you for your eork!

@izacus
Copy link
Owner

izacus commented Aug 26, 2024

Hmm, interesting, the interval should be around 60mins, not 20 seconds. Let me take a look.

@izacus
Copy link
Owner

izacus commented Aug 28, 2024

Should be fixed in b0ab220, I'll push an update after I test/soak it for a bit.

@izacus izacus closed this as completed Aug 28, 2024
@maxx-maurer
Copy link
Author

maxx-maurer commented Aug 29, 2024 via email

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

3 participants