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.
    • yawnsY Offline
      yawns Moderator @rezocharly
      last edited by

      @rezocharly

      Could you please show where you added the config options? Maybe it’s in the wrong place and therefore ignored?

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

        @rezocharly … if there is no wind than it will not be displayed so no wind 0 will appear

        Robert the Bear

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

          @yawns

          Here you can see my config.js file: ( I’ve try first and last line)

                      {
                              disabled: false,
                              module: 'MMM-NOAA',
                              position: 'bottom_left',
                                  config: {
                                      alert: false,                   
                                      apiKey: "XXXXXX",    // https://www.wunderground.com/weather/api  select the middle plan... 
                                      useAir: true,             // set to false if you do not want to use Air Quality Index
                                      airKey: "XXXXXX",    // IF you want Air Quality Index
                                      pws: "IAMIENS35",         // 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: true,               // to show AM and PM on Sunrise/Sunset time
                                      showGreet: false,         // deafult is false - to show greeting under clock and above date
                                      name: "charly",           // Your name
                                      showWind: true,
                                      showDate: false,
                                      showForecast: true,        //show bottom 3 day forecast
                                      flash: false,               //Today in forecast flashes halo
                                      showUV: true,              //show UV index
                                      showBar: true,             // show Barometer
                                      showHum: true,             //show Humidity level
                                      position: 'bottom_left'    //whatever you have in above position must also be here
          
                      }
                      },
          
          1 Reply Last reply Reply Quote 0
          • R Offline
            rezocharly @tbbear
            last edited by

            @tbbear I live in a windy area. Today Force 5/6.

            As you can see with this screenshot the O doesn’t appear. Even if the config.js is well setup to display this information (as you can see on the post above)

            Capture_d_e_cran_2017_12_14_a_17_46_39

            tbbearT cowboysdudeC 2 Replies Last reply Reply Quote 0
            • tbbearT Offline
              tbbear Module Developer @rezocharly
              last edited by

              @rezocharly ok, so its another problem.
              First the lines “ALERT” and the “Warning Level:” are parts of ur language translation file. So add them their and it will show in the correct language. Here my de.json file from translation dir.

              "***ALERT***":"*** Wetterwarnungen ***",
              "Warning Level: ":"Warnstufe: ",
              

              Second ur wind problem. This module depends on wunderground which is a network of personal wheaterstations. NOT every person who has a PWS has also a wind sensor. Maybe u try to select another
              StationID which has one. (i had the same problem too)

              Third with alerts: false i have this in my config.js just before the line position: … and it works.

              Robert the Bear

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

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

                @tbbear I live in a windy area. Today Force 5/6.

                As you can see with this screenshot the O doesn’t appear. Even if the config.js is well setup to display this information (as you can see on the post above)

                Capture_d_e_cran_2017_12_14_a_17_46_39

                Just add this to your custom css

                .MMM-NOAA .set {
                float: left;
                }

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

                  @tbbear

                  Thanks a lot for this information I got it but unfortunately nobody have a wind sensor around me :)

                  I confirm, just before the line position, alerts are not displayed anymore.

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

                    @rezocharly just disable that in the config like this:

                    showWind: false

                    As for the alerts I’m gonna let @tbbear chime in on this one…he rewrote the alerts :)

                    1 Reply Last reply Reply Quote 1
                    • P Offline
                      Peter
                      last edited by

                      This module works perfect … almost …
                      Is it possible to change CET in alerts to MET ( I use the Dutch translation)?
                      Peter

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

                        @Peter The translation for the alerts depends on google translate, so at the moment we cant change this

                        Robert the Bear

                        P 1 Reply Last reply Reply Quote 1
                        • P Offline
                          Peter @tbbear
                          last edited by

                          @tbbear thanks!
                          Peter

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mac0178
                            last edited by

                            Nice Module, really love it.
                            Unfortunately i have a problem with another module (mmm-traffic) while NOAA is active. The font there should be colored but now it´s background is completely colored. While NOAA is disabled, everything is fine.
                            Any clue?

                            thx,
                            Mac

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

                              @mac0178 Let me take a look perhaps a css tag is similar :) Ahhhhhh yes perhaps this is it…

                              In the NOAA css file there is this:

                              .red{
                              	background:#f00;
                              }
                              .green{
                              	background:#0f0;
                              }
                              .blue{
                              	background:#00f;
                              }
                              

                              and in the MMM-Traffic module there is this:

                              .green {
                                color: #83FFB3;
                              }
                              
                              .yellow {
                                color: yellow;
                              }
                              
                              .red {
                                color: #FF4C4C;
                              }
                              

                              So I’m going to update the css file and you can try it again :)

                              Just go to the MagicMirror/modules/MMM-NOAA dir and type

                              git pull

                              that should update the css file :)

                              1 Reply Last reply Reply Quote 2
                              • M Offline
                                mac0178
                                last edited by

                                Yeah, that´s it!
                                Thank you very much, great support!

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

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

                                  Thank you very much, great support!

                                  Yeah, he’s a guru! :-)

                                  Create a working config
                                  How to add modules

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

                                    @mac0178 glad it worked! :)

                                    1 Reply Last reply Reply Quote 0
                                    • ChrisC Offline
                                      Chris
                                      last edited by

                                      Hello,

                                      I tried to install this module but I can not make it work.

                                      instead of the module on the magic mirror screen, it says: “weather info”

                                      I attach to this post my config file:

                                      		{
                                      			module: 'MMM-NOAA',
                                      			position: 'top_right',
                                      			config: {
                                      				apiKey: "a3cXXXXX",    // https://www.wunderground.com/weather/api  select the middle plan... 
                                      				useAir: true,             // set to false if you do not want to use Air Quality Index
                                      				airKey: "Z4pXXXXXXX",    // IF you want Air Quality Index
                                      				pws: "pws:I93SEVRA3",         // go here to find your pws: https://www.wunderground.com/wundermap
                                      				lat: "48.919XXX",        // need this for sunrise/sunset  if left blank none will show  -- find them here: http://www.latlong.net/
                                      				lon: "2.533XXX",       // need this for sunrise/sunset  if left blank none will showshowClock: true,           // 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: false,          // deafult is false - to show greeting under clock and above date
                                      				name: "",                  // Your name
                                      				showWind: true,
                                      				showDate: false,
                                      				showForecast: true,         //show bottom 3 day forecast
                                      				flash: true,                 //Today in forecast flashes halo
                                      				showUV: true,               //show UV index
                                      				showBar: true,             // show Barometer
                                      				showHum: true,              //show Humidity level
                                      				position: 'top_right',       //whatever you have in above position must also be here
                                      				alert: true                //show weather alerts default is true
                                      		}
                                      		},		
                                      

                                      By contrast, weather underground works properly so I think it does not come from the API key.

                                      Does anyone have an idea? Thank you

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

                                        @Chris start the mirror like this
                                        npm start dev

                                        in that window let me know what if any errors you’re getting :)

                                        1 Reply Last reply Reply Quote 0
                                        • ChrisC Offline
                                          Chris
                                          last edited by

                                          Thank you for your prompt response,
                                          here is what is indicated at startup:

                                          > magicmirror@2.2.1 start /home/pi/MagicMirror
                                          > sh run-start.sh "dev"
                                          
                                          Starting MagicMirror: v2.2.1
                                          Loading config ...
                                          Loading module helpers ...
                                          No helper found for module: alert.
                                          Initializing new module helper ...
                                          Module helper loaded: updatenotification
                                          No helper found for module: calendar_monthly.
                                          Initializing new module helper ...
                                          Module helper loaded: calendar
                                          Initializing new module helper ...
                                          Module helper loaded: MMM-MyCommute
                                          Initializing new module helper ...
                                          Module helper loaded: MMM-SoccerLiveScore
                                          Initializing new module helper ...
                                          Module helper loaded: MMM-soccer
                                          No helper found for module: MMM-Globe.
                                          Initializing new module helper ...
                                          Module helper loaded: MMM-Remote-Control
                                          No helper found for module: clock.
                                          Initializing new module helper ...
                                          Module helper loaded: mmm-suncalc
                                          Initializing new module helper ...
                                          Module helper loaded: MMM-NOAA
                                          No helper found for module: mmm-wu-moonphase.
                                          Initializing new module helper ...
                                          Module helper loaded: MMM-Tools
                                          Initializing new module helper ...
                                          Module helper loaded: newsfeed
                                          No helper found for module: MMM-Snow.
                                          All module helpers loaded.
                                          Starting server on port 8080 ... 
                                          Server started ...
                                          Connecting socket for: updatenotification
                                          Connecting socket for: calendar
                                          Starting node helper for: calendar
                                          Connecting socket for: MMM-MyCommute
                                          ====================== Starting node_helper for module [MMM-MyCommute]
                                          Connecting socket for: MMM-SoccerLiveScore
                                          MMM-SoccerLiveScore helper started...
                                          Connecting socket for: MMM-soccer
                                          Starting module: MMM-soccer
                                          Connecting socket for: MMM-Remote-Control
                                          Starting node helper for: MMM-Remote-Control
                                          Connecting socket for: mmm-suncalc
                                          Starting node_helper for mmm-suncalc: 
                                          Connecting socket for: MMM-NOAA
                                          Starting module: MMM-NOAA
                                          Connecting socket for: MMM-Tools
                                          Connecting socket for: newsfeed
                                          Starting module: newsfeed
                                          Sockets connected & modules started ...
                                          Launching application.
                                          Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/XXXX/basic.ics - Interval: 300000
                                          Get league table for url http://api.football-data.org/v1/competitions/450/leagueTable
                                          Create new news fetcher for url: http://www.leparisien.fr/actualites-a-la-une.rss.xml#xtor=RSS-1481423633 - Interval: 300000
                                          Whoops! There was an uncaught exception...
                                          TypeError: Cannot read property 'observation_location' of undefined
                                              at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:26:49)
                                              at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
                                              at emitTwo (events.js:106:13)
                                              at Request.emit (events.js:191:7)
                                              at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1163:10)
                                              at emitOne (events.js:96:13)
                                              at Request.emit (events.js:188:7)
                                              at IncomingMessage. (/home/pi/MagicMirror/node_modules/request/request.js:1085:12)
                                              at IncomingMessage.g (events.js:286:16)
                                              at emitNone (events.js:91:20)
                                          MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                                          If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                                          
                                          

                                          Thanks for your help

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

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

                                            Cannot read property ‘observation_location’ of undefined

                                            Not seeing your location…

                                            ChrisC 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
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 34
                                            • 35
                                            • 25 / 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