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

    Scheduled Pinned Locked Moved Troubleshooting
    68 Posts 15 Posters 50.2k Views 13 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 @core
      last edited by

      @core What version of NOAA are you running? If you’re using NOAA2 85% of that config isn’t even used …

      Check the readme file on github

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

        Thanks all for your help!

        @idoodler I deleted MMM-Fuel from my config.js. Nothing changed, the other modules mentioned before won‘t work…this seems to be a problem with MMM-NOAA „blocking“ other modules.

        @cowboysdude I run the latest version, even tried a re-installation. I adjusted the config to the current version, i.e only using apiKey and airKey as shwon in the readme.

        Any more ideas…?

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

          Ok i tried another weather module instead of mmm–noaa.
          Everything is on screen and works perfectly.
          So (in my case) mmm–noaa causes the problems.

          Anyway I would like to stick to mmm–noaa for its better visualization and tools.
          I appreciate any help and solutions.

          Thanks!

          idoodlerI Mykle1M 2 Replies Last reply Reply Quote 0
          • idoodlerI Offline
            idoodler Module Developer @core
            last edited by

            @core You can open the MagicMirror Interface in Chrome on your desktop, open the Development Tools („F12“ on Windows) head over to „Console“ and check for anything red.

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

              @core

              I don’t like to speak for someone else but in this case . . .

              @cowboysdude is a personal friend of mine. He is currently in the middle of a massive re-write of NOAA, and that’s after he puts in long days at his day job. I’m sure he’ll investigate this issue when he can. In the meantime, which version of NOAA are you running. I see CBD asked you but you didn’t answer him. :-/

              Create a working config
              How to add modules

              WayneRigleyW 1 Reply Last reply Reply Quote 1
              • WayneRigleyW Offline
                WayneRigley @Mykle1
                last edited by

                @mykle1 im hanging on the side till the new release… thanks for the heads up

                Wayne R

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

                  Hi,

                  @idoodler thanks for your help, I will try it!

                  @Mykle1 I know that CBD is currently working on an update for this module and I understand that this is very time consuming. I think I will wait for the new version :)
                  With regard to CBD question: I wrote him (see my prevoius post) that I am using the latest version of this module (V 2.1.7).

                  @core said in MMM-NOAA:

                  Thanks all for your help!

                  @idoodler I deleted MMM-Fuel from my config.js. Nothing changed, the other modules mentioned before won‘t work…this seems to be a problem with MMM-NOAA „blocking“ other modules.

                  @cowboysdude I run the latest version, even tried a re-installation. I adjusted the config to the current version, i.e only using apiKey and airKey as shwon in the readme.

                  Any more ideas…?

                  Best regards!

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

                    @core said in MMM-NOAA:

                    I wrote him (see my prevoius post) that I am using the latest version of this module (V 2.1.7).

                    Yes, you did. My bad.

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      ganther
                      last edited by

                      Same behavior with my mirror.
                      After latest MMM-NOAA update my MMM-CalendarExt doesn‘t work anymore. No errors in logs.
                      I was forced to deactivate NOAA. :(

                      1 Reply Last reply Reply Quote 0
                      • evroomE Offline
                        evroom
                        last edited by

                        Hi,

                        I installed MMM-NOAA V2.0 just now, but the lines necessary in the config.js struck me as being too little.

                        No ‘position’, etc, just the api’s.
                        I read that it takes:

                        language: “en”,
                        timeFormat: 24,
                        units: “metric”,

                        from the config.js, but then still I am missing info like ‘location’, ‘locationID’, etc.
                        How does it know which city to take ?
                        What weather information is currently displayed ? England due to “en” ? :-)

                        In github I read:

                        “In this new Version you can select up to 3 different weather locations like in this example.”

                        but I fail to see this.

                        Could you please provide me with a correct config.js entry for this otherwise good looking module ??

                        And airvisual.com refuses to give me api (does not send me the confirmation mail), but that not a fault of the module.

                        Best regards,

                        Erik-Jan

                        MagicMirror version: 2.33.0
                        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                        Raspbian GNU/Linux 12 (bookworm)

                        Test environment:
                        MagicMirror version: v2.33.0
                        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                        Raspbian GNU/Linux 12 (bookworm)

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

                          @evroom

                          This is from the readme.

                          {
                              disabled: false,
                              module: 'MMM-NOAA',
                              position: 'top_right',
                              config: {
                          	apiKey: "YOUR API KEY",    // https://www.wunderground.com/weather/api  select the middle plan... 	 
                          	airKey: "YOUR API KEY",    // IF you want Air Quality Index
                          	pws: "KNYELMIR13",         // go here to find your pws: https://www.wunderground.com/wundermap		 
                          }
                          },
                          

                          And this is mine

                          {
                                      disabled: false,
                                      module: 'MMM-NOAA',
                                      position: 'top_left',
                                      config: {
                                          apiKey: "MY API KEY", // https://www.wunderground.com/weather/api  select the middle plan... 
                                          airKey: "MY AIR KEY", // IF you want Air Quality Index
                                          pws1: "KNYNEWYO103", // go here to find your pws: https://www.wunderground.com/wundermap
                                          animationSpeed: 0,
                                  }
                                  },
                          

                          Create a working config
                          How to add modules

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

                            @evroom Yes that used to be true…the readme is wrong, sorry. The old weather used to be wunderground and since they quit their free api I had to use a different provider and it works for one location only.

                            There is no longer a need to use “PWS”…as the new api doesn’t use that. That’s an old wunderground requirement.

                            At the moment this is all that’s required to make it work…

                            {
                                        disabled: false,
                                        module: 'MMM-NOAA',
                                        position: 'top_left',
                                        config: {
                                        	apiKey: "xxxxxx",
                            		airKey: "xxxxx"
                            			}
                                     },
                            

                            I am also working to eliminate the airKey in that version…

                            1 Reply Last reply Reply Quote 1
                            • evroomE Offline
                              evroom
                              last edited by

                              @cowboysdude
                              Thanks for answering (@Mykle1 too).
                              It is working, with just the apiKey in the config, but where does it take the location from?
                              You say it works for one location only, is that a location I can determine, or is it a location that is hard coded somewhere?
                              I like the temperatures it is showing, but is the weather I can expect in my location? :-)

                              MagicMirror version: 2.33.0
                              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                              Raspbian GNU/Linux 12 (bookworm)

                              Test environment:
                              MagicMirror version: v2.33.0
                              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                              Raspbian GNU/Linux 12 (bookworm)

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

                                @evroom

                                Ok, my bad on my previous answer. My apologies. :-/

                                At the risk of answering in error again, I will say that the module determines your location (geo-location or some such)

                                Create a working config
                                How to add modules

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

                                  @evroom It automatically gets the latitude and longitude and uses that :)

                                  1 Reply Last reply Reply Quote 1
                                  • evroomE Offline
                                    evroom
                                    last edited by

                                    Okay, I see it uses http://ip-api.com/json to determine latitude and longitude.
                                    It is depending on the proxy server in use.
                                    I am at work now (in Germany) and I see my proxy server is located in Paris, France right now.
                                    Will try it at home to see for which location the weather is presented on my MM.

                                    MagicMirror version: 2.33.0
                                    Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                    Raspbian GNU/Linux 12 (bookworm)

                                    Test environment:
                                    MagicMirror version: v2.33.0
                                    Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                    Raspbian GNU/Linux 12 (bookworm)

                                    1 Reply Last reply Reply Quote 0
                                    • evroomE Offline
                                      evroom
                                      last edited by

                                      It appears to use the data from the proxy provider.
                                      In my case the latitude and longitude are 67 kilometres away from my real location.
                                      Also the “city” does not correspond with the “lat” and “lon” when I look them up in Google Maps.
                                      Probably the “city” is from my provider and the “lat” and “lon” from the proxy server of that provider.
                                      Therefore I decided to give MMM-YrThen a try, which looks nice.
                                      Sorry to the persons that put so much efford in MMM-NOAA.

                                      MagicMirror version: 2.33.0
                                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                      Raspbian GNU/Linux 12 (bookworm)

                                      Test environment:
                                      MagicMirror version: v2.33.0
                                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                      Raspbian GNU/Linux 12 (bookworm)

                                      1 Reply Last reply Reply Quote 0
                                      • strawberry 3.141S Offline
                                        strawberry 3.141 Project Sponsor Module Developer
                                        last edited by

                                        there should be the possibility to set the lat and lon yourself, maybe someone is also interested in a weather at a different location. Only if no lat lon was provided you should try to get it via this ip api provider

                                        Please create a github issue if you need help, so I can keep track

                                        1 Reply Last reply Reply Quote 0
                                        • bheplerB Offline
                                          bhepler Module Developer
                                          last edited by bhepler

                                          I’ve been trying to get this module to work and for the life of me I can’t get it to show up. I’ve gone as minimalist as I can and it’s still not appearing.

                                          Here’s my config:

                                          {
                                               module: "MMM-NOAA",
                                               position: "top_right",
                                               config: {
                                                    apiKey: "debxxxxxx",
                                                    airKey: "Fpyyyyy"
                                               }
                                          },
                                          

                                          Here’s the error that I see in the web browser:

                                          TypeError: "allDay is undefined"
                                          getDomhttp://10.0.0.10:8080/modules/MMM-NOAA//MMM-NOAA.js:344:2
                                          updateDomhttp://10.0.0.10:8080/js/main.js:110:28
                                          updateDomhttp://10.0.0.10:8080/js/main.js:109:10
                                          createDomObjectshttp://10.0.0.10:8080/js/main.js:53:29
                                          createDomObjectshttp://10.0.0.10:8080/js/main.js:24:3
                                          modulesStartedhttp://10.0.0.10:8080/js/main.js:471:4
                                          startModuleshttp://10.0.0.10:8080/js/loader.js:59:3
                                          loadNextModulehttp://10.0.0.10:8080/js/loader.js:40:6
                                          onloadhttp://10.0.0.10:8080/js/loader.js:203:42
                                          

                                          And I keep seeing this in the pm2 logs:

                                          0|MagicMir | libGL error: MESA-LOADER: failed to retrieve device information
                                          0|MagicMir | MESA-LOADER: failed to retrieve device information
                                          0|MagicMir | MESA-LOADER: failed to retrieve device information
                                          
                                          Hein-JanH 1 Reply Last reply Reply Quote 0
                                          • Hein-JanH Offline
                                            Hein-Jan @bhepler
                                            last edited by

                                            @bhepler

                                            As far as I can tell the

                                            libGL error: MESA-LOADER: failed to retrieve device information
                                            MESA-LOADER: failed to retrieve device information
                                            MESA-LOADER: failed to retrieve device information
                                            
                                            

                                            Is due to the Open GL driver. I am using the Fake KMS and these are mine errors. I am not using NOAA.

                                            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
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • 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