| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- /* 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"],
- useHttps: false, // Support HTTPS or not, default "false" will use HTTP
- httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
- httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
- language: "de",
- locale: "de-DE",
- logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
- timeFormat: 24,
- units: "metric",
- // serverOnly: true/false/"local" ,
- // local for armv6l processors, default
- // starts serveronly and then starts chrome browser
- // false, default for all NON-armv6l devices
- // true, force serveronly mode, because you want to.. no UI on this device
- modules: [
- {
- module: 'MMM-Carousel',
- position: 'bottom_bar', // Required only for navigation controls
- 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', 'MMM-WiFiPassword'],
- "Slide 2": ['MMM-SimpleLogo', 'calendar'],
- "Slide 3": ['MMM-EasyPix'],
- "Slide 4": ['compliments', 'MMM-SimpleLogo']
- }
- }
- },
- {
- 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 Grass."
- ],
- 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", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: "weather",
- position: "bottom_left",
- header: "Wettervorhersage",
- config: {
- weatherProvider: "openweathermap",
- type: "forecast",
- location: "Nierstein",
- locationID: "2862485", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- 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, // every 10 minutes
- 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: 'MMM-WiFiPassword',
- position: "bottom_right",
- config: {
- //See 'Configuration options' for more information.
- header: "Wachen-WLAN",
- network: "RW21 MA-WLAN",
- password: "Elefant17#",
- showAuthType: false,
- qrSize: "250",
- }
- },
- {
- 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: "xlarge",
- fetchInterval: 20000,
- maxTitleLength: 50,
- calendars: [
- {
- url: 'https://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AV3d-E-x-6DiosmdvqwmyCmtNNsJbvCuvFEzJYrPXBa3RaNhNYzh6Us9HDAo05Jtzs',
- symbol: 'calendar'
- },
- ],
- }
- },
- {
- module: "MMM-CalendarExt2",
- position: "top_right",
- config: {
- calendars: [
- {
- name: "Wachenaufgaben",
- url: 'https://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AV3d-E-x-6DiosmdvqwmyCmtNNsJbvCuvFEzJYrPXBa3RaNhNYzh6Us9HDAo05Jtzs',
- icon: "noto-soccer-ball",
- className: "wachenaufgaben",
- },
- ],
- views: [
- {
- name: "Waachenaufgaben",
- mode: "daily",
- position: "top_right",
- calendars: ["Wachenaufgaben"],
- },
- ],
- scenes: [
- {
- name: "AUTOKALENTERI",
- },
- ],
- },
- },
- ]
- };
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") { module.exports = config; }
|