Comments (3)
The most common reason someone sees "not enough observations" is there are not enough observations to correctly calculate the AQI for the pollutant for the configured standard. For instance, a PM 2.5 US EPA NowCast requires 12 hours of continuous observations, with each hour having at least 75% of expected observations.
In the log you you pasted, it looks like 16 data points were found in the DB, but you need 540 in order to calculate an AQI.
If you have been recording less than 12 hours observations, then this is expected behavior. However, if you have been recording data for more than 12 hours, then something may be wrong.
My first two questions are:
-
How long should you have been recording data? In other words: How long has it been since weewx has been running with what you think is correct configuration to write PM 2.5 measurements into a database?
-
Are the observations actually being written to the DB? It looks like 16 were, so maybe that's not the issue? I don't know. It depends on what the answer to question 1 is. If the measurements are in a DB, then weewx-aqi may be misconfigured. If they're not there, then maybe your sensor is misconfigured or broken.
My advice is simply to wait, but since it's been 13 hours since you posted this, I guess you can check after your read this. :)
from weewx-aqi.
thanks for the response.
i changed the data source that i'm providing to weewx-aqi. my data source emulates what purple-air provides -- a sql database with sensor reading values. once i did this everything works perfectly. weewx-aqi thinks it's talking to a purple-air database and all is good.
my next task it to add mqtt support to weewx-aqi so that the aqi values are reported out over mqtt and can be used by devices outside of weewx.
from weewx-aqi.
Awesome. Great to hear this.
from weewx-aqi.
Related Issues (20)
- custom PM sensor HOT 20
- should be probably aqi_pm10_0. HOT 4
- AQI is slow to drop after spike HOT 1
- Calculate EU AQI HOT 1
- Verify au.AirQualityIndex O3 Calculations HOT 1
- Explicitly Support Unbounded Indicies HOT 1
- Support NowCast 2019 O3 Calculations
- Schema Columns HOT 1
- Weewx Died This Morning HOT 3
- units.py: KeyError: 'parts_per_billion'
- standards.py/calculate_composite_aqi HOT 2
- aqi-service fails and crashes weewx when no data is available HOT 2
- aqi service fails in case sensor meassure very high amount of particles HOT 1
- Support/Docs for weewx-airlink
- Two Sensors Support HOT 1
- WeeWX crashing HOT 3
- weewx crashing
- weewx-aqi v1.4.1 calculation fail
- United States EPA has updated their AQI ranges for PM2.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-aqi.