Read the statement by Michael Teeuw here.
MMM-AQI
-
According to my geographic data I am in “Berlin-Wedding”, but I am closer to "Berlin- Friedrichshain
Perhaps the closest station (to you) that collects the data for the API is “Berlin-Wedding”. The same thing applies to weather API’s. Not every location has a station. The API likely chooses the closest one to your location.
Does Berlin- Friedrichshain have an ID number from the site?
-
Dude, you’re only talking about 10.3 km difference.
-
Dude, you’re only talking about 10.3 km difference.
I’m not picky, but the two boroughs have a completely different traffic. (Not now.)
It’s a difference like “Manhattan” and “Staten Island”.
But, you know it too, you want to make it as possible as possible.
Thank you for your patience and have a nice weekend. -
I understand completely and I sympathize with you. Have you found the ID number for the location you want and tried that in
city:
? -
I understand completely and I sympathize with you. Have you found the ID number for the location you want and tried that in city: ?
Here is a Link http://aqicn.org/city/germany/berlin/friedrichshain-frankfurter-allee/ from from my desired location. Where can I find the “ID”?
-
@Lordy the module instructions say to do this, to get the id
-
Ahh, the author hasn’t been on the forum in 7 months. :-(
-
the module instructions say to do this, to get the id
https://api.waqi.info/search/?token=TOKEN&keyword=CITYAttention: @Lordy
What a PITA! The url accepted “Berlin” eventually, but @Lordy is being pretty specific about what he wants. However, that url returns json data (I threw it in a json viewer), and lo and behold, it appears to show all the stations in Berlin, of which his is present. However, the station ID does NOT work, neither as a number or a string.
However!
Just for shits and giggles I threw the entire station name in
city: "Friedrichshain-Frankfurter Allee, Berlin, Germany",
.BOOM!
-
They didn’t make it easy for you! Use this in your config entry.
city: "Friedrichshain-Frankfurter Allee, Berlin, Germany",
-
@Mykle1 nice debugging!!