MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

Modules not loading



  • Hi!
    iv’e recently freshly installed my RPI3
    now, i installed MM, configured it as it should be without errors or bugs (hopfully) using the help of http://jshint.com/ wich doesnt shows any problems, but when the MM loads up, no modules are loaded except from the calendar and the clock.

    i have only installed MMM-Tools
    https://github.com/eouia/MMM-Tools
    as a3rd party module. but none of the oters work with or without it…
    what have i done wrong?

    heres the thing:
    ive uninstalled MM and installed it again, and without my changes to the config file it works perfectly. after a change it (with the one below), all modules stop working except for the calendar and clock.
    any ideas? 😞

    /* 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: [
        
         // new module
        
       
    		{
    			module: "alert",
    		},
        
         // new module
        
    		{
    			module: "updatenotification",  
    			position: "top_bar"
    		},
        
         // new module
        
    		{
    			module: "clock", 
    			position: "top_left"
    		},
        
         // new module
        
    		{
    			module: "calendar",
    			header: "X",
    			position: "top_left",
    			config: {
    				calendars: [
    					{
    						symbol: "calendar-check-o ",
    						url: "X"
    					}
              
    				]
                    
    			}
               
    		},
        
        
        
        // new module
        
        	{
    			module: "calendar",
    			header: "X",
    			position: "top_left",
    			config: {
    				calendars: [
    					{
    						symbol: "calendar-check-o ",
    						url: "X"
    					}
              
    				]
                    
    			}
               
    		},
        
         // new module
        
    		{
    			module: "compliments",
    			position: "" //lower_third
    		},
    		{
    			module: "currentweather", 
    			position: "top_right",
    			config: {
    				location: "X",
    				locationID: "X",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "X"
    			}
    		},
        
         // new module
        
    		{
    			module: "weatherforecast",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				location: "X",
    				locationID: "X",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "X"
    			}
    		},
        
         // new module
        
    		{
    			module: "newsfeed", 
    			position: "bottom_bar",
    			config: {
    				feeds: [
    					{
    						title: "X",
    						url: "X"
    					}
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		},
        
         // new module
        
        {
      module: 'MMM-Tools', 
      position: 'bottom_right',
      config: {
        device : "RPI", // "ATB" is also available
        refresh_interval_ms : 1000,
        warning_interval_ms : 1000 * 60 * 5,
        enable_warning : true,
        warning : {
          CPU_TEMPERATURE : 65,
          GPU_TEMPERATURE : 65,
          CPU_USAGE : 85,
          STORAGE_USED_PERCENT : 80,
          MEMORY_USED_PERCENT : 80
        }
      }
    },
    
        // new module
        
        
       
        
        
        
        
    	] 
     
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    
    


  • Looks nice.
    I like the

    // new module
    

    Try this:

    {
    		module: "compliments",
    		position: "lower_third"
    },
    

    And you have entered the module calendar twice, but that should not lead to an error.



  • This post is deleted!


  • @evroom

    haha glad you liked it… the code looks very scrambled without it in my opinion …
    And i dont want the compliments module at all…

    but for the “sport” in it, i tried to do it with the compliment, and still none… just the calendar and clock.
    calendar is twice because i use 2 calendars (private&work) but they both work and worked just fine

    any further ideas?
    with the original config file everything works perfectly. after i change even a bit or even the RSS source, same error.