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

It does not show other data #23

Closed
jrousek opened this issue Jul 18, 2022 · 5 comments
Closed

It does not show other data #23

jrousek opened this issue Jul 18, 2022 · 5 comments

Comments

@jrousek
Copy link

jrousek commented Jul 18, 2022

Why doesn't the station show the other data?

Station 2768

show only:
air_quality_index
particulate_matter_pm10

But the station has other data:

{"status":"ok","data":{"aqi":30,"idx":2768,"attributions":[{"url":"https://portal.chmi.cz/","name":"Czech Hydrometeorological Institute (Český hydrometeorologický ústav)","logo":"CzechRepublic-CHMU.png"},{"url":"https://waqi.info/","name":"World Air Quality Index Project"}],"city":{"geo":[50.042198055556,15.739414166667],"name":"Pardubice-Rosice, Pardubicky, Czech Republic","url":"https://aqicn.org/city/czechrepublic/pardubicky/pardubice-rosice","location":""},"dominentpol":"pm25","iaqi":**_{"dew":{"v":10},"h":{"v":82},"no2":{"v":6.9},"o3":{"v":4.7},"p":{"v":1026},"pm10":{"v":9},"pm25":{"v":30},"so2":{"v":0.7},"t":{"v":13},"w":{"v":1.5},"wg":{"v":8.7}}_**,"time":{"s":"2022-07-18 07:00:00","tz":"+02:00","v":1658127600,"iso":"2022-07-18T07:00:00+02:00"},"forecast":{"daily":{"o3":[{"avg":27,"day":"2022-07-16","max":35,"min":16},{"avg":24,"day":"2022-07-17","max":34,"min":13},{"avg":25,"day":"2022-07-18","max":38,"min":14},{"avg":30,"day":"2022-07-19","max":45,"min":20},{"avg":31,"day":"2022-07-20","max":47,"min":20},{"avg":25,"day":"2022-07-21","max":25,"min":23}],"pm10":[{"avg":7,"day":"2022-07-16","max":10,"min":4},{"avg":7,"day":"2022-07-17","max":8,"min":5},{"avg":9,"day":"2022-07-18","max":11,"min":7},{"avg":10,"day":"2022-07-19","max":13,"min":9},{"avg":11,"day":"2022-07-20","max":12,"min":10},{"avg":12,"day":"2022-07-21","max":12,"min":11}],"pm25":[{"avg":23,"day":"2022-07-16","max":38,"min":14},{"avg":18,"day":"2022-07-17","max":24,"min":14},{"avg":28,"day":"2022-07-18","max":36,"min":20},{"avg":31,"day":"2022-07-19","max":38,"min":28},{"avg":34,"day":"2022-07-20","max":37,"min":29},{"avg":35,"day":"2022-07-21","max":39,"min":35}],"uvi":[{"avg":1,"day":"2022-07-16","max":4,"min":0},{"avg":1,"day":"2022-07-17","max":7,"min":0},{"avg":1,"day":"2022-07-18","max":7,"min":0},{"avg":1,"day":"2022-07-19","max":7,"min":0},{"avg":1,"day":"2022-07-20","max":7,"min":0},{"avg":1,"day":"2022-07-21","max":6,"min":0},{"avg":1,"day":"2022-07-22","max":5,"min":0}]}},"debug":{"sync":"2022-07-18T15:37:43+09:00"}}}

@Norbator
Copy link
Contributor

Norbator commented Aug 5, 2022

I had the same problem with another station just after installing & setting up the custom component. But several minutes (>30mn?) later all the data were well filled in.

@pawkakol1
Copy link
Owner

@jrousek and @Norbator
When you add your station you will see 2 or 3 entities only like on below screen:
image
But when you will refresh Web Browser card using CTRL+F5 it will show all others entities:
image
I don't know why it behaves like that, I noticed it for some others integrations, but it works.

@tuimz
Copy link

tuimz commented Nov 1, 2022

Can I re-open this?

I have selected a station that has more data, added the integration yesterday and still have only:

image

@pawkakol1
Copy link
Owner

@tuimz
Firtstly try to check if API supports more info than you expected:
waqi.info shows data like below:
image
But if you will check available API:
image
Then you can see that its API doesn't support all shown data (it supports PM10 and PM25 only):
image

@tuimz
Copy link

tuimz commented Nov 2, 2022

Thanks, I didnt know that! I figured they would show all info.
Thats unfortunate.

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

4 participants