| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- /* Magic Mirror Config Sample
- *
- * By Michael Teeuw https://michaelteeuw.nl
- * MIT Licensed.
- *
- * For more information on how you can configure this file
- * see https://docs.magicmirror.builders/getting-started/configuration.html#general
- * and https://docs.magicmirror.builders/modules/configuration.html
- */
- let config = {
- address: "0.0.0.0", // 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 or empty, is "localhost"
- port: 8080,
- basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
- // you must set the sub path here. basePath must end with a /
- ipWhitelist: [], // 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",
- locale: "de-DE",
- logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
- timeFormat: 24,
- units: "metric",
- modules: [
- {
- module: 'MMM-Carousel',
- position: 'bottom_bar', // Required only for navigation controls
- config: {
- transitionInterval: 10000,
- ignoreModules: ['alert','updatenotification','MMM-BurnIn'],
- mode: 'slides',
- showPageIndicators: true,
- showPageControls: true,
- slides: {
- main: ['clock', 'calendar', 'compliments', 'weather','newsfeed' ],
- 'Slide 1': ['clock', 'calendar', 'compliments', 'MMM-Strava','newsfeed' ],
- },
- }
- },
- {
- module: "alert",
- },
- {
- module: "updatenotification",
- position: "top_bar"
- },
- {
- module: "clock",
- position: "top_left"
- },
- {
- module: "calendar",
- header: "Kalender",
- position: "top_left",
- config: {
- calendars: [
- {
- symbol: "calendar-check",
- url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AW4zB7F4Er7L-pe0M80P5X0HC1SqZ8Yyhpxl-VqPkWwQ84lbmADkN2qL7XHj7GHwpQ"
- },
- {
- symbol: "calendar-check",
- url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AWFOXjvMTWxYfQxCKxEaGdHaxWbWQoFZrke1cxI0VevOJI6AD1dZR0YR_tDk3Oh35o"
- },
- {
- symbol: "calendar-check",
- url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AXavA_dk4HtOH-Xnn95ifNlVJo7QbBTng09wDRMNJKmZ7XQQsirQ4QNkol1rrnjUWc"
- }
- ]
- }
- },
- {
- module: "compliments",
- position: "lower_third"
- },
- {
- module: "weather",
- position: "top_right",
- config: {
- weatherProvider: "openweathermap",
- type: "current",
- location: "Worms",
- locationID: "2806142", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: "weather",
- position: "top_right",
- header: "Wettervorhersage",
- config: {
- weatherProvider: "openweathermap",
- type: "forecast",
- location: "Worms",
- locationID: "2806142", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- feeds: [
- {
- title: "Tagesschau.de",
- url: "https://www.tagesschau.de/xml/rss2/"
- },
- {
- title: "Der Postillon",
- url: "http://feeds.feedburner.com/blogspot/rkEL"
- }
- ],
- showSourceTitle: true,
- showPublishDate: true,
- broadcastNewsFeeds: true,
- broadcastNewsUpdates: true
- }
- },
- {
- module: "MMM-Strava",
- position: "top_right",
- config: {
- client_id: "78459",
- client_secret: 'fa53397e480227309b5abd37b690187a58112fe5'
- }
- },
- {
- module: 'MMM-BurnIn',
- position: 'bottom_bar',
- config: {
- updateInterval: 15,
- invertDuration: 5
- }
- }
- ]
- };
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") {module.exports = config;}
|