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

MMM-Wunderlist add / MM won't start

Scheduled Pinned Locked Moved Solved Troubleshooting
5 Posts 3 Posters 2.4k 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.
  • S Offline
    svonbentzel
    last edited by Mar 7, 2017, 8:55 AM

    Hello together,

    I added the Wunderlist-Module in config.js.

    But when I restart the MM, it shows please create a config file.

    What is wrong with my config.js?

    can please everyone check my file?

    /* Magic Mirror Config 
     *
     * By Michael Teeuw http://michaelteeuw.nl
     * MIT Licensed.
     */
    
    var config = {
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
    
    	language: 'de',
    	timeFormat: 24,
    	units: 'metric',
    
    	modules: [
    		{
    			module: 'alert',
    		},
    			{
    			module: "updatenotification",
    			position: "top_bar"
    		},
    		{
    			module: 'clock',
    			position: 'top_left'
    		},
    		{
    		        module: 'MMM-Wunderlist',
    		        position: 'top_right',  // This can be any of the regions. Best results in left or right regions.
    		        header: 'Shopping', // This is optional
    		        config: {
    		            // See 'Configuration options' for more information.
    					lists: [“inbox”],
    					accessToken: '0ad48eb706f0xxxxxxxxxx8c4f8def79581'
    					clientID: '046xxxxxxxxxx6a8'
    					fade: false,
    					intervall: 60,
    		        }
    		    }
    		{
    		    module: 'MMM-Globe',
    		    position: 'lower_third',
    		    config: {
    		        style: 'geoColor',
    		        imageSize: 800,
    		        ownImagePath:'',
    		        updateInterval: 10*60*1000
    		    }
    		},
    		{
    			module: 'calendar',
    			header: 'Kalender',
    			position: 'top_left',
    			config: {
    				calendars: [
    					{
    						symbol: 'calendar-check-o ',
    						url: 'https://p36-calendars.icloud.com/published/2/xxxxxxxxX_p'
    					}
    				]
    			}
    		},
    		{
    			module: 'calendar',
    			header: 'Arbeits-Termine',
    			position: 'top_left',
    			config: {
    				calendars: [
    					{
    						symbol: 'calendar-check-o ',
    						url: 'http://kerioxxxxxxx/Calendar'
    					}
    				]
    			}
    		},
    		{
    			module: 'compliments',
    			position: 'lower_third'
    		},
    		{
    			module: 'currentweather',
    			position: 'top_right',
    			config: {
    				location: 'Rosenheim',
    				locationID: '2844988',  //ID from http://www.openweathermap.org
    				appid: '46c0147xxxxxxb7eeb0'
    			}
    		},
    		{
    			module: 'weatherforecast',
    			position: 'top_right',
    			header: 'Wettervorhersage',
    			config: {
    				location: 'Rosenheim',
    				locationID: '2844988',  //ID from http://www.openweathermap.org
    				appid: '46c0147xxxxxx44b7eeb0'
    			}
    		},
    		{
    			module: 'newsfeed',
    			position: 'bottom_bar',
    			config: {
    				feeds: [
    					{
    						title: "Tagesschau",
    						url: "http://www.tagesschau.de/xml/rss2"
    					}
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		},
    	]	
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== 'undefined') {module.exports = config;}
    
    
    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by yawns Mar 7, 2017, 9:05 AM Mar 7, 2017, 9:03 AM

      /* Magic Mirror Config 
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
      
      	language: 'de',
      	timeFormat: 24,
      	units: 'metric',
      
      	modules: [
      		{
      			module: 'alert',
      		},
      			{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: 'clock',
      			position: 'top_left'
      		},
      		{
      		        module: 'MMM-Wunderlist',
      		        position: 'top_right',  // This can be any of the regions. Best results in left or right regions.
      		        header: 'Shopping', // This is optional
      		        config: {
      		            // See 'Configuration options' for more information.
      					lists: ["inbox"],							// wrong "" signs
      					accessToken: '0ad48eb706f0xxxxxxxxxx8c4f8def79581',			// MISSING COMMA
      					clientID: '046xxxxxxxxxx6a8',						// MISSING COMMA
      					fade: false,
      					intervall: 60,
      		        }
      		    },												// MISSING COMMA
      		{
      		    module: 'MMM-Globe',
      		    position: 'lower_third',
      		    config: {
      		        style: 'geoColor',
      		        imageSize: 800,
      		        ownImagePath:'',
      		        updateInterval: 10*60*1000
      		    }
      		},
      		{
      			module: 'calendar',
      			header: 'Kalender',
      			position: 'top_left',
      			config: {
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'https://p36-calendars.icloud.com/published/2/xxxxxxxxX_p'
      					}
      				]
      			}
      		},
      		{
      			module: 'calendar',
      			header: 'Arbeits-Termine',
      			position: 'top_left',
      			config: {
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'http://kerioxxxxxxx/Calendar'
      					}
      				]
      			}
      		},
      		{
      			module: 'compliments',
      			position: 'lower_third'
      		},
      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'Rosenheim',
      				locationID: '2844988',  //ID from http://www.openweathermap.org
      				appid: '46c0147xxxxxxb7eeb0'
      			}
      		},
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Wettervorhersage',
      			config: {
      				location: 'Rosenheim',
      				locationID: '2844988',  //ID from http://www.openweathermap.org
      				appid: '46c0147xxxxxx44b7eeb0'
      			}
      		},
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      					{
      						title: "Tagesschau",
      						url: "http://www.tagesschau.de/xml/rss2"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]	
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      

      some commas were missing and you used wrong ", maybe a copy error … I marked these lines

      1 Reply Last reply Reply Quote 0
      • M Offline
        mortenbirkelund
        last edited by Mar 7, 2017, 9:06 AM

        for future reference, http://jshint.com/ as suggested in the faq, is a very good tool for finding errors in the config.js

        1 Reply Last reply Reply Quote 0
        • S Offline
          svonbentzel
          last edited by Mar 7, 2017, 9:07 AM

          ok thank you I try your changes and will report asap ;-)

          1 Reply Last reply Reply Quote 0
          • S Offline
            svonbentzel
            last edited by Mar 7, 2017, 9:10 AM

            you the best! Thank you!

            it runs,

            Made my Day!!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              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