MMM-Wunderlist add / MM won't start



  • 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;}
    
    

  • Moderator

    /* 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



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



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



  • you the best! Thank you!

    it runs,

    Made my Day!!


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.