MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Current weather not displaying



  • Hi this is my config.js:
    *I have removed appid
    weather forecast works fine but current weather does not show. I did not change anything in the module (downloaded from https://github.com/MichMich/MagicMirror#configuration), I only changed city name, appid and position.
    Also I noticed in the video (https://www.youtube.com/watch?v=pcmjht0Hqvw&t=680s), at 10.29 there also isn’t a current weather showing.

    Can anyone help please?

    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: 24,
    	units: "Metric",
    
    	modules: [
    		{
    			module: "alert",
    		},
    		{
    			module: "updatenotification",
    			position: "top_bar"
    		},
    		{
    			module: "clock",
    			position: "top_left"
    		},
    		{
    			module: "compliments",
    			position: "lower_third"
    		},
    		{
    			module: "currentweather",
    			position: "top_right",
    			config: {
    				location: "Manchester, GB",
    				locationID: "2643123",  //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
    				appid: "REMOVED"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_left",
    			header: "Weather Forecast",
    			config: {
    				location: "Manchester",
    				locationID: "2643123",  //ID from https://openweathermap.org/city
    				appid: "REMOVED"
    			}
    		},
    		{
    			module: "newsfeed",
    			position: "bottom_bar",
    			config: {
    				feeds: [
    					{
    						title: "BBC",
    						url: "http://feeds.bbci.co.uk/news/rss.xml"
    					}
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		},
    	]
    
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    


  • @henryluyu Try removing , GB from the location line of Current Weather module.


Log in to reply