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.9m 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
                        • cowboysdudeC Offline
                          cowboysdude Module Developer @planet4
                          last edited by cowboysdude

                          @planet4 said in MMM-NOAA - Another Weather Module:

                          disabled: false,

                          Delete that line for now…

                          Then go a git pull and npm install and see if that helps…changes have been made to fix certain things :)

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

                            @cowboysdude Thanks but it looks the same unfortunatly.

                            tbbearT 1 Reply Last reply Reply Quote 0
                            • tbbearT Offline
                              tbbear Module Developer
                              last edited by

                              @planet4 Hi, please try to select showWind: true it should fix your problem

                              Robert the Bear

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

                                @Mykle1 oo i see so u are an iphone fan ?

                                Robert the Bear

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

                                  @tbbear said in MMM-NOAA - Another Weather Module:

                                  oo i see so u are an iphone fan ?

                                  I’m an iPhone user but I am not a fan of iPhone prices.

                                  Create a working config
                                  How to add modules

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

                                    @Mykle1 hahah thats true but they are the best, i have a iphone x and its unbelievable

                                    Robert the Bear

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

                                      @tbbear

                                      I’m still using the 6 but I have no intention of getting the newest version any time soon. I have to buy my grandchildren Christmas presents! :-)

                                      Create a working config
                                      How to add modules

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

                                        @planet4 The problems are fixed. Please load the aktual version.

                                        Robert the Bear

                                        1 Reply Last reply Reply Quote 1
                                        • R Offline
                                          rezocharly
                                          last edited by

                                          hi ! Thanks for this great plugin !

                                          1. There is a way to hide the ALERT block ?

                                          2. I use the AirVisual API for the air quality index but it’s look incorrect about when I check the data from my city. There is a way to be more accurate?

                                          Thanks a lot

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

                                            @rezocharly said in MMM-NOAA - Another Weather Module:

                                            hi ! Thanks for this great plugin !

                                            1. There is a way to hide the ALERT block ?

                                            2. I use the AirVisual API for the air quality index but it’s look incorrect about when I check the data from my city. There is a way to be more accurate?

                                            Thanks a lot

                                            Added a config option
                                            add -> alert:false
                                            to your config and it will not show alert.

                                            I don’t know what you mean by ‘look incorrect’ … it uses the lat and lon of your location BUT you can also add lat: your lat and lon: your lon to the config file… see if that improves it :)

                                            R 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 34
                                            • 35
                                            • 24 / 35
                                            • 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