MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

Weather module not getting shown



  • Nach der Grundinstallation fehlt mir die Wetteranzeige und die Wettervorhersage.
    Beide Werte werden im Spiegel nicht angezeigt obwohl diese als Standardmodule mitinstalliert wurden.

    Mir ist nicht ganz klar ob hier was angepasst werden muss ausser den API’s.
    Hat jemand eine Idee?



  • (Ich mach das hier mal auf englisch, damit du deine Chancen erhöhst, dein Problem zu lösen.)

    It’s probably best to share your config with us. Just remember to remove anything you don’t want to share (e.g. API keys, maybe location etc.).



  • hier ist meine config Datei

    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: "de",
    	timeFormat: 24,
    	units: "metric",
    
    	modules: [
    		{
    			module: "alert",
    		},
    		{
    			module: "updatenotification",
    			position: "top_bar"
    		},
    		{
    			module: "clock",
    			position: "top_right"
    		},
    		
    		{
    			module: "compliments",
    			position: "lower_third"
    		},
    		{
    			module: "currentweather",
    			position: "top_left",
    			config: {
    				location: "***",
    				locationID: "****",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "****"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_left",
    			header: "Weather Forecast",
    			config: {
    				location: "***",
    				locationID: "***",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "****"
    			}
    		},
    		{
    			module: "newsfeed",
    			position: "bottom_bar",
    			config: {
    				feeds: [
    					{
    						title: "aktuelle Nachrichten",
    						url: "https://www.bild.de/rss-feeds/rss-16725492,feed=news.bild.html"
    					}
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		},
    	]
    
    };
    


  • I don’t really see anything wrong with your config. All other default modules are displayed? Did you rename the config.js.sample to config.js?


  • Module Developer

    You may take a look at the log. If you use pm2 you can just type pm2 restart MagicMirror && pm2 log MagicMirror, this will restart your MacigMirror and then echo out the log. You then can look for any error or warning messages.



  • Warum umbenennen?
    Das habe ich nicht gemacht



  • @MichaelS The config.js.sample is only a sample file. You have to rename it by removing the sample part in the end. But you most likely did already, otherwise the mirror would ask you to create a config file.

    Are the other modules showing?



  • @MichaelS said in Wetter wird nicht angezigt:

    Warum umbenennen?

    because the Mainprogram looks for a file named config.js without this file it dontn know what to display



  • Uhrzeit, News und Sprüche werden angezeigt.
    Wetter nach wie vor nicht.



  • @MichaelS said in Wetter wird nicht angezigt:

    module: “currentweather”,

    heißt das Modul currentweather? oder MMM-Wounderground?
    unter Modul muss der Name des Moduls stehen der gleich mit dem Name des Ordners ist