Comments (10)
I will take a look on it today
from worlds-air-quality-index.
No, I didn't notice your post about the forecast
from worlds-air-quality-index.
Having the same issue
from worlds-air-quality-index.
I verified it using Postman, and I got below data, an I also visit WAQI web site - there is no O3 nor PM2.5 in current data list ("iaqi") - they are in forecast only
{ "status": "ok", "data": { "aqi": 10, "idx": 7937, "attributions": [ { "url": "http://www.luchtmeetnet.nl/", "name": "RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit", "logo": "Netherland-RIVM.png" }, { "url": "https://waqi.info/", "name": "World Air Quality Index Project" } ], "city": { "geo": [ 52.370508, 4.642319 ], "name": "Schipholweg, Haarlem", "url": "https://aqicn.org/city/netherland/haarlem/schipholweg", "location": "" }, "dominentpol": "pm10", "iaqi": { "h": { "v": 90 }, "no2": { "v": 20.4 }, "p": { "v": 990.7 }, "pm10": { "v": 10 }, "t": { "v": 11.6 }, "w": { "v": 0.1 }, "wg": { "v": 1 } }, "time": { "s": "2023-10-27 18:00:00", "tz": "+02:00", "v": 1698429600, "iso": "2023-10-27T18:00:00+02:00" }, "forecast": { "daily": { "o3": [ { "avg": 8, "day": "2023-10-27", "max": 20, "min": 1 }, { "avg": 18, "day": "2023-10-28", "max": 28, "min": 14 }, { "avg": 24, "day": "2023-10-29", "max": 27, "min": 18 }, { "avg": 11, "day": "2023-10-30", "max": 21, "min": 1 }, { "avg": 1, "day": "2023-10-31", "max": 1, "min": 1 } ], "pm10": [ { "avg": 9, "day": "2023-10-27", "max": 14, "min": 5 }, { "avg": 9, "day": "2023-10-28", "max": 13, "min": 5 }, { "avg": 7, "day": "2023-10-29", "max": 8, "min": 3 }, { "avg": 13, "day": "2023-10-30", "max": 17, "min": 8 }, { "avg": 18, "day": "2023-10-31", "max": 19, "min": 18 } ], "pm25": [ { "avg": 32, "day": "2023-10-27", "max": 54, "min": 14 }, { "avg": 30, "day": "2023-10-28", "max": 45, "min": 16 }, { "avg": 16, "day": "2023-10-29", "max": 21, "min": 9 }, { "avg": 38, "day": "2023-10-30", "max": 55, "min": 19 }, { "avg": 57, "day": "2023-10-31", "max": 59, "min": 57 } ] } }, "debug": { "sync": "2023-10-28T02:29:51+09:00" } } }
from worlds-air-quality-index.
I verified it using Postman, and I got below data, an I also visit WAQI web site - there is no O3 nor PM2.5 in current data list ("iaqi") - they are in forecast only
{ "status": "ok", "data": { "aqi": 10, "idx": 7937, "attributions": [ { "url": "http://www.luchtmeetnet.nl/", "name": "RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit", "logo": "Netherland-RIVM.png" }, { "url": "https://waqi.info/", "name": "World Air Quality Index Project" } ], "city": { "geo": [ 52.370508, 4.642319 ], "name": "Schipholweg, Haarlem", "url": "https://aqicn.org/city/netherland/haarlem/schipholweg", "location": "" }, "dominentpol": "pm10", "iaqi": { "h": { "v": 90 }, "no2": { "v": 20.4 }, "p": { "v": 990.7 }, "pm10": { "v": 10 }, "t": { "v": 11.6 }, "w": { "v": 0.1 }, "wg": { "v": 1 } }, "time": { "s": "2023-10-27 18:00:00", "tz": "+02:00", "v": 1698429600, "iso": "2023-10-27T18:00:00+02:00" }, "forecast": { "daily": { "o3": [ { "avg": 8, "day": "2023-10-27", "max": 20, "min": 1 }, { "avg": 18, "day": "2023-10-28", "max": 28, "min": 14 }, { "avg": 24, "day": "2023-10-29", "max": 27, "min": 18 }, { "avg": 11, "day": "2023-10-30", "max": 21, "min": 1 }, { "avg": 1, "day": "2023-10-31", "max": 1, "min": 1 } ], "pm10": [ { "avg": 9, "day": "2023-10-27", "max": 14, "min": 5 }, { "avg": 9, "day": "2023-10-28", "max": 13, "min": 5 }, { "avg": 7, "day": "2023-10-29", "max": 8, "min": 3 }, { "avg": 13, "day": "2023-10-30", "max": 17, "min": 8 }, { "avg": 18, "day": "2023-10-31", "max": 19, "min": 18 } ], "pm25": [ { "avg": 32, "day": "2023-10-27", "max": 54, "min": 14 }, { "avg": 30, "day": "2023-10-28", "max": 45, "min": 16 }, { "avg": 16, "day": "2023-10-29", "max": 21, "min": 9 }, { "avg": 38, "day": "2023-10-30", "max": 55, "min": 19 }, { "avg": 57, "day": "2023-10-31", "max": 59, "min": 57 } ] } }, "debug": { "sync": "2023-10-28T02:29:51+09:00" } } }
Thank you for bringing this to my attention. It appears that the station has updated its sensors. If I understand correctly, your tool is designed to showcase values under the iaqi
category and consolidate them into a forecast variable when they are projected. Your explanation clarifies things, and upon reviewing my setup, the forecast variable no longer exists. 🤔
from worlds-air-quality-index.
@pawkakol1 should I create a new issue for the forecast variable?
from worlds-air-quality-index.
@rickstaa in the README description there is below sentence:
If the station supports forecast of some pollution sensor, but it doesn't support actual value of this sensor, then the forecast will be omitted.
But in next version there will be sensor with UNAVAILABLE current state, and read forecast like below:
from worlds-air-quality-index.
@rickstaa in the README description there is below sentence:
If the station supports forecast of some pollution sensor, but it doesn't support actual value of this sensor, then the forecast will be omitted.
But in next version there will be sensor with UNAVAILABLE current state, and read forecast like below:
Amazing thanks for the explanation. Looking forward to the next version 🚀.
from worlds-air-quality-index.
Done in version 1.0.4
from worlds-air-quality-index.
Great 🎉!
from worlds-air-quality-index.
Related Issues (20)
- It does not show other data HOT 5
- Does not appear in the integration list HOT 1
- Air Quality Index Not Updating HOT 4
- Unable to add integration from UI HOT 4
- Air Quality Index entity unavailable HOT 5
- string indices must be integers HOT 2
- Unable to delete a location HOT 2
- The integration will fail in 2023.3. HOT 4
- Forecast support HOT 1
- Error on device update HOT 10
- error HOT 7
- AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setups' HOT 1
- Wind Direction is actually Wind Gust HOT 3
- Error occurred while fetching data HOT 2
- Only creating 2 entities HOT 1
- Dominentpol as a additiolan attribute of AQI sensor HOT 1
- aqi value from json waqi api was undefined HOT 2
- Log warnings about deprecated constants since Core 2024.1 HOT 3
- Integration creating duplicate entities HOT 1
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 worlds-air-quality-index.