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

PurpleAir fetch is very intermittent #2

Open
salmundo11 opened this issue Jun 1, 2020 · 2 comments
Open

PurpleAir fetch is very intermittent #2

salmundo11 opened this issue Jun 1, 2020 · 2 comments

Comments

@salmundo11
Copy link

regardless of the value of updateFreq, fetch happens very inconsistency and rarely.

e.g., with updateFreq set to 900:

[5/25/2020, 10:25:51 PM] [PurpleAir Air Quality] [Fetch] PurpleAir pm2_5 is 2.5, AQI is 10, Air Quality is Excellent.
[5/26/2020, 8:01:08 AM] [PurpleAir Air Quality] [Fetch] PurpleAir pm2_5 is 0.31, AQI is 1, Air Quality is Excellent.
[5/26/2020, 12:12:05 PM] [PurpleAir Air Quality] [Fetch] PurpleAir pm2_5 is 0.56, AQI is 2, Air Quality is Excellent.
[5/26/2020, 2:49:00 PM] [PurpleAir Air Quality] [Fetch] PurpleAir pm2_5 is 0.21, AQI is 1, Air Quality is Excellent.
[5/29/2020, 1:18:47 PM] [PurpleAir Air Quality] [Fetch] PurpleAir pm2_5 is 5.41, AQI is 23, Air Quality is Excellent.

# date
Mon Jun  1 10:06:25 PDT 2020
@SANdood
Copy link
Collaborator

SANdood commented Jun 1, 2020

This is by intent: It does actually poll every 15 minutes with your setting of 900, but it only REPORTS a new AQI value if the value has changed from the last reported value.

@aanon4
Copy link

aanon4 commented Aug 26, 2020

It does? It looks like it only polls on demand, but uses the updateFreq to prevent it requesting more often than this.

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