-
Notifications
You must be signed in to change notification settings - Fork 20
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
24h data missing #134
Comments
As also does the hourly data: https://data.sensor.community/static/v2/data.1h.json which I am using for a real time feed.. |
the real time data is in the data.json feed. At the moment there is a very high load in all data centers worldwide (including those of Amazon and Google !!! just in case why we aren't switching to one of them). Thats why we needed to reduce the load on our servers. |
Any ETA when that might happen (days, weeks, months)? |
More than some days for the 24h values (but hopefully only a few weeks). |
Sure, I understand. Thank you for the information. |
Thank you, understood. And thanks for providing this facility. |
At the moment the 1h stream is online again. We have to read half a million measurements for this, so the load has increased significantly. |
Now it works, but the query on the area returns a void dictionary. E.g. See the Berlin query in the doc page https://data.sensor.community/airrohr/v1/filter/area=52.5200,13.4050,10 |
We had to change the filter script, as someone used this in an app. This app also send massive requests with a radius of 0 ... |
Thanks. So which API should I use to get real-time data causing the least load possible on your servers? |
Use the box query. And try to do a request every 2 or 3 minutes. The data returned contains all values of the last 5 minutes. So even 4 minutes may be enough to get all data. |
At the moment my app makes a request to the real-time api address every time the user lands on a certain page (No one else than me has the app address), but I am trying to implement a scheduled script that will make a request only once every 5 minutes. I hope this latter configuration won't overload your server. |
This should be okay in terms of server load. The pure data.json is a "static" file, recreated once per minute. |
Querying for the 24h data (https://data.sensor.community/static/v2/data.24h.json) returns empty json file.
The text was updated successfully, but these errors were encountered: