Skip to content

Instantly share code, notes, and snippets.

@pintman
Last active June 12, 2018 13:38
Show Gist options
  • Save pintman/0d52602740722d91af5a57bfc3b028dd to your computer and use it in GitHub Desktop.
Save pintman/0d52602740722d91af5a57bfc3b028dd to your computer and use it in GitHub Desktop.
MagicMirror - sample config.
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8000,
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: "de",
timeFormat: 24,
units: "metric",
modules: [
{
module: 'DailyXKCD',
header: "XKCD",
position: 'bottom_center',
config: {
invertColors: true,
title: false,
altText: false
}
},
{
module: 'internet-monitor',
position: 'top_center',
header: 'Internet Monitor',
config:{
type: 'minimal',
maxTime: 20000,
updateInterval: 0,
verbose: false,
displayStrength: false,
displaySpeed: true,
strengthIconSize: 80,
maxGaugeScale: 50,
},
},
{
module: 'MMM-NetworkScanner',
position: 'top_center',
header: "Clients",
config: {
// Optional config options
network: "192.168.178.0/24"
}
},
/*
{
module: "MMM-GameOfLife",
position: "center_bottom",
header: "Game Of Life",
config: {
canvasWidth: 200,
canvasHeight: 200,
desiredFramerate: 1
}
},
*/
{
module: 'MMM-Vrr',
position: "top_right",
header: "Bochum Hbf Abfahrten",
config: {
city: 'Bochum',
station: 'Hauptbahnhof',
numberOfResults: 10,
displayTimeOption: 'countdown',
displayType: 'detail' // oder lcd
}
},
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: 'calendar_monthly',
position: 'top_left',
config: {
// The config property is optional
// Without a config, a default month view is shown
// Please see the 'Configuration Options' section for more information
}
},
{
module: "calendar",
header: "Ferien",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "https://www.schulferien.org/media/ical/deutschland/ferien_nordrhein-westfalen_2018.ics?k=bidP832nHUWtMqf2Q597xqAfDIwxHKmSynKJ995kTmprwBTctVnGzkrWxOIceEzAiQAWIIjX3jEsI2z_N1SGgCptIUkF2ZqXws8sMoK4oK8"
},
{
symbol: "calendar-check-o ",
url: "https://www.schulferien.org/media/ical/deutschland/ferien_nordrhein-westfalen_2019.ics?k=iFBie1pqqspV-ALwFyT4dWwN0vKZTjX-iqIRgxtKhZmoOluWpM8W6FVGJmuGsKwv6sepQcKCiY4f3upOOC2AXgOVhRmkqlg2ErrT8Vaa2Pg"
}
]
}
},
/*
{
module: "compliments",
position: "lower_third"
},
*/
/*
{
module: "currentweather",
position: "top_right",
config: {
location: "Dortmund",
//locationID: "6941055", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "New York",
locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
*/
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "Zeit Online",
url: "http://newsfeed.zeit.de/index"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
/*************** 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