• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.7k 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 Apr 9, 2019, 11:11 PM

    For some reason only the compliment, the calendar and the time show. The default weather ones never showed, the new added weather one does not show, and a Pokemon one does not show. Any advice on what actions I can take are appreciated. The magic mirror is up to date.

    /* 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:	'zzzzzzzzzzzzzzzzzzzzzz', //taken out for paste![alt text](![image url](![image url](image url)))
    			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;}

    0_1554851169511_MagicMirror.JPG

    1 Reply Last reply Reply Quote 0
    • A Offline
      AndrewS097
      last edited by AndrewS097 Apr 10, 2019, 12:27 AM Apr 9, 2019, 11:30 PM

      /* 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 Away
        sdetweil
        last edited by Apr 9, 2019, 11:42 PM

        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 Apr 10, 2019, 12:02 AM Reply Quote 0
        • A Offline
          AndrewS097 @sdetweil
          last edited by Apr 10, 2019, 12:02 AM

          @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
          • M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by Apr 10, 2019, 12:24 AM

            @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 Apr 10, 2019, 12:33 AM Reply Quote 1
            • A Offline
              AndrewS097
              last edited by Apr 10, 2019, 12:31 AM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • A Offline
                AndrewS097 @Mykle1
                last edited by Apr 10, 2019, 12:33 AM

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

                M 1 Reply Last reply Apr 10, 2019, 12:52 AM Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @AndrewS097
                  last edited by Apr 10, 2019, 12:52 AM

                  @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
                  1 / 1
                  • First post
                    2/8
                    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