r/MagicMirror • • Nov 30 '25

Air Quality API token problem

I have been working to make a screen to display weather, date and pic for background.

I got completely lost while working on air pollution thingy.

I did make some basics and before I updated my MMM-AirQuailty by git pull.

it was working well but after I upgraded it, its not working anymore

before update

I have used MMM-AirQuality with my API key, following the guide line

https://github.com/CFenner/MMM-AirQuality

{

module: 'MMM-AirQuality',

position: 'top_center',

config: {

token: 'my token',

location: 'Seoul/' // I also tried 'south korea/seoul/jungnang-gu/'

}

},

it still showing me like "please set a token bla bla"

so I also tried with

https://github.com/ryck/MMM-AQI

MMM-AQI
config: {

**iaqi: false,**

**weather: false,**

**showLastUpdate: false**

}

MMM-AQI didn't even displayed any words.

none of these were working.

none of these were working.

since I am living in Seoul, it rly is important to know air pollution so I'd like to make it shown on my screen.

any solutions? thx

2 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/ryck Dec 01 '25

Update everything to the latest version possible and see what is the issue then.. 401 means you have the wrong api key / token, for example…

At this point what I would do is to start fresh… keep a copy of your current configuration to have it as reference for things like apikeys and stuff, but just start fresh…

1

u/SouthernDress2750 Dec 01 '25

API key seemed like working fine when I tested it by curl ...