ryck / MMM-AQI

MagicMirror module to get the Air Quality Index (AQI)
MIT License
12 stars 5 forks source link

"city" field does not accept a site id (@) #12

Open Sifor opened 3 months ago

Sifor commented 3 months ago

we have a preferred site and have identified the id as the aqicn.org/station/@XXXXXX but inputting the numerics, or as a string, with or without ampersand, returns a hung "Loading Air Quality Index (AQI)"

we've even tried slipping in the aqicn.org json field into the MMM field, but no avail.

Sifor commented 3 months ago

eventually "no data returned" state occurs

torros commented 2 months ago

I had the same issue. maybe your station of choice is in some other sensor community network. try replacing the "@" by "A" and check again. This helped in my case.

check with url: "api.waqi.info/feed/provide station Id/?token=provide your token" for advice

see also here: https://github.com/CFenner/MMM-AirQuality hth.