Skip to content

Instantly share code, notes, and snippets.

@lexoyo
Last active July 11, 2017 13:03
Show Gist options
  • Save lexoyo/8fba1e7d255438d3f25603d76e7aec84 to your computer and use it in GitHub Desktop.
Save lexoyo/8fba1e7d255438d3f25603d76e7aec84 to your computer and use it in GitHub Desktop.
My MagicMirror² config
/*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
language: "fr",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Agenda Pro",
position: "bottom_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "webcal://calendar.google.com/calendar/ical/alexandre.hoyau%40gmail.com/private-18c03b0f9051bd754d653a836c4d6117/basic.ics"
}
]
}
},
{
module: "calendar",
header: "Agenda Perso",
position: "bottom_right",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "webcal://calendar.google.com/calendar/ical/plfhjrkt78b2porj25bl3snqjs%40group.calendar.google.com/private-295286152b44c5700c2a7369c781b0b7/basic.ics"
}
]
}
},
{
module: "currentweather",
position: "top_right",
config: {
location: "Paris",
locationID: "2988507", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "d1c71505432340dfbed3f4d588d1eebe",
showWindDirection: false
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "Paris",
locationID: "2988507", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "d1c71505432340dfbed3f4d588d1eebe"
}
},
{
module: "motiondetector",
position: "bottom_center",
config: {
timeout: 10000
}
}
]
};
/*************** 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