Read the statement by Michael Teeuw here.
MMM-NOAA - Another Weather Module
-
@Snille SO a question for you …do you know how to work with a Promise?
We are trying to translate the alerts in natives languages and we are getting back a promise but do not know how to process that.
Any help would be great!!
Thank you!
This is what we have:
var foo = translate(alerts.description, {from: 'en', to: this.config.lang}).then(function(resexp) { return resexp });
this is the return:
How can I do that and get the pending promise?
-
With a HUGE THanks @tbbear who did ALL the work on the alerts!!
Now the alerts come back in your native language!!
Get your fresh update here:
https://github.com/cowboysdude/MMM-NOAA
by going to your
MagicMirror/modules/MMM-NOAA
git pullThank you @tbbear for ALL the work on this!!! Excellent addition!
-
@cowboysdude said in MMM-NOAA - Another Weather Module:
Thank you @tbbear for ALL the work on this!!! Excellent addition!
Then I guess everyone should thank him, including me. Thanks Robert! How nice of you to contribute. You rock!
-
OHhhhhhhh if you’re having problems…it’s simply because I didn’t upload the NEW package.json file… I do apologize it’s on github now…
Please download and copy all the files from the NEW download over the old ones and run npm install…
Sorry again for the confusion!!! Robert made the new one but for some reason I didn’t upload it…
-
Verified
Just did a new install and it’s working nicely.
Oooooo, 60° tomorrow! Everybody in the pool!
-
@Mykle1 grrrrrrrrrrrrrrrrrrrrrrrrrr here we can go ice skating or building a snow man …
-
My son on both sides of the pool. The magic of panoramic photos!
-
I have some questions regarding this module. In the screenshots I do not se the grey boxes like in the image below. 0 G. I have tried to set everything as false but still.
Also the font size is smaller on this module compared to all other modules on my MM2. I suppose I can change this in the CSS but it seems to be worong.
-
@planet4 Not sure what you have there but that looks all wrong…
-
@cowboysdude
Thanks for the reply. Just like this.{ module: 'MMM-NOAA', disabled: false, position: 'top_right', config: { apiKey: "xxxxxxxxxx", // https://www.wunderground.com/weather/api select the middle plan... useAir: false, // set to false if you do not want to use Air Quality Index airKey: "xxxxxxxxxxxxxxxx", // IF you want Air Quality Index pws: "IMLNLYCK10", // go here to find your pws: https://www.wunderground.com/wundermap showClock: false, // Hides or shows clock dformat: false, // for M/D/YYYY format, false for D/M/YYYY format: "24", // 12 or 24 hour format.. will default to 12 hour if none selected. ampm: false, // to show AM and PM on Sunrise/Sunset time showGreet: true, // deafult is false - to show greeting under clock and above date name: "Persson", // Your name showWind: false, showDate: false, showForecast: true, //show bottom 3 day forecast flash: false, //Today in forecast flashes halo showUV: false, //show UV index showBar: false, // show Barometer showHum: false, //show Humidity level position: 'top_right' //whatever you have in above position must also be here } },