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 @Johans
      last edited by

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

      @cowboysdude

      As always, great job!
      Didn’t noticed and I don’t know if it has to do with the upgrade or not.
      saw this message in the terminal window, but all seems to work fine for me.
      Just wanted to let you know.

      Whoops! There was an uncaught exception...
      TypeError: Cannot read property 'pollution' of undefined
          at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:179:35)
          at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:171:28)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at emitTwo (events.js:126:13)
          at Request.emit (events.js:214:7)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at emitOne (events.js:116:13)
          at Request.emit (events.js:211:7)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:313:30)
      
      

      Thank you sir!! Yes that happens at times with the air quality part…it usually fixes itself :)

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        Johans @cowboysdude
        last edited by

        @cowboysdude

        OK, than I don’t need to worry.

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

          Hey guys, I got this up and running tonight, Great work on this!
          I’m only having one problem, the 4 day forecast doesn’t seem to load every time I start mm. It seems to only show the forecast once every four or so times i restart mm without any config changes, just a simple pm2 restart mm. Anyone else seen this?

          cowboysdudeC 1 Reply Last reply Reply Quote 0
          • H Offline
            Hubschra01
            last edited by

            Hi
            I do the Gitpull to Update this modul but in the CLI indows i got this…

            Whoops! There was an uncaught exception...
            TypeError: Cannot read property 'length' of undefined
                at Object.parseForecast (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:179:42)
                at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:51:17)
                at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                at emitTwo (events.js:126:13)
                at Request.emit (events.js:214:7)
                at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
                at emitOne (events.js:116:13)
                at Request.emit (events.js:211:7)
                at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
                at Object.onceWrapper (events.js:313:30)
            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
            { coord: { lon: 10.36, lat: 53.42 },
              weather: 
               [ { id: 701, main: 'Mist', description: 'Trüb', icon: '50n' },
                 { id: 300,
                   main: 'Drizzle',
                   description: 'Leichtes Nieseln',
                   icon: '09n' } ],
              base: 'stations',
              main: { temp: 9, pressure: 1017, humidity: 87, temp_min: 9, temp_max: 9 },
              visibility: 7000,
              wind: { speed: 3.6, deg: 110 },
              clouds: { all: 75 },
              dt: 1541352000,
              sys: 
               { type: 1,
                 id: 4883,
                 message: 0.004,
                 country: 'DE',
                 sunrise: 1541312654,
                 sunset: 1541345954 },
              id: 3209070,
              name: 'Marschacht',
              cod: 200 }
            Whoops! There was an uncaught exception...
            TypeError: Cannot read property 'pollution' of undefined
                at Object.parseAIR (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:264:35)
                at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:111:27)
                at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                at emitTwo (events.js:126:13)
                at Request.emit (events.js:214:7)
                at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
                at emitOne (events.js:116:13)
                at Request.emit (events.js:211:7)
                at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
                at Object.onceWrapper (events.js:313:30)
            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
            Shutting down server...
            
            

            I do not find the icon: '50n' and icon: '09n' in the images folder !?!

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

              @rob2791 it is a glitch that happens with certain providers…not sure why.

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

                @hubschra01 And you won’t find those icons…it runs off an icon array in the main js file.

                From time to time depending on which service is being requested it can return an undefined. There are so many things at play in this module. Just reload it and it should work. :)

                1 Reply Last reply Reply Quote 0
                • eniacE Offline
                  eniac
                  last edited by

                  Great Module that makes me change from Wonderground to NOAA3, but I have found an issue that my wife don’t like :-)
                  Since i activated NOAA3 the align from calender und Wounderlist is centered. if i deactivate the Module the caldender entries are aligned left as they schould do.

                  Any ideas ?

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

                    @eniac Could possibly be this line in the css file:

                    .MMM-NOAA3 .table th, tr, td{ text-align:center; table-layout:fixed; }

                    I would say take that out of the NOAA3 css and retry.

                    I don’t use either module but just for the fun of it I put the calendar module up and here’s a picture of the result:

                    0_1542075925203_Webp.net-compress-image.jpg

                    B eniacE 2 Replies Last reply Reply Quote 0
                    • richland007R Offline
                      richland007
                      last edited by

                      @cowboysdude Ok so right now i have MMM-NOAA.
                      My question is: Do i have to delete that and than git clone MMM-NOAA3 so i can use MMM-WeatherBackground???.. or can i upgrade the MMM-NOAA some how to get to 3 than change the config.js accordingly for NOAA3 to work with the other providers other than WeatherUnderground that NOAA currently uses??

                      This brings me to the other question; Which of the API providers i should use that allows for most ease of access and most free calls and obviously expected quality of information?? what do you advise or your experiences are??

                      Thank you
                      Denis

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        redink
                        last edited by

                        I am really liking the new module, thanks! But, I have some images that aren’t loading. Specifically, nt_overcast and overcast don’t appear to exist in the image directory.

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

                          @redink

                          What you could do is this:

                          Make a copy of nt_mostlycloudy.png and rename that to nt_overcast.png. Make a copy of mostlycloudy.png and rename that to overcast.png. Problem solved for you. Then send a PR to NOAA3 repo, adding the new files. Problem solved for the author and future users. You get a star on your homework.

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bhaules @cowboysdude
                            last edited by bhaules

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

                            @eniac Could possibly be this line in the css file:

                            .MMM-NOAA3 .table th, tr, td{ text-align:center; table-layout:fixed; }

                            I would say take that out of the NOAA3 css and retry.

                            I don’t use either module but just for the fun of it I put the calendar module up and here’s a picture of the result:

                            0_1542075925203_Webp.net-compress-image.jpg

                            I am having the same issue as @eniac. Tried commenting out that line in the .css file but the issue is still there. Any other ideas? It doesn’t even make sense to me how a setting in one module can influence the behavior of another

                            Edit: I am so dumb. I realised after posting this message that I was editing the wrong .css file :(.
                            Thanks for your help

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              Serg
                              last edited by

                              Great module. But I think it shows the weather in the wrong place where I live. And another question: is there a translation into Russian in this module?

                              Mykle1M 1 Reply Last reply Reply Quote 0
                              • eniacE Offline
                                eniac @cowboysdude
                                last edited by

                                @cowboysdude
                                Works for me. (sorry for my late reply)

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

                                  @serg

                                  You can help by doing the translation. Edit the right side of this file with the Russian translation.

                                  Have you entered your latitude and longitude into the config.js entry?

                                  {
                                  "Rise":"Rise",
                                  "Set":"Set", 
                                  "4 Day Forecast":"4 Day Forecast",
                                  "Monday": "Monday",
                                  "Tuesday": "Tuesday",
                                  "Wednesday": "Wednesday",
                                  "Thursday": "Thursday",
                                  "Friday": "Friday",
                                  "Saturday": "Saturday",
                                  "Sunday": "Sunday",
                                  "Hours of Light":"Daylight",
                                  "Last Updated": "Last Updated",
                                  "Today":"Today",
                                  "Night":"Night",
                                  "Mon":"Mon",
                                  "Tue":"Tue",
                                  "Wed":"Wed",
                                  "Thu":"Thu",
                                  "Fri":"Fri",
                                  "Sat":"Sat",
                                  "Sun":"Sun",
                                  "No Wind": "No Wind",
                                  "Humidity": "Humidity",
                                  "Visibility":"Visibility",
                                  "Pressure":"Pressure",
                                  "Excellent":"Excellent",
                                  "Good":"Good",
                                  "Lightly Polluted":"Lightly Polluted",
                                  "Moderately Polluted":"Moderately Polluted",
                                  "Heavily Polluted":"Heavily Polluted",
                                  "Forecast":"Forecast"
                                  }
                                  

                                  Create a working config
                                  How to add modules

                                  S A 2 Replies Last reply Reply Quote 0
                                  • eniacE Offline
                                    eniac
                                    last edited by eniac

                                    Hey Guys
                                    Having some Trouble Updateing the Weather Data. Don’t know the timeframe, but every morning the Module stuck with data from the last day.
                                    0_1546675606968_IMG_1151.jpg
                                    But not all Data is stuck. At the forecast you can see that the Days are changing. Moves the last day bevor the actual day. (Fr = yesterday , heute = today)
                                    “Heiter” and the sunny Icon was also yesterday. Today it is raining. After a pm2 restart the values are Ok for a wile, but in a few hours the module is stuck again.

                                    That is my code :

                                    {
                                    			module: "MMM-NOAA3",
                                    			position: "top_left",
                                       				config: {
                                           					provider: "darksky",
                                    						apiKey: "xxxxxxxxxxxxxxxx",
                                    						//useAir: "False",
                                    						airKey: "xxxxxxxxxxxxxxxx",
                                           					css: "NOAA3",
                                           					updateInterval: 30 * 60 * 1000,
                                    						userlat: "50.xxxxx",
                                           					userlon: "7.xxxx"
                                    				     	}
                                        		},
                                    

                                    Any ideas ?

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      Serg @Mykle1
                                      last edited by

                                      @mykle1
                                      I apologize for the late reply. New Year’s holiday and so on. .

                                      {
                                      “Rise”:“Восход”,
                                      “Set”:“Закат”,
                                      “4 Day Forecast”:“Прогноз на 4 дня”,
                                      “Monday”: “Понедельник”,
                                      “Tuesday”: “Вторник”,
                                      “Wednesday”: “Среда”,
                                      “Thursday”: “Четверг”,
                                      “Friday”: “Пятница”,
                                      “Saturday”: “Суббота”,
                                      “Sunday”: “Воскресенье”,
                                      “Hours of Light”:“Длительность дня”,
                                      “Last Updated”: “Последнее обновление”,
                                      “Today”:“Сегодня”,
                                      “Night”:“Ночь”,
                                      “Mon”:“Пн”,
                                      “Tue”:“Вт”,
                                      “Wed”:“Ср”,
                                      “Thu”:“Чт”,
                                      “Fri”:“Пт”,
                                      “Sat”:“Сб”,
                                      “Sun”:“Вс”,
                                      “No Wind”: “Штиль”,
                                      “Humidity”: “Влажность”,
                                      “Visibility”:“Видимость”,
                                      “Pressure”:“Давление”,
                                      “Excellent”:“Отлично”,
                                      “Good”:“Хорошо”,
                                      “Lightly Polluted”:“Легкие загрязнения”,
                                      “Moderately Polluted”:“Умеренные загрязнения”,
                                      “Heavily Polluted”:“Сильные загрязнения”,
                                      “Forecast”:“Прогноз”
                                      }

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        costascontis
                                        last edited by costascontis

                                        hello,trying to make MMM-NOAA3 work but no luck.I use openweathermap provider ,my api is ok,but module dont show weather icons,night/day icons and no 4 day forecast at all.

                                        edit: managed to make it work by using another provider,darksky.All are ok except the night icon…

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

                                          @costascontis Well that just won’t do :) I haven’t checked the providers in a while possible openweathermap may have changed some things I will check it out :)

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

                                            @costascontis You are right…I had the image for the correct moon just didn’t put in the array to display :) Thank you for catching that!! As for using open weather I just ran it and it seems to be working for me… here’s a picture. BUT I do use darksky as my provider also :)

                                            0_1547262520942_ow.png

                                            Yes that F weather and YES it’s cold here LOL

                                            Mykle1M 1 Reply Last reply Reply Quote 1

                                            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
                                            • 27
                                            • 28
                                            • 29
                                            • 30
                                            • 31
                                            • 34
                                            • 35
                                            • 29 / 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