Read the statement by Michael Teeuw here.
MMM-AQI
-
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!!
-
-
my local station shows pm10 and mainly weather info,i have P,W,WG,T,H etc,is there any way to change them to display the full title-pressure,wind,wind gusts,temperature,humidity etc? or is that info delivered via the api?
-
or is that info delivered via the api?
Yes, the way it’s written
Object.keys(iaqi).forEach(function (key) { iaqiRow = document.createElement("tr"); iaqiCityCell = document.createElement("td"); iaqiCityCell.className = "xsmall iaqi key " + aqiClass; iaqiCityCell.innerHTML = key.toUpperCase(); iaqiRow.appendChild(iaqiCityCell); iaqiAQICell = document.createElement("td"); iaqiAQICell.className = "xsmall iaqi value " + aqiClass; iaqiAQICell.innerHTML = iaqi[key].v; iaqiRow.appendChild(iaqiAQICell); dataTable.appendChild(iaqiRow); });Returns the key:value pair (value not shown)
MMM-AQI received a system notification: DOM_OBJECTS_CREATED MMM-AQI.js:146 co MMM-AQI.js:146 no2 MMM-AQI.js:146 o3 MMM-AQI.js:146 p MMM-AQI.js:146 pm10 MMM-AQI.js:146 so2 MMM-AQI.js:146 t -
Hi there. I was attempting to install your MMM-AQI, but received an error from this link.
https://api.waqi.info/search/?token=TOKEN&keyword=croydon
{“status”:“error”,“data”:“Invalid key”}Is this module still active?
I’m seeing the “request” dependency is deprecated… -
I’m seeing the “request” dependency is deprecated…
yes, since MM version 2.16 (7 releases ago, almost 2 years) when we removed it from MM…
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later/1
-
@Nneuland are you adding your own token? Request is deprecated yeah, but still works… some day I’ll update it to something else, but for now…
-
@ryck
thank you so much. -
oops. thanks Sam
-
@Nneuland you don’t need to worry about dependencies, just clone the module in the modules folder, do npm install and then add the config, with the proper token
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