MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-NOAA - Another Weather Module

    Scheduled Pinned Locked Moved System
    690 Posts 77 Posters 2.7m Views 70 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cowboysdudeC Offline
      cowboysdude Module Developer
      last edited by cowboysdude

      @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:

      0_1511321212138_primise.png

      How can I do that and get the pending promise?

      1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by cowboysdude

        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 pull

        Thank you @tbbear for ALL the work on this!!! Excellent addition!

        Mykle1M 1 Reply Last reply Reply Quote 2
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @cowboysdude
          last edited by

          @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!

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 3
          • cowboysdudeC Offline
            cowboysdude Module Developer
            last edited by cowboysdude

            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…

            Mykle1M 1 Reply Last reply Reply Quote 2
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @cowboysdude
              last edited by Mykle1

              @cowboysdude

              Verified

              Just did a new install and it’s working nicely.

              0_1511909688438_1.PNG

              Oooooo, 60° tomorrow! Everybody in the pool!

              Create a working config
              How to add modules

              tbbearT 1 Reply Last reply Reply Quote 2
              • tbbearT Offline
                tbbear Module Developer @Mykle1
                last edited by

                @Mykle1 grrrrrrrrrrrrrrrrrrrrrrrrrr here we can go ice skating or building a snow man …

                Robert the Bear

                Mykle1M 1 Reply Last reply Reply Quote 2
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @tbbear
                  last edited by

                  @tbbear

                  My son on both sides of the pool. The magic of panoramic photos!

                  0_1511910736395_IMG_1140.JPG

                  Create a working config
                  How to add modules

                  tbbearT 1 Reply Last reply Reply Quote 2
                  • P Offline
                    planet4
                    last edited by planet4

                    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.

                    alt text

                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @planet4
                      last edited by

                      @planet4 Not sure what you have there but that looks all wrong…

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        planet4 @cowboysdude
                        last edited by

                        @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
                        	}
                        	},
                        
                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 19
                        • 20
                        • 21
                        • 22
                        • 23
                        • 68
                        • 69
                        • 21 / 69
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy