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.

    Having trouble showing modules.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 1.9k Views 3 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.
    • A Offline
      AndrewS097
      last edited by AndrewS097

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      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: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar",
      						url: "https://www.calendarlabs.com/templates/ical/US-Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      		module: 		'MMM-3Day-Forestcast',
      		position: 		'top_right',
      			config:{
      				api_key:	'xxxxxxxxx',
      				lat : 		34.092232,
      				lon :		-117.435051,
      				units : 	'M',
      				lang: 		'en',
      				interval: 900000
      }
      },
      		{
      				module : "MMM-DailyPokemon",
      				postion:"top_right",
      				config:{ updateInterval:86400000,
      				grayscale: true,
      				minPoke: 1,
      				maxPoke: 802,
      				showType:true,
      				stats:true
      				}
      				},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      

      updated code block sorry new to forum

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

        u had to install those MMM- modules separately , right… they are not part of the base package

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          AndrewS097 @sdetweil
          last edited by

          @sdetweil I did install them and after installing them i modified the config file accordingly0_1554854538998_7a9f3c0b-a17b-4dc1-8f2c-335d39f640dd-image.png

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by

            @AndrewS097 said in Having trouble showing modules.:

            First, edit your post, removing your API key. That’s yours. It’s private. :-)

            Next, you spelled the 'MMM-3Day-Forecast', incorrectly in your config entry

            Last, please try this config entry for Pokemon to verify that it works. It works just fine for me. I just installed it. Then you can change some values to your taste.

            {
                        module: "MMM-DailyPokemon",
                        position: "top_center",
                        config: {
                            updateInterval: 600000,
                            minPoke: 4,
                            maxPoke: 151,
                            grayscale: true,
                            showType: true,
                        }
                    },
            

            Create a working config
            How to add modules

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              AndrewS097
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • A Offline
                AndrewS097 @Mykle1
                last edited by

                @Mykle1 After hours of debugging I cannot believe that was it! Thank you so much haha. Both issues have been fixed

                Mykle1M 1 Reply Last reply Reply Quote 1
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @AndrewS097
                  last edited by

                  @AndrewS097

                  Always helps to have another set of eyes look at it. We’ve all done that. :thumbsup:

                  Create a working config
                  How to add modules

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