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

Add scan_interval to the scrape documentation #345

Closed
mickecamino opened this issue May 10, 2023 · 2 comments
Closed

Add scan_interval to the scrape documentation #345

mickecamino opened this issue May 10, 2023 · 2 comments

Comments

@mickecamino
Copy link

mickecamino commented May 10, 2023

I did notice that there are a new section in the documentation for checking if Ferroamp releases a new firmware version. That is great.
But.....
Default for the scrape function is to poll every 10:th minute and that is way abusive as the release rate of Ferroamp is quite low.
Add scan_interval with the value of 86400 so that polling is done once a day, or once a week with 604800.

scrape:
  - resource: https://support.ferroamp.com/sv-SE/support/solutions/47000522529
    timeout: 10
    scan_interval: 86400
    sensor:
      - name: Ferroamp Latest Version
        select: '.file-card > .fw-no-bullet > li'
        icon: mdi:counter
        index: 0
        value_template: >

@robinostlund
Copy link
Contributor

robinostlund commented May 10, 2023

Yes i agree, this idea crossed my mind when i was driving home 🤣

I will submit a new pr for it soon

@argoyle
Copy link
Collaborator

argoyle commented May 11, 2023

Closed by #346

@argoyle argoyle closed this as completed May 11, 2023
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