Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Modules doesn't show

    Troubleshooting
    2
    4
    1522
    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.
    • G
      gshimself last edited by

      Hi! I have problems that Currentweather and Weatherforecast has gone away.
      Via MM-Remote I can see that they are offline due to “This module was hidden by module_5_currentweather, it can not be shown.” and “This module was hidden by module_6_weatherforecast, it can not be shown.” and I can’t get it to show again.

      Any ideas what I could do? It has worked before.

      bhepler 1 Reply Last reply Reply Quote 0
      • bhepler
        bhepler Project Sponsor @gshimself last edited by

        @gshimself Can you post your config.js for us? Remember to use the markdown text and hide any API keys in your file.

        G 1 Reply Last reply Reply Quote 0
        • G
          gshimself @bhepler last edited by gshimself

          @bhepler Ofc, here you go!

           *
           * By Michael Teeuw http://michaelteeuw.nl
           * MIT Licensed.
           */
          
          var config = {
                  port: 8080,
                  address: "0.0.0.0",
                  ipWhitelist: [  "192.168.1.1/24",
                                  "::fff:192.168.1.1/112",
                                  "127.0.0.1",
                                  "::ffff:127.0.0.1",
                                  "::1",
                                  "0.0.0.0",
                                  "192.168.1.22"
                               ], // Set [] to allow all IP addresses.
          
                  language: "sv",
                  timeFormat: 24,
                  units: "metric",
          
                  modules: [
                          {
                                  module: "alert",
                          },
                          {
                                  module: "updatenotification",
                                  position: "top_bar"
                          },
                          {
                                  module: "clock",
                                  position: "top_left"
                          },
                          {
                                  module: "calendar",
                                  header: "Min Kalender",
                                  position: "top_left",
                                  config: {
                                          colored: "true",
                                          calendars: [
                                                  {
                                                          symbol: "calendar-check-o ",
                                                          url: "A-SUPER-SECRET-URL"
                                                  }
                                          ]
                                  }
                          },
                          {
                                  module: "compliments",
                                  position: "lower_third"
                          },
                          {
                                  module: "currentweather",
                                  position: "top_right",
                                  config: {
                                          location: ****",
                                          locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
                                          appid: "A-SUPER-SECRET-API"
                                  }
                          },
                          {
                                  module: "weatherforecast",
                                  position: "top_right",
                                  header: "Weather Forecast",
                                  config: {
                                          colored: "true",
                                          location: "****",
                                          locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
                                          appid: "A-SUPER-SECRET-API"
                                  }
                          },
                          {
                                  module: "newsfeed",
                                  position: "bottom_bar",
                                  config: {
                                          feeds: [
                                                  {
                                                          title: "VK",
                                                          url: "http://www.vk.se/feed"
                                                  },
                                                  {
                                                          title: "Expressen",
                                                          url: "http://expressen.se/rss/nyheter"
                                                          //encoding: "ISO-8859-1",
                                                  },
                                                  {
                                                          title: "Krisinformation.se",
                                                          url: "https://www.krisinformation.se/nyheter/nyheter-som-rss",
                                                          encoding: "ISO-8859-1",
                                                  }
          
          
                                          ],
                                          showSourceTitle: true,
                                          showPublishDate: true
                                  }
                          },
          
          // EGNA MODULER NEDAN
          
          // Remote-Control
          {
              module: 'MMM-Remote-Control'
              // uncomment the following line to show the URL of the remote control on the mirror
              // , position: 'bottom_left'
              // you can hide this module afterwards from the remote control itself
          },
          
          // mmm-weatherchart
          
          {
                  module: 'mmm-weatherchart',
                  position: 'bottom_center', // this can be any of the regions
                  config: {
                          country: 'Sverige', // as determined above
                          area: 'Västerbotten', // as determined above
                          city: '****', // as determined above
                          updateInterval: 60 * 60 * 1000, // update every hour
                          hideBorder: true, // whether or not a border with city name should be shown
                          }
          },
          
          
          // ???
          
          
          // SKRIV INGET NEDANFÖR
                  ]
          
          };
          
          /*************** DO NOT EDIT THE LINE BELOW ***************/
          if (typeof module !== "undefined") {module.exports = config;}
          
          
          
          
          G 1 Reply Last reply Reply Quote 0
          • G
            gshimself @gshimself last edited by

            Just fyi, the “location” under module currentweather is within quote marks (") but I done goofed when I did “****” instead of my real location

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy