Read the statement by Michael Teeuw here.
MMM-AQI
-
Thx, very good, but why the ‘header’ is not visible ?
-
-
```{ module: 'MMM-AQI', position: 'top_left', header: 'Polution', config: { token: "99860xxxxxxx", city: "@8xxx", iaqi: false, updateInterval: 30 * 60 * 1000, // Every half hour. initialLoadDelay: 0, animationSpeed: 1000, debug: false } }, -
Hmm, odd. Your config looks good. Header SHOULD be showing. I just installed and ran it and my header appears as expected. Not sure why yours isn’t. My config:
{ module: 'MMM-AQI', position: 'top center', header: 'This header is working', config: { token: "exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx3", city: "here", iaqi: true, updateInterval: 30 * 60 * 1000, // Every half hour. initialLoadDelay: 0, animationSpeed: 1000, debug: false } },
Try using my config with your apiToken as a test.
-
The same, it’s stange, on others module, header are ok on screen…
-
did something else push the header off the screen…
can u try with just the AQI module
-
Have you made any changes to the MMM-AQI.css file or additions to your custom.css file referencing the module?
-
nothing in MMM-AQI.CSS
and on custom.css
.aqi.good { color: #009966; font-size: 35px; } .aqi.moderate { color: #ffde33; font-size: 35px; } .aqi.unhealthy-sensitive { color: #ff9933; font-size: 35px; } .aqi.unhealthy { color: #cc0033; font-size: 35px; } .aqi.very-unhealthy { color: #660099; font-size: 35px; } .aqi.hazardous { color: #7e0023; font-size: 35px; }But without, it’s the same.
-
-
Good, after Update header’s OK on screen, thx
-
Hello,
I need your help, because I can not find the “token” for Berlin?
-
same problem. The page can not be found for data-platform token
-
can anyone tell me what city id i should be using for this location-http://aqicn.org/city/new-zealand/otago/arrowtown/- if i search for arrowtown it returns no results and i can’t find a city id on the page
-
-
:) thanks
-
Is it possible to use “here” for a city, but to display a custom name ?
-
@engelhertz said in MMM-AQI:
Is it possible to use “here” for a city, but to display a custom name
No, only cities specified on the website.
Here’s an example “http://aqicn.org/city/germany/hamburg/flughafen/” from Hamburg. -
yeah, i get that. I want to change only the display name, because its too long and looks ugly like that.

-
You send me your Config for this Modul. I’ll watch it tomorrow. OKAY?
Good Night -
@engelhertz said in MMM-AQI:
I want to change only the display name, because its too long and looks ugly like that.
Like this?

In your custom.css file you would need to add these:
.MMM-AQI .city { visibility: hidden; } .MMM-AQI .city:after { content: "engelhertz "; visibility: visible; /* display: block; */ /* position: absolute; */ } .MMM-AQI header { max-width: 100px; float: right; /* border-bottom: none; */ }Adjust these to your liking. :-)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login