Read the statement by Michael Teeuw here.
Removing modules
-
You need to remove or comment the whole block of the module. In your case I marked all lines with //
Otherwise parsing of the config file will fail because of missing brackets or commas/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: 'clock', position: 'top_left' }, // { // module: 'calendar', // header: 'US Holidays', // position: 'top_left', // config: { // calendars: [ // { // symbol: 'calendar-check-o ', // url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' // } // ] // } // }, { module: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { location: 'New York', locationID: '', //ID from http://www.openweathermap.org appid: 'YOUR_OPENWEATHER_API_KEY' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'New York', locationID: '5128581', //ID from http://www.openweathermap.org appid: 'YOUR_OPENWEATHER_API_KEY' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
When i tried to just remove those lines of code, the “US Holiday” text still showed but it removed everything else. Using the // in front of the module completely removed it from the screen. Thank you all for your help.
-
@killerwaffles
You are welcome.
You could as well remove all lines of code you just commented out with // -
I actually tried that originally but the main MagicMirror screen popped up and it says “Please create a config file” which was a bit confusing.
-
@killerwaffles If you were talking about the header not the calendar it self
header: 'US Holidays',
you could just change this part here. to say something likeheader: 'Events,