Created
July 16, 2017 18:13
-
-
Save tshort/3b17983003f3fe6eb94987707052e307 to your computer and use it in GitHub Desktop.
MagicMirror setup
This file contains hidden or 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
var config = { | |
port: 8080, | |
ipWhitelist: [], // Set [] to allow all IP addresses. | |
language: "en", | |
timeFormat: 12, | |
units: "imperial", | |
modules: [ | |
{ | |
module: 'MMM-ProfileSwitcher', | |
config: { | |
enterMessages: false, | |
leaveMessages: false | |
} | |
}, | |
{ | |
module: "MMM-TouchNavigation", | |
position: "bottom_left", | |
classes: "default everyone", | |
config: { | |
picturePlacement: "right", | |
minWidth: "30px", | |
buttons: { | |
"default": { | |
text: "home" | |
}, | |
"food": { | |
text: "food", | |
}, | |
"weather": { | |
text: "weather" | |
} | |
} | |
} | |
}, | |
{ | |
module: "alert", | |
}, | |
{ | |
module: "clock", | |
classes: "everyone default", | |
position: "top_left", | |
config: { | |
displaySeconds: false, | |
} | |
}, | |
{ | |
module: "currentweather", | |
classes: "food default", | |
position: "top_left", | |
config: { | |
location: "Saratoga,NY", | |
roundTemp: true, | |
appid: "###############" // fill this in | |
} | |
}, | |
{ | |
module: "weatherforecast", | |
classes: "default", | |
position: "top_left", | |
header: "Weather Forecast", | |
config: { | |
location: "Saratoga,NY", | |
maxNumberOfDays: 7, | |
colored: true, | |
appid: "###########" // fill this in | |
} | |
}, | |
{ | |
module: 'MMM-WunderGround', | |
classes: "weather", | |
position: 'top_left', | |
config: { | |
apikey: '##########', // private; don't share! | |
pws: 'pws:KNYBALLS2', | |
hourly: '1', | |
coloricon: true, | |
fctext: '1', | |
fcdaycount: "5", | |
fcdaystart: "0", | |
hourlyinterval: "3", | |
hourlycount: "2", | |
alerttime: 10000, | |
alerttruncatestring: "english:", | |
roundTmpDecs: 1, | |
UseCardinals: 0, | |
layout: "vertical", | |
fadePoint: 0.4, | |
roundTmpDecs: 0, | |
sysstat: 0 | |
} | |
}, | |
{ | |
module: "kitchen-timers", | |
classes: "food", | |
position: "top_left", | |
config: { | |
timertext: ["30s", "2m", "10m"], | |
timersecs: [30, 120, 600], | |
} | |
}, | |
{ | |
module: "kitchen-timers", | |
classes: "default food", | |
position: "top_left", | |
config: { | |
} | |
}, | |
{ | |
module: "kitchen-timers", | |
classes: "food", | |
position: "top_left", | |
config: { | |
} | |
}, | |
{ | |
module: "kitchen-timers", | |
classes: "food", | |
position: "top_left", | |
config: { | |
timertext: ["5m", "15m", "1h"], | |
timersecs: [5*60, 15*60, 3600], | |
} | |
}, | |
{ | |
module: "currentweather", | |
classes: "weather", | |
position: "top_left", | |
header: "Montreal", | |
config: { | |
location: "Montreal", | |
roundTemp: true, | |
appid: "#########" //fill this in | |
} | |
}, | |
{ | |
module: "calendar", | |
classes: "default", | |
header: "Important dates", | |
position: "top_left", | |
config: { | |
maximumEntries: 7, | |
displayRepeatingCountTitle: true, | |
calendars: [ | |
{ | |
symbol: "calendar-check-o ", | |
url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" | |
}, | |
{ | |
symbol: "star ", | |
url: "webcal://localhost:8080/modules/bdays1.ics" | |
}, | |
{ | |
symbol: "star ", | |
repeatingCountTitle: " ", | |
url: "webcal://localhost:8080/modules/bdays2.ics" | |
}, | |
] | |
} | |
}, | |
{ | |
module: "iFrame", | |
classes: "default", | |
position: "top_right", // This can be any of the regions. | |
config: { | |
url: "//192.168.8.80:8008/", | |
width: "1200px", // Optional. Default: 100% | |
height: "900px" //Optional. Default: 100px | |
} | |
}, | |
{ | |
module: "iFrame", | |
classes: "weather", | |
position: "top_right", // This can be any of the regions. | |
config: { | |
// url: "//forecast.weather.gov/MapClick.php?CityName=Ballston+Spa&state=NY&site=ALY&textField1=43.006&textField2=-73.8515&e=0", | |
url: "//www.wunderground.com/fullscreenweather", | |
width: "1200px", // Optional. Default: 100% | |
height: "900px" //Optional. Default: 100px | |
} | |
}, | |
{ | |
module: "iFrame", | |
classes: "food", | |
position: "top_right", // This can be any of the regions. | |
config: { | |
url: "//allrecipes.com", | |
width: "1200px", // Optional. Default: 100% | |
height: "900px" //Optional. Default: 100px | |
} | |
}, | |
{ | |
module: "iFrame", | |
classes: "food", | |
position: "top_right", // This can be any of the regions. | |
config: { | |
url: "//allrecipes.com", | |
width: "1200px", // Optional. Default: 100% | |
height: "900px" //Optional. Default: 100px | |
} | |
} | |
] | |
}; | |
/*************** DO NOT EDIT THE LINE BELOW ***************/ | |
if (typeof module !== "undefined") {module.exports = config;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment