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.

    NOAA v3 using too many requests?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    28 Posts 4 Posters 11.4k Views 4 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
      motdog @Mykle1
      last edited by

      @Mykle1 I haven’t modified the js file. I did get a new key. One thing I changed at darksky was to limit the number of requests. The default had me at 1000. I lowered it to 750 so I shouldn’t hit the maximum. I’ll give it a few days to monitor. The number of requests stays low most of the time but occasionally spikes up

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

        @motdog said in NOAA v3 using too many requests?:

        The number of requests stays low most of the time but occasionally spikes up

        Well, something is causing the module to fetch the data. I do not believe it’s the module itself based on your answers

        Create a working config
        How to add modules

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          motdog @Mykle1
          last edited by

          @Mykle1 what should I look for? I had 475 requests today.

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

            @motdog

            Are you absolutely sure that this is your setting in the config entry?

            updateInterval: 30 * 60 * 1000,

            Create a working config
            How to add modules

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

              @motdog

              Post your NOAA config entry in a code block please. It should look like this.

              {
                        disabled: false,
                        module: 'MMM-NOAA3',
                        position: 'top_right',
                        config: {
                            provider: "darksky",
                            apiKey: "YOUR API KEY",
                            airKey: "YOUR AIR KEY", // IF you want Air Quality Index
                            css: "NOAA4",
                            userlat: "40.123456",
                            userlon: "-74.123456",
                            updateInterval: 30 * 60 * 1000,  // VERY IMPORTANT!
                        }
                    },

              Create a working config
              How to add modules

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                motdog @Mykle1
                last edited by

                @Mykle1 from the NOAA3.js

                Module.register("MMM-NOAA3", {
                    defaults: {
                        animationSpeed: 0,
                        initialLoadDelay: 8000,
                        rotateInterval: 60 * 1000, 
                	updateInterval: 30 * 60 * 1000,
                        apiKey: "",
                        airKey: "",
                        pws: "",
                        css: "",
                        frow: true,
                		nupdate: false,
                		userlat: "",
                		userlon: "",
                
                
                1 Reply Last reply Reply Quote 0
                • M Offline
                  motdog @Mykle1
                  last edited by

                  @Mykle1 from my main config

                  		{
                  	        module: 'MMM-NOAA3',
                  		position: 'bottom_left',
                  	        config: {
                  			    provider: "darksky", 
                  			    apiKey: "xxxx",   
                  			    airKey: "xxxx",    
                  		        css: "NOAA4",                    
                  			userlat: "38.751389",  
                  		        userlon: "-90.565948" 
                  	 }
                  
                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    motdog @dazza120
                    last edited by

                    @dazza120 interesting, Im now up to 600 requests and it locked up.

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

                      @motdog

                      Yikes! I’m out of ideas other than to see if this behavior exists when NOAA3 is the only module running. I’m not suggesting that you re-install MM but that is what I would do. Good luck.

                      Create a working config
                      How to add modules

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        motdog @Mykle1
                        last edited by

                        @Mykle1 yeah its crazy. I don’t lock up often and I don’t know if it is a correlation. I may just try a different weather module to see if thats the solution

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