Read the statement by Michael Teeuw here.
MMM-AQI
-
Hi great module !
But i have another city !!! when i write my city name i have another result “barrie in ontario” ???
where to find city ID ?
thanks -
To find the city id you can search for it using the API itself: http://aqicn.org/json-api/doc/#api-Search-SearchByName
The API is quite picky with the names, so in my experience is always better to use the id or just the keyword here -
@ryck AFAICT you can’t even search without an API key.
-
@E3V3A Yep, but you can use the same token you are using for the module, ie:
https://api.waqi.info/search/?token=TOKEN&keyword=croydon
(you can just type that URL in your browser)
-
Sorry but geoloc “here” is so bad !
name of city don’t work
and don’t understand how find @id … -
@Fonfon I added more info in the README, but is basically enter the URL above in your browser (using your token and your city, of course) an then just look for your city in the response and write down the “uid” value, that’s the id you are looking for.
-
@ryck ahh ok i understand…Thanks a lot ;)
-
Would you be willing to have/make an option to make the items horizontal instead of vertical? So to save space, since they are only numbers?
-
@E3V3A Yes, that’s a good idea, I’ll try to implement it as soon as I have some spare time!
-
Hi, nice module. One question, is it possible to filter some of the pollutants that I want to see? Right now, it just displays all of them.