• 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.

Current Weather module not working

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 4 Posters 4.8k 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.
  • A Offline
    amped24
    last edited by Apr 3, 2018, 2:27 AM

    var config = {
    	address: "localhost", // Address to listen on, can be:
    	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
    	                      // - another specific IPv4/6 to listen on a specific interface
    	                      // - "", "0.0.0.0", "::" to listen on any interface
    	                      // Default, when address config is left out, is "localhost"
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
    	                                                       // or add a specific IPv4 of 192.168.1.5 :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
    	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
    
    	language: "en",
    	timeFormat: 12,
    	units: "imperial",
    
    	modules: [
    		{
    			module: "alert",
    		},
    		{
    			module: "updatenotification",
    			position: "top_bar"
    		},
    		{
    			module: "clock",
    			position: "top_left"
    		},
    		{
    			module: "calendar",
    			header: "US Holidays",
    			position: "top_left",
    			config: {
    				calendars: [
    					{
    						symbol: "calendar-check-o ",
    						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
    					}
    				]
    			}
    		},
    		{
    			module: "compliments",
    			position: "lower_third"
    		},
    		
    		{
    			module: "currentweather",
    			position: "top_right",
    			config: {
    				location: "Omaha",
    				locationID: "5074472",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "d2c62a1048cc5a3a2e586597ce29dc45"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				location: "Omaha",
    				locationID: "5074472",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "9ab5aef55af5581932e453668b57dd2b"
    			}
    		},
    {
    				module: 'random_quotes',
    				position: 'bottom_bar',
    				config: {
    						// The config property is optional
    						// Without a config, a random quote is shown,
    						// selected from all of the categories available.
    				}
    			},
    		{
    			module: "newsfeed",
    			position: "bottom_bar",
    			config: {
    				feeds: [
    					{
    						title: "New York Times",
    						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
    					}
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		},
    	
    			{
    	module: 'MMM-Globe',
    	position: 'center',
    	config: {
    		style: 'geoColor',
    		imageSize:400 ,
    		ownImagePath:'',
    		updateInterval: 10*60*1000
    	}
    },
    				{
        			module: 'MMM-ATM',
       			 position: 'top_left',              // Works well anywhere
        			config: {
    				multipleChoice: "Yes",        // No = just the ? then the answer
    				useHeader: true,              // true if you want a header
    				header: "Not another trivia module!",   // Any text you want
    				maxWidth: "250px",             // Stretch or constrain according to region
        			}
    	},
    
    			
    
    			{
    	module: "MMM-cryptocurrency",
    	position: "top_right",
    	config: {
    		currency: ['ethereum', 'bitcoin', 'monero'],
    		conversion: 'USD',
    		showUSD: false,
    		headers: ['change24h', 'change1h', 'change7d'],
    		displayType: 'logoWithChanges',
    		showGraphs: true
    	}
    }
    
    ]
    };
    
    1 Reply Last reply Reply Quote 0
    • M Offline
      mattmurf
      last edited by Apr 5, 2018, 2:47 AM

      @amped24 said in Current Weather module not working:

      http://www.openweathermap.org/

      I had the same problem and seem to have fixed it. Try setting the initialLoadDelay to 1000.

      Here’s the section from the release notes.

      initialLoadDelay The initial delay before loading. If you have multiple modules that use the same API key, you might want to delay one of the requests. (Milliseconds)

      Possible values: 1000 - 5000
      Default value: 0

      1 Reply Last reply Reply Quote 0
      • M Offline
        mattmurf
        last edited by Apr 5, 2018, 2:32 PM

        Disregard my post. The modules stopped working again this morning and I haven’t had time to look at any logs before heading in to work.

        1 Reply Last reply Reply Quote 0
        • Y Offline
          yawns Moderator
          last edited by Apr 5, 2018, 8:48 PM

          I guess it’s the same error as here: https://forum.magicmirror.builders/topic/6878/changing-units-from-metric-to-imperial-breaks-currentweather-module/2

          M 1 Reply Last reply Apr 5, 2018, 9:19 PM Reply Quote 0
          • M Offline
            mattmurf @yawns
            last edited by Apr 5, 2018, 9:19 PM

            @yawns Thanks! That’s helpful and I’ll give it a look tonight.

            The odd bit is that mine started working after I made the change and then stopped.

            1 Reply Last reply Reply Quote 0
            • S Offline
              sefeing
              last edited by Apr 6, 2018, 1:05 PM

              Just started having this same issue when I updated magic mirror. The forecast works fine, but the Current weather does not show. Any updates / have you solved?

              M 1 Reply Last reply Apr 6, 2018, 2:24 PM Reply Quote 0
              • M Offline
                mattmurf @sefeing
                last edited by Apr 6, 2018, 2:24 PM

                @sefeing My Current Weather was working again this morning without making any config changes after restarting the module.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sefeing
                  last edited by sefeing Apr 7, 2018, 2:18 PM Apr 7, 2018, 2:16 PM

                  Odd… mine hasn’t… Is there a way to manually restart the module?

                  Edit: Seems to be related to that metric to imperial thread. If I switch to metric, it loads fine, but imperial breaks It.

                  What was the solution to that?

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    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