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.
    • J Offline
      JRCelis
      last edited by yawns

      Does not run after updated and modified the config file.

      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
      0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
      0|mm       | TypeError: Cannot read property 'data' of undefined
      0|mm       |     at Object.parseResponse (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:61:43)
      0|mm       |     at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:52:28)
      0|mm       |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
      0|mm       |     at emitTwo (events.js:126:13)
      0|mm       |     at Request.emit (events.js:214:7)
      0|mm       |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
      0|mm       |     at emitOne (events.js:116:13)
      0|mm       |     at Request.emit (events.js:211:7)
      0|mm       |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
      0|mm       |     at Object.onceWrapper (events.js:313:30)
      0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
      0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
      

      My config.js

      {
      			module: 'MMM-NOAA3',
      			position: 'top_right',
         			config: {
             			provider: "darksky", // From list above
             			apiKey: "xxxxxx",        // From one of the providers listed above
             			airKey: "xxxxxx",    
             			css: "NOAA3"                   // THIS MUST CONTAIN A CSS STYLE NAME 
      			userlat: "43.02xxxx", 
                   		userlon: "-81.32xxxx" 
      			}
      
      },
      
      tbbearT cowboysdudeC 2 Replies Last reply Reply Quote 0
      • tbbearT Offline
        tbbear Module Developer @JRCelis
        last edited by

        @jrcelis after your css: … their is no comma

        Robert the Bear

        cowboysdudeC J Mykle1M 3 Replies Last reply Reply Quote 1
        • cowboysdudeC Offline
          cowboysdude Module Developer @tbbear
          last edited by

          @tbbear Nice catch!! Thanks!!

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

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

            // THIS MUST CONTAIN A CSS STYLE NAME

            PS please edit your post and remove your api key… :)

            Mykle1M 1 Reply Last reply Reply Quote 0
            • J Offline
              JRCelis @tbbear
              last edited by

              @tbbear Thanks!!!

              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:

                after your css: … their is no comma

                Robert! How are you doing? Long time, no see!

                Create a working config
                How to add modules

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

                  @cowboysdude

                  There is no comma in the readme examples for the css: "NOAA3", line.

                  Create a working config
                  How to add modules

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

                    @mykle1 did you go a pull request to fix it?

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

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

                      did you go a pull request to fix it?

                      Uhhh, no. Haha. I went to do it but it appears you already corrected it.

                      Create a working config
                      How to add modules

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

                        @mykle1 That’s right LOL

                        1 Reply Last reply Reply Quote 1
                        • D Offline
                          doogy_rev
                          last edited by

                          This is an awesome weather module! Just set mine up and using Darksky as my weather source. I have set my update interval to 30 min, which (unless I am being a div) would mean 24 a updates day and 700 or so a month. Monitoring my DarkSky console I am currently updating 45-50 times a day.

                          {
                                                  module: "MMM-NOAA3",
                                                  position: "top_right",
                                                  config: {
                                                          provider: "darksky",   
                                                          apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxx",        // From one of the providers listed above
                                                          airKey: "xxxxxxxxxxxxxxxxxxx", 
                                                          css: "NOAA3",                 // THIS MUST CONTAIN A CSS STYLE NAME
                                                          updateInterval: 30 * 60 * 1000,
                                                          userlat: "49.238941", //MUST HAVE BOTH
                                                          userlon: "-121.765883"  //MUST HAVE BOTH
                                                  }
                                          },
                          
                          

                          Is the above correct from a configuration perspective? Have I missed something?

                          Thanks in advance!

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

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

                            Have I missed something?

                            Math class, apparently. ;-)

                            Every 30 minutes would be 48 calls a day, and in a 30 day month, 1440 calls

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 2
                            • D Offline
                              doogy_rev
                              last edited by

                              Haha, yes you are right. What an utter putz I am 🙈

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

                                @doogy_rev

                                Don’t be too hard on yourself. We all make mistakes. :thumbsup:

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 2
                                • E Offline
                                  epi
                                  last edited by epi

                                  Did someone managed to change css to make this module look more like this?
                                  0_1538143780588_78a4657f-8b20-4130-959a-fd4ec7666090-image.png
                                  Or like this
                                  0_1538165065297_1506892109941-github.png

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

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

                                    Did someone managed to change css to make this module look more like this?

                                    What you’re describing looks alot like the default weather module. Go figure.

                                    Create a working config
                                    How to add modules

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

                                      Maybe someone did but it certainly wasn’t me… but feel free to play with the css if you’d like.

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

                                        Stay tuned I’ve modified Sean’s MMM-WeatherBackground to work with NOAA3 :) Working out some bugs but should be released soon!

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

                                          A little sample…

                                          0_1538528547918_scr.jpg

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

                                            @cowboysdude

                                            I hate you! :-)

                                            Create a working config
                                            How to add modules

                                            cowboysdudeC 1 Reply Last reply Reply Quote 2

                                            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
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 34
                                            • 35
                                            • 15 / 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