| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- /* 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: true,
- maximumNumberOfDays: 1,
- showLocation: false,
- 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; }
|