mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-11-04 05:15:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			83 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/* Magic Mirror Config Sample
 | 
						|
 *
 | 
						|
 * By Michael Teeuw http://michaelteeuw.nl
 | 
						|
 * MIT Licensed.
 | 
						|
 */
 | 
						|
 | 
						|
var config = {
 | 
						|
	port: 8080,
 | 
						|
	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
 | 
						|
 | 
						|
	language: "en",
 | 
						|
	timeFormat: 24,
 | 
						|
	units: "metric",
 | 
						|
 | 
						|
	modules: [
 | 
						|
		{
 | 
						|
			module: "alert",
 | 
						|
		},
 | 
						|
		{
 | 
						|
			module: "updatenotification",
 | 
						|
			position: "top_bar"
 | 
						|
		},
 | 
						|
		{
 | 
						|
			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;}
 |