2016-04-09 15:51:18 +02:00
|
|
|
/* Magic Mirror Config Sample
|
2016-03-24 17:19:32 +01:00
|
|
|
*
|
|
|
|
* By Michael Teeuw http://michaelteeuw.nl
|
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
|
|
|
|
|
|
|
var config = {
|
2016-04-03 20:27:32 +02:00
|
|
|
port: 8080,
|
2016-09-29 17:49:54 +02:00
|
|
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1"],
|
2016-03-24 17:19:32 +01:00
|
|
|
|
|
|
|
language: 'en',
|
2016-03-29 13:28:15 +02:00
|
|
|
timeFormat: 24,
|
2016-04-24 15:23:07 -05:00
|
|
|
units: 'metric',
|
2016-03-24 17:19:32 +01:00
|
|
|
|
|
|
|
modules: [
|
2016-04-01 22:05:09 +02:00
|
|
|
{
|
|
|
|
module: 'alert',
|
|
|
|
},
|
2016-03-24 17:19:32 +01:00
|
|
|
{
|
|
|
|
module: 'clock',
|
|
|
|
position: 'top_left'
|
|
|
|
},
|
2016-03-31 11:05:32 +02:00
|
|
|
{
|
|
|
|
module: 'calendar',
|
|
|
|
header: 'US Holidays',
|
|
|
|
position: 'top_left',
|
|
|
|
config: {
|
|
|
|
calendars: [
|
|
|
|
{
|
2016-04-03 19:52:13 +02:00
|
|
|
symbol: 'calendar-check-o ',
|
2016-03-31 11:05:32 +02:00
|
|
|
url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-03-24 17:19:32 +01:00
|
|
|
{
|
|
|
|
module: 'compliments',
|
2016-04-13 09:27:30 +02:00
|
|
|
position: 'lower_third'
|
2016-03-24 17:19:32 +01:00
|
|
|
},
|
|
|
|
{
|
2016-03-29 13:28:15 +02:00
|
|
|
module: 'currentweather',
|
|
|
|
position: 'top_right',
|
|
|
|
config: {
|
|
|
|
location: 'New York',
|
2016-07-28 17:53:48 +02:00
|
|
|
locationID: '', //ID from http://www.openweathermap.org
|
2016-03-29 13:28:15 +02:00
|
|
|
appid: 'YOUR_OPENWEATHER_API_KEY'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
module: 'weatherforecast',
|
|
|
|
position: 'top_right',
|
|
|
|
header: 'Weather Forecast',
|
|
|
|
config: {
|
|
|
|
location: 'New York',
|
2016-07-28 17:53:48 +02:00
|
|
|
locationID: '5128581', //ID from http://www.openweathermap.org
|
2016-03-29 13:28:15 +02:00
|
|
|
appid: 'YOUR_OPENWEATHER_API_KEY'
|
|
|
|
}
|
2016-03-24 17:19:32 +01:00
|
|
|
},
|
|
|
|
{
|
2016-03-29 15:44:43 +02:00
|
|
|
module: 'newsfeed',
|
2016-03-24 17:19:32 +01:00
|
|
|
position: 'bottom_bar',
|
|
|
|
config: {
|
2016-04-20 14:39:38 +02:00
|
|
|
feeds: [
|
|
|
|
{
|
|
|
|
title: "New York Times",
|
|
|
|
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
showSourceTitle: true,
|
2016-04-13 09:27:30 +02:00
|
|
|
showPublishDate: true
|
2016-03-24 17:19:32 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
2016-04-03 19:52:13 +02:00
|
|
|
|
2016-03-30 12:20:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
2016-04-03 19:52:13 +02:00
|
|
|
if (typeof module !== 'undefined') {module.exports = config;}
|