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 9.5k 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
      MichaelS
      last edited by paviro

      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?

      1 Reply Last reply Reply Quote 0
      • 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
                          • A Offline
                            Albert2002
                            last edited by

                            There is no location in your config, or did you replaced the location with the *** ?

                            Da ist keine location in deiner config angegeben, es sei denn, du hast die id durch die *** ersetzt.

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

                              @idoodler said in Wetter wird nicht angezigt:

                              pm2 restart MagicMirror && pm2 log MagicMirror

                              Hier bekomme ich nur eine Fehlermeldung: Kommando nicht gefunden

                              pi@Door:~/MagicMirror $ npm start
                              
                              > magicmirror@2.3.1 start /home/pi/MagicMirror
                              > sh run-start.sh
                              
                              Starting MagicMirror: v2.3.1
                              Loading config ...
                              Loading module helpers ...
                              No helper found for module: alert.
                              Initializing new module helper ...
                              Module helper loaded: updatenotification
                              No helper found for module: clock.
                              No helper found for module: compliments.
                              No helper found for module: currentweather.
                              No helper found for module: weatherforecast.
                              Initializing new module helper ...
                              Module helper loaded: newsfeed
                              All module helpers loaded.
                              Starting server on port 8080 ... 
                              Server started ...
                              Connecting socket for: updatenotification
                              Connecting socket for: newsfeed
                              Starting module: newsfeed
                              Sockets connected & modules started ...
                              Launching application.
                              Create new news fetcher for url: https://www.bild.de/rss-feeds/rss-16725492,feed=news.bild.html - Interval: 300000
                              Shutting down server...
                              Stopping module helper: updatenotification
                              Stopping module helper: newsfeed
                              pi@Door:~/MagicMirror $ pm2 restart MagicMirror && pm2 log MagicMirror
                              bash: pm2: Kommando nicht gefunden.
                              pi@Door:~/MagicMirror $ 
                              

                              Ist es normal das die Helper Module nicht gefunden werden?

                              idoodlerI 1 Reply Last reply Reply Quote 0
                              • paviroP Offline
                                paviro
                                last edited by

                                This is an English forum. Please try to stick to English!

                                We're all stories in the end. Just make it a good one, eh?

                                – The Doctor

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

                                  @michaels It looks like you don’t use pm2 to run MagicMirror.

                                  How did you install MagicMirror, did you use the automatic installation?

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1 / 1
                                  • 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