MagicMirror/config/config.js.sample
Michael Teeuw 899d05bc32 Add server (web/socket), create socket system, better helper loader.
- The Magic Mirror is now hosted via a express server, allowing you to
load it from an external client (for debugging.)
- It now includes a socket system to communicate between the
node_helper and the client module.
- node_helpers are now only loaded if the module is configured in the
config.
2016-03-30 12:20:46 +02:00

55 lines
955 B
Plaintext

/* exported config */
/* Magic Mirror Config
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var config = {
port: 80,
language: 'en',
timeFormat: 24,
modules: [
{
module: 'clock',
position: 'top_left'
},
{
module: 'compliments',
position: 'lower_third',
},
{
module: 'currentweather',
position: 'top_right',
config: {
location: 'New York',
appid: 'YOUR_OPENWEATHER_API_KEY'
}
},
{
module: 'weatherforecast',
position: 'top_right',
header: 'Weather Forecast',
config: {
location: 'New York',
appid: 'YOUR_OPENWEATHER_API_KEY'
}
},
{
module: 'newsfeed',
position: 'bottom_bar',
config: {
feedUrl: 'http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml',
showPublishDate: true,
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== 'undefined') {module.exports = config;}