• 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

Scheduled Pinned Locked Moved Troubleshooting
68 Posts 15 Posters 36.6k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @evroom
    last edited by Jun 19, 2018, 12:53 AM

    @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
    • C Offline
      cowboysdude Module Developer @evroom
      last edited by Jun 19, 2018, 1:55 AM

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

      1 Reply Last reply Reply Quote 1
      • E Offline
        evroom
        last edited by Jun 19, 2018, 9:38 AM

        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.30.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.30.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
        • E Offline
          evroom
          last edited by Jun 19, 2018, 7:10 PM

          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.30.0
          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          Test environment:
          MagicMirror version: v2.30.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
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer
            last edited by Jun 19, 2018, 8:42 PM

            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
            • B Offline
              bhepler Module Developer
              last edited by bhepler Jul 15, 2018, 10:45 PM Jul 15, 2018, 10:44 PM

              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
              
              H 1 Reply Last reply Jul 16, 2018, 6:31 PM Reply Quote 0
              • H Offline
                Hein-Jan @bhepler
                last edited by Jul 16, 2018, 6:31 PM

                @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
                • R Offline
                  rickelmund
                  last edited by Nov 4, 2020, 4:28 PM

                  @evroom said in MMM-NOAA:

                  server is located in Paris, France

                  Well. Stumbled on this just now and same thing for me. But I don’t understand as https://www.abstractapi.com/ip-geolocation-api returns Sweden for me… How is that even possible

                  M 1 Reply Last reply Nov 4, 2020, 9:36 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @rickelmund
                    last edited by Nov 4, 2020, 9:36 PM

                    @rickelmund

                    You don’t have to use geolocation at all. I use my latitude and longitude and it fires right up. The module does error in the terminal, but only once. Then it performs as expected with no further errors.

                    Screenshot from 2020-11-04 16-31-33.png

                    Create a working config
                    How to add modules

                    R 1 Reply Last reply Nov 5, 2020, 12:21 PM Reply Quote 0
                    • R Offline
                      rickelmund @Mykle1
                      last edited by Nov 5, 2020, 12:21 PM

                      @Mykle1 Interesting! Thank you. Let me try that out.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 7 / 7
                      • 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