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.

    Modules not loading

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 2 Posters 1.9k Views 2 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
      alws34
      last edited by alws34

      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;}
      
      
      1 Reply Last reply Reply Quote 0
      • evroomE Online
        evroom
        last edited by

        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.

        A 1 Reply Last reply Reply Quote 0
        • evroomE Online
          evroom
          last edited by evroom

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

            @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.

            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