MagicMirror/config/config.js.sample

83 lines
1.5 KiB
Plaintext
Raw Normal View History

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,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::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-10-15 13:08:46 +02:00
{
module: "updatenotification",
position: "top_bar"
2016-10-15 13:08:46 +02:00
},
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: [
{
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: {
2016-11-24 00:20:04 -03:00
location: 'New York',
2016-07-28 17:53:48 +02:00
locationID: '5128581', //ID from http://www.openweathermap.org
2016-11-24 00:20:04 -03:00
appid: 'YOUR_OPENWEATHER_API_KEY'
2016-03-29 13:28:15 +02:00
}
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: {
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
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== 'undefined') {module.exports = config;}