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.

    Weather module not getting shown

    Scheduled Pinned Locked Moved Troubleshooting
    15 Posts 6 Posters 8.4k Views 6 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
      MadScientist
      last edited by

      (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.).

      1 Reply Last reply Reply Quote 0
      • M Offline
        MichaelS
        last edited by paviro

        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
        			}
        		},
        	]
        
        };
        
        1 Reply Last reply Reply Quote 0
        • M Offline
          MadScientist
          last edited by

          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?

          M 1 Reply Last reply Reply Quote 0
          • idoodlerI Offline
            idoodler Module Developer
            last edited by

            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.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MichaelS @MadScientist
              last edited by

              Warum umbenennen?
              Das habe ich nicht gemacht

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MadScientist @MichaelS
                last edited by

                @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?

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sek_is_back
                  last edited by

                  @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

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    MichaelS @sek_is_back
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sek_is_back
                      last edited by

                      @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

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MadScientist @sek_is_back
                        last edited by

                        @sek_is_back said in Wetter wird nicht angezigt:

                        @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

                        Das default Modul heisst currentweather. Soweit ist alles richtig.
                        MicharlS: hast du mal gemacht, was idoodler gesagt hat? Logs könnten weiterhelfen.

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