• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.4m 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.
  • S Offline
    Smotx
    last edited by Sep 4, 2018, 6:16 PM

    Cool, so i think now it’s my town^^.

    1 Reply Last reply Reply Quote 1
    • M Offline
      Mykle1 Project Sponsor Module Developer @cowboysdude
      last edited by Sep 5, 2018, 12:02 AM

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

      If you’re using DarkSky as your api good news… That one is done

      YES! Nice work, you ole sum beach. :-)

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 1
      • C Offline
        cowboysdude Module Developer
        last edited by cowboysdude Sep 6, 2018, 2:39 AM Sep 6, 2018, 2:05 AM

        Description:

        NEW you must now provide your latitude and longitude… [after fighting with geolocation services it’s just not accurate enough]. SEE the readme on Github!
        NOW works with all providers!

        To update to a ‘git pull’ in the MagicMirror/modules/MMM-NOAA3 directory

        example config:

                   module: 'MMM-NOAA3', 
                   position: 'top_left', 
                   config: { 
                     provider: "must be in quotes",  
                     apiKey: "YOUR API KEY",  
                     airKey: "YOUR API KEY",    
                     css: "NOAA3"   
                     userlat: "xxxx", 
                     userlon: "xxxx"  
                   } 
                   },  
        

        Current weather
        current condition
        current temp
        UV Index [using the UV Index color codes]
        Humidity [if above certain % changes number color]
        Wind and direction
        Barometer [Shows number plus if rising, falling or steady]

        Sunrise/Sunset times

        Forecast
        Rotates through 10 day forecast [including today]
        Expected condition
        with high/low temps
        expected humidity

        Please follow Readme on Github!

        Screenshots:

        NONE – See Github

        Version 3.1.1

        Download:

        [card:cowboysdude/MMM-NOAA]

        1 Reply Last reply Reply Quote 0
        • J Offline
          JRCelis
          last edited by yawns Sep 7, 2018, 11:03 AM Sep 6, 2018, 5:14 PM

          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" 
          			}
          
          },
          
          T C 2 Replies Last reply Sep 6, 2018, 8:50 PM Reply Quote 0
          • T Offline
            tbbear Module Developer @JRCelis
            last edited by Sep 6, 2018, 8:50 PM

            @jrcelis after your css: … their is no comma

            Robert the Bear

            C J M 3 Replies Last reply Sep 6, 2018, 9:13 PM Reply Quote 1
            • C Offline
              cowboysdude Module Developer @tbbear
              last edited by Sep 6, 2018, 9:13 PM

              @tbbear Nice catch!! Thanks!!

              1 Reply Last reply Reply Quote 0
              • C Offline
                cowboysdude Module Developer @JRCelis
                last edited by cowboysdude Sep 6, 2018, 9:13 PM Sep 6, 2018, 9:13 PM

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

                M 1 Reply Last reply Sep 7, 2018, 1:06 AM Reply Quote 0
                • J Offline
                  JRCelis @tbbear
                  last edited by Sep 6, 2018, 11:16 PM

                  @tbbear Thanks!!!

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @tbbear
                    last edited by Sep 7, 2018, 12:03 AM

                    @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
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @cowboysdude
                      last edited by Mykle1 Sep 8, 2018, 12:30 AM Sep 7, 2018, 1:06 AM

                      @cowboysdude

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

                      Create a working config
                      How to add modules

                      C 1 Reply Last reply Sep 7, 2018, 12:20 PM Reply Quote 0
                      • 1
                      • 2
                      • 49
                      • 50
                      • 51
                      • 52
                      • 53
                      • 68
                      • 69
                      • 51 / 69
                      51 / 69
                      • First post
                        503/690
                        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