Created
July 1, 2016 18:28
-
-
Save RB14060/c7e99c03cad7453fac3269efbc9d3a26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Magic Mirror Config Sample | |
* | |
* By Michael Teeuw http://michaelteeuw.nl | |
* MIT Licensed. | |
*/ | |
var config = { | |
port: 8080, | |
language: 'en', | |
timeFormat: 12, | |
units: 'imperial', | |
modules: [ | |
{ | |
module: 'alert', | |
config: { | |
welcome_message: '*** Command Center started.' | |
}, | |
}, | |
{ | |
module: 'clock', | |
position: 'top_center', | |
}, | |
{ | |
module: 'calendar', | |
header: 'Scott', | |
position: 'top_left', | |
config: { | |
maximumEntries: '5', | |
fade: false, | |
calendars: [ | |
{ | |
symbol: 'calendar-o ', | |
url: '***/basic.ics' | |
} | |
] | |
} | |
}, | |
{ | |
module: 'calendar', | |
header: 'Ryan', | |
position: 'top_left', | |
config: { | |
maximumEntries: '5', | |
fade: false, | |
calendars: [ | |
{ | |
symbol: 'calendar-o ', | |
url: '***/basic.ics' | |
} | |
] | |
} | |
}, | |
{ | |
module: 'calendar', | |
header: 'LMI Tasks', | |
position: 'top_left', | |
config: { | |
maximumEntries: '5', | |
fade: false, | |
calendars: [ | |
{ | |
symbol: 'desktop ', | |
url: '***/basic.ics' | |
} | |
] | |
} | |
}, | |
{ | |
module: 'MMM-WunderGround', | |
position: 'top_right', | |
config: { | |
apikey: '***', | |
pws: '***', | |
lang: 'EN', | |
fctext: '1', | |
fcdaycount: "7", | |
fcdaystart: "0", | |
hourly: '1', | |
hourlyinterval: "3", | |
hourlycount: "2", | |
alerttime: 10000, | |
alerttruncatestring: "english:", | |
fade: false | |
} | |
}, | |
{ | |
module: 'MMM-Traffic', | |
position: 'bottom_bar', | |
config: { | |
api_key: '***', | |
mode: 'driving', | |
origin: '***', | |
destination: '***', | |
route_name: 'Office to ***', | |
prependText: 'Time to *** is', | |
changeColor: true, | |
showGreen: false, | |
limitYellow: '5', | |
limitRed: '20' | |
} | |
}, | |
{ | |
module: 'MMM-Traffic', | |
position: 'bottom_bar', | |
config: { | |
api_key: '***', | |
mode: 'driving', | |
origin: '***', | |
destination: '***', | |
route_name: 'Office to ***', | |
prependText: 'Time to *** is', | |
changeColor: true, | |
showGreen: false, | |
limitYellow: '5', | |
limitRed: '20' | |
} | |
}, | |
{ | |
module: 'MMM-Traffic', | |
position: 'bottom_bar', | |
config: { | |
api_key: '***', | |
mode: 'driving', | |
origin: '***', | |
destination: '***', | |
route_name: 'Office to ***', | |
prependText: 'Time to *** is approx.', | |
changeColor: true, | |
showGreen: false, | |
limitYellow: '5', | |
limitRed: '20' | |
} | |
}, | |
{ | |
module: 'newsfeed', | |
position: 'bottom_bar', | |
config: { | |
feeds: [ | |
{ | |
title: "*** Email Alerts", | |
url: "***" | |
} | |
], | |
showSourceTitle: true, | |
showPublishDate: true, | |
} | |
}, | |
] | |
}; | |
/*************** DO NOT EDIT THE LINE BELOW ***************/ | |
if (typeof module !== 'undefined') {module.exports = config;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
killall when-changed | |
when-changed ~/MagicMirror/config/config.js pm2 restart mm & | |
cd ~/MagicMirror | |
DISPLAY=:0 npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment