/* 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", port: 8080, basePath: "/", ipWhitelist: [], useHttps: false, language: "de", locale: "de-DE", logLevel: ["INFO", "LOG", "WARN", "ERROR"], timeFormat: 24, units: "metric", modules: [ { module: 'MMM-Carousel', position: 'bottom_bar', config: { transitionInterval: 30000, showPageIndicators: true, showPageControls: true, ignoreModules: ['clock', 'alert', 'MMM-BurnIn'], mode: 'slides', slides: { /*main: ['weather', 'MMM-DWD-WarnWeather', 'MMM-ImageSlideshow', 'MMM-SimpleLogo','MMM-CalendarExt2', 'newsfeed'], "Slide 2": ['MMM-SimpleLogo', 'calendar'], "Slide 3": ['MMM-EasyPix'], "Slide 4": ['compliments', 'MMM-SimpleLogo']*/ main: ['MMM-SimpleLogo', 'calendar'] } } }, { module: "alert", }, { module: 'MMM-ImageSlideshow', position: 'middle_center', config: { imagePaths: ['modules/MMM-ImageSlideshow/public/slide_1'], slideshowSpeed: 15000, fixedImageWidth: 900, randomizeImageOrder: true, } }, { module: "MMM-EasyPix", position: "middle_center", config: { picName: "wachenwappen.png", // Enter the picture file name. maxWidth: "100%", // Size picture precisely. Retains aspect ratio. } }, { module: "compliments", position: "middle_center", disabled: false, config: { updateInterval: 20000, fadeSpeed: 3000, morningStartTime: 6, morningEndTime: 12, afternoonStartTime: 12, afternoonEndTime: 19, compliments: { anytime: [ "Dir einen ruhigen Dienst!", "Ihr seid doch wieder ohne Aufsicht\nIch merk das doch!", "Hier könnte Ihre Werbung stehen.", "Some people need a highfive… in the face… with a chair…", "Unsere Wache ist selbstaufräumend.\nJeder räumt sein Zeug selbst in seinen Spind.", "Geht der Melder im Mai ist der April vorbei.", "Ein bisschen mehr ernst täterätäte uns gut.", "Die ersten vierzig Jahre der Kindheit sind die Schwersten.", "Was ist ein nackter Ritter?\nEntrüstet", "Atomwitz.\nKeiner lacht, alle strahlen." ], morning: [ "Guten Morgen!", "Kaffee am Morgen vertreibt Kummer und Sorgen!", "Der frühe Vogel stirbt wegen Schlafmangel." ], afternoon: [ "Alle Tagesaufgaben schon erledigt?", "Ist dein Einsatzfahrzeug schmutzig?\nSei mutig und putze es auch an einem nicht Routinedesi-Tag!", "Auch die hartnäckigsten Vegetarier beißen ungern ins Gras." ], evening: [ "Guten Abend und gute Nacht!", "Wer im Glashaus sitzt sollte Nachts das Licht ausmachen.", "Ich wäre gern mal abends so müde wie morgens!" ] } } }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "weather", position: "bottom_left", config: { weatherProvider: "openweathermap", type: "current", location: "Nierstein", locationID: "2862485", apiKey: "e3185c8094b5cbc1d4291d0dcf64e113" } }, { module: "weather", position: "bottom_left", header: "Wettervorhersage", config: { weatherProvider: "openweathermap", type: "forecast", location: "Nierstein", locationID: "2862485", apiKey: "e3185c8094b5cbc1d4291d0dcf64e113" } }, { module: 'MMM-DWD-WarnWeather', position: 'bottom_left', header: 'Wetterwarnungen', config: { region: 'Nierstein', changeColor: true, minutes: false, displayRegionName: true, displayInnerHeader: true, interval: 10 * 60 * 1000, loadingText: 'Warnungen werden geladen...', noWarningText: 'Keine Warnungen', severityThreshold: 2 } }, { module: 'MMM-SimpleLogo', position: 'top_right', config: { fileUrl: "modules/MMM-SimpleLogo/public/wachenwappen.png", text: "", position: "right", width: "250px", refreshInterval: "refresh" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "DRK Rettungsdienst Rheinhessen-Nahe gGmbH", url: "https://www.drk-rhein-nahe.de/news-rss.xml", ignoreOlderThan: "31536000000" }, { title: "Deutscher Berufsverband Rettungsdienst e.V.", url: "https://dbrd.de/index.php/aktivitaeten?format=feed&type=rss", ignoreOlderThan: "31536000000" }, { title: "Allgmeine Zeitung - VG Rhein-Selz", url: "https://www.allgemeine-zeitung.de/rss/lokales/oppenheim/vg-rhein-selz", ignoreOlderThan: "345600000" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, { module: "MMM-BurnIn", position: "bottom_bar", // whatever, doesn't render anything config: { updateInterval: 15, // in Minutes invertDuration: 5 // in Seconds } }, { module: "calendar", position: "middle_center", // This can be any of the regions. Best results in left or right regions. config: { tableClass: "large wachenaufgaben", fetchInterval: 30000, maxTitleLength: 50, displaySymbol: false, maximumNumberOfDays: 1, showLocation: true, timeFormat: "relative", calendars: [ { url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw/?export', symbolClass: 'todo-symbol', titleClass: 'todo-title', timeClass: 'todotime', symbol: 'clipboard-list-check' }, { url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export', symbolClass: 'clean-symbol', titleClass: 'clean-title', timeClass: 'clean-time', symbol: 'vacuum', }, { url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export', symbolClass: 'info-symbol', titleClass: 'info-title', timeClass: 'info-time', symbol: 'circle-info', }, ], } }, { module: "MMM-CalendarExt2", config: { calendars: [ { name: "Aufgaben", url: 'webcal://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw/?export', icon: "bi:clipboard2-check", className: "todo", }, { name: "Reinigung", url: 'webcal://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export', icon: "carbon:clean", className: "clean", }, ], views: [ { name: "Wachenaufgaben", mode: "daily", locale: "de-DE", position: "bottom_right", calendars: ["Aufgaben", "Reinigung"], }, ], scenes: [ { name: "AUTOKALENTERI", }, ], }, }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { module.exports = config; }