| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464 |
- 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: "alert",
- },
- {
- module: 'MMM-Carousel',
- position: 'bottom_bar',
- config: {
- transitionInterval: 22000,
- showPageIndicators: true,
- showPageControls: false,
- ignoreModules: ["MMM-BurnIn"],
- mode: 'slides',
- slides: {
- "Main": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'calendar', position: "middle_center", carouselId: "1" }
- ],
- "Slide 1": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'newsfeed', position: "middle_center", carouselId: "1" },
- { name: 'MMM-News-QR', position: "middle_center", carouselId: "1" }
- ],
- "Slide 2": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'calendar', position: "middle_center", carouselId: "2" }
- ],
- "Slide 3": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'calendar', position: "middle_center", carouselId: "3" }
- ],
- "Slide 4": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'calendar', position: "middle_center", carouselId: "4" }
- ],
- "Slide 5": [
- { name: 'MMM-BackgroundSlideshow', position: "fullscreen_below", carouselId: "5" },
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'MMM-AutoDimmer', position: "fullscreen_above"}
- ],
- "Slide 6": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'compliments', position: "middle_center", carouselId: "1" }
- ],
- "Slide 7": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
- { name: 'MMM-ImageSlideshow', position: "middle_center", carouselId: "5" },
- { name: 'weather', position: "bottom_left", carouselId: "5" },
- { name: 'MMM-DWD-WarnWeather', position: "bottom_left", carouselId: "5" },
- { name: 'newsfeed', position: "bottom_bar", carouselId: "5" }
- ],
- }
- }
- },
- /*
- SECTION - Main Slide
- */
- {
- module: 'clock',
- position: "top_left",
- config: {
- timeFormat: 24,
- carouselId: '1'
- }
- },
- {
- module: 'MMM-SimpleLogo',
- position: 'top_right',
- config: {
- carouselId: "1",
- fileUrl: "modules/MMM-SimpleLogo/public/wachenwappen.png",
- text: "",
- position: "right",
- width: "200px",
- }
- },
- {
- module: "calendar",
- header: "Tagesübersicht",
- classes: "daily-overview",
- position: "middle_center",
- config: {
- carouselId: "1",
- tableClass: "large daily-overview-table wachenaufgaben",
- fetchInterval: 600000, /* 600000 */
- maxTitleLength: 50,
- displaySymbol: true,
- showLocation: false,
- maxTitleLines: 1,
- maximumEntries: 9,
- maximumNumberOfDays: 1,
- calendars: [
- {
- /* RW21 Wachenaufgaben */
- url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw?export',
- symbolClass: 'todo-symbol',
- titleClass: 'todo-title',
- timeClass: 'todotime',
- symbol: 'clipboard-list-check'
- },
- {
- /* RW21 Putzplan */
- url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8?export',
- symbolClass: 'clean-symbol',
- titleClass: 'clean-title',
- timeClass: 'clean-time',
- symbol: 'vacuum',
- },
- {
- /* RW21 Allgemeines */
- url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
- symbolClass: 'info-symbol',
- titleClass: 'info-title',
- timeClass: 'info-time',
- symbol: 'circle-info',
- maximumNumberOfDays: 7,
- },
- {
- /* RW21 Muellkalender */
- url: 'https://nc.x0p.it/remote.php/dav/public-calendars/krSEAP9TEXwqqm2n?export',
- symbolClass: 'trash-symbol',
- titleClass: 'trash-title',
- timeClass: 'trash-time',
- symbol: 'trash-can',
- maximumNumberOfDays: 2,
- }
- ]
- }
- },
- /*
- !!SECTION
- */
- /*
- SECTION - Slide 1
- */
- {
- module: "compliments",
- position: "middle_center",
- config: {
- carouselId: "1",
- updateInterval: 20000,
- fadeSpeed: 3000,
- morningStartTime: 6,
- morningEndTime: 12,
- afternoonStartTime: 12,
- afternoonEndTime: 19,
- remoteFile: "https://gist.githubusercontent.com/Psycho0verload/9b3f22a476537f93ca3edf77cc0bac84/raw/30b2243e58ce6f87b91335193a59e38a069125db/compliments_1.json"
- }
- },
- /*
- !!SECTION
- */
- /*
- SECTION - Slide 2
- */
- {
- module: "calendar",
- header: "MZ 21/83-1",
- classes: "rtw-overview",
- position: "middle_center",
- config: {
- carouselId: "2",
- tableClass: "large daily-overview-table fahrzeugaufgaben fahrzeugaufgaben-rtw",
- fetchInterval: 600000, /* 600000 */
- maxTitleLength: 50,
- displaySymbol: true,
- showLocation: false,
- maxTitleLines: 1,
- maximumEntries: 9,
- maximumNumberOfDays: 1,
- calendars: [
- {
- /* Fahrzeug 21/83-1 */
- url: 'https://nc.x0p.it/remote.php/dav/public-calendars/exdmis8xiZc54mn3?export',
- symbolClass: 'rtw-symbol',
- titleClass: 'rtw-title',
- timeClass: 'rtw-time',
- symbol: 'truck-medical'
- }
- ]
- }
- },
- /*
- !!SECTION
- */
- /*
- SECTION - Slide 3
- */
- {
- module: "calendar",
- header: "MZ 21/84-1",
- classes: "nktw-overview",
- position: "middle_center",
- config: {
- carouselId: "3",
- tableClass: "large daily-overview-table fahrzeugaufgaben fahrzeugaufgaben-nktw",
- fetchInterval: 600000, /* 600000 */
- maxTitleLength: 50,
- displaySymbol: true,
- showLocation: false,
- maxTitleLines: 1,
- maximumEntries: 9,
- maximumNumberOfDays: 1,
- calendars: [
- {
- /* Fahrzeug 21/84-1 */
- url: 'https://nc.x0p.it/remote.php/dav/public-calendars/NGATEN6qkf9wWEc6?export',
- symbolClass: 'nktw-symbol',
- titleClass: 'nktw-title',
- timeClass: 'nktw-time',
- symbol: 'truck-medical',
- },
- ]
- }
- },
- /*
- !!SECTION
- */
- /*
- SECTION - Slide 4
- */
- {
- module: "calendar",
- header: "MZ 21/85-1",
- classes: "ktw-overview",
- position: "middle_center",
- config: {
- carouselId: "4",
- tableClass: "large daily-overview-table fahrzeugaufgaben fahrzeugaufgaben-ktw",
- fetchInterval: 600000, /* 600000 */
- maxTitleLength: 50,
- displaySymbol: true,
- showLocation: false,
- maxTitleLines: 1,
- maximumEntries: 9,
- maximumNumberOfDays: 1,
- calendars: [
- {
- /* Fahrzeug 21/85-1 */
- url: 'https://nc.x0p.it/remote.php/dav/public-calendars/G6Ho8gHmWk4X7qB7?export',
- symbolClass: 'ktw-symbol',
- titleClass: 'ktw-title',
- timeClass: 'ktw-time',
- symbol: 'truck-medical',
- }
- ]
- }
- },
- /*
- !!SECTION
- */
- /*
- SECTION - Slide 5
- */
- {
- module: 'MMM-BackgroundSlideshow',
- position: 'fullscreen_below',
- config: {
- carouselId: "5",
- imagePaths: ['modules/MMM-BackgroundSlideshow/slides/aktionen/'],
- transitionImages: false,
- randomizeImageOrder: true,
- fixedImageWidth: 1920,
- fixedImageHeight: 1080,
- slideshowSpeed: 100000
- }
- },
- /*
- !!SECTION
- */
- /*
- SECTION - Slide 7
- */
- {
- module: 'MMM-ImageSlideshow',
- position: 'middle_center',
- config: {
- carouselId: "5",
- imagePaths: ['modules/MMM-ImageSlideshow/public/slide_1'],
- slideshowSpeed: 15000,
- fixedImageWidth: 900,
- randomizeImageOrder: true,
- }
- },
- {
- module: "weather",
- position: "bottom_left",
- config: {
- carouselId: "5",
- weatherProvider: "openweathermap",
- type: "current",
- location: "Nierstein",
- locationID: "2862485",
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: "weather",
- position: "bottom_left",
- header: "Wettervorhersage",
- config: {
- carouselId: "5",
- weatherProvider: "openweathermap",
- type: "forecast",
- location: "Nierstein",
- locationID: "2862485",
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: 'MMM-DWD-WarnWeather',
- position: 'bottom_left',
- config: {
- carouselId: "5",
- region: 'Nierstein',
- changeColor: true,
- minutes: false,
- displayRegionName: true,
- displayInnerHeader: true,
- interval: 10 * 60 * 1000,
- loadingText: 'Warnungen werden geladen...',
- noWarningText: 'Keine Warnungen',
- severityThreshold: 2
- }
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- carouselId: "5",
- feeds: [
- // {
- // title: "DRK Rettungsdienst Rheinhessen-Nahe gGmbH",
- // url: "https://www.drk-rhein-nahe.de/news-rss.xml",
- // ignoreOlderThan: "345600000"
- // },
- {
- title: "Deutscher Berufsverband Rettungsdienst e.V.",
- url: "https://dbrd.de/index.php/aktivitaeten?format=feed&type=rss",
- ignoreOlderThan: "345600000"
- },
- {
- title: "Allgmeine Zeitung - VG Rhein-Selz",
- url: "https://www.allgemeine-zeitung.de/rss/lokales/oppenheim/vg-rhein-selz",
- ignoreOlderThan: "345600000"
- },
- {
- title: "Der Postillon",
- url: "http://feeds.feedburner.com/blogspot/rkEL",
- ignoreOlderThan: "345600000"
- }
- ],
- showSourceTitle: true,
- showPublishDate: true,
- broadcastNewsFeeds: false,
- broadcastNewsUpdates: false
- }
- },
- /*
- !!SECTION
- */
- /*
- SECTION - Slide 7
- */
- {
- module: 'MMM-News-QR',
- position: "middle_center",
- config: {
- carouselId: "1",
- updateType: 'push',
- interval: 2000,
- animationSpeed: 2500,
- colorDark: '#fff',
- colorLight: '#000',
- imageSize: 150
- }
- },
- {
- module: "newsfeed",
- position: "middle_center",
- config: {
- carouselId: "1",
- feeds: [
- // {
- // title: "DRK Rettungsdienst Rheinhessen-Nahe gGmbH",
- // url: "https://www.drk-rhein-nahe.de/news-rss.xml",
- // ignoreOlderThan: "345600000"
- // },
- {
- title: "Deutscher Berufsverband Rettungsdienst e.V.",
- url: "https://dbrd.de/index.php/aktivitaeten?format=feed&type=rss",
- ignoreOlderThan: "345600000"
- },
- {
- title: "Allgmeine Zeitung - VG Rhein-Selz",
- url: "https://www.allgemeine-zeitung.de/rss/lokales/oppenheim/vg-rhein-selz",
- ignoreOlderThan: "345600000"
- },
- {
- title: "Der Postillon",
- url: "http://feeds.feedburner.com/blogspot/rkEL",
- ignoreOlderThan: "345600000"
- }
- ],
- showSourceTitle: true,
- showPublishDate: true,
- broadcastNewsFeeds: true,
- broadcastNewsUpdates: true,
- showDescription: true
- }
- },
- /*
- !!SECTION
- */
- {
- module: "MMM-BurnIn",
- position: "bottom_bar",
- config: {
- updateInterval: 15,
- invertDuration: 5
- }
- },
- {
- module: 'MMM-AutoDimmer',
- position: 'fullscreen_above',
- header: '',
- // Don't change anything above this line
- config: {
- carouselId: "1",
- schedules: [
- {
- days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
- brightTime: 600,
- dimTime: 2300,
- maxDim: 0.7
- }
- ]
- }
- }
- ]
- }
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") { module.exports = config; }
|