| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- 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: "updatenotification",
- position: "top_bar"
- },
- {
- 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: 'weather', position: "top_right", carouselId: "1" },
- { name: 'MMM-DWD-WarnWeather', position: "top_right", carouselId: "1" },
- { name: 'compliments', position: "middle_center", carouselId: "1" },
- { name: 'MMM-Todoist', position: "bottom_left", carouselId: "1" },
- { name: 'MMM-Todoist', position: "bottom_center", carouselId: "1" },
- { name: 'MMM-Todoist', position: "bottom_right", carouselId: "1" },
- { name: 'newsfeed', position: "bottom_bar", carouselId: "1" }
- ],
- "Slide 1": [
- { name: 'clock', position: "top_left", carouselId: "1" },
- { name: 'MMM-Strava', position: "top_right", carouselId: "1" },
- ]
- }
- }
- },
- /* SECTION - Main */
- {
- module: "clock",
- position: "top_left",
- config: {
- carouselId: '1',
- timeFormat: 24,
- }
- },
- {
- module: "weather",
- position: "top_right",
- config: {
- carouselId: "1",
- weatherProvider: "openweathermap",
- type: "current",
- location: "Worms",
- locationID: "2806142",
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: "weather",
- position: "top_right",
- header: "Wettervorhersage",
- config: {
- carouselId: "1",
- weatherProvider: "openweathermap",
- type: "forecast",
- location: "Worms",
- locationID: "2806142",
- apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
- }
- },
- {
- module: 'MMM-DWD-WarnWeather',
- position: 'top_right',
- config: {
- carouselId: "1",
- region: 'Worms',
- changeColor: true,
- minutes: false,
- displayRegionName: true,
- displayInnerHeader: true,
- interval: 10 * 60 * 1000,
- loadingText: 'Warnungen werden geladen...',
- noWarningText: 'Keine Warnungen',
- severityThreshold: 2
- }
- },
- {
- 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/af47b09bacebfc887a5a4f7fef44fd39/raw/7a19397c80610e82bb6d3272f784f0a76808ca6b/compliments.json"
- }
- },
- {
- module: 'MMM-Todoist',
- position: 'bottom_left',
- header: 'ToDo - Jinaki',
- config: {
- carouselId: "1",
- hideWhenEmpty: true,
- accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
- maximumEntries: 60,
- updateInterval: 10 * 60 * 1000,
- fade: true,
- projects: [2273684134]
- }
- },
- {
- module: 'MMM-Todoist',
- position: 'bottom_center', // This can be any of the regions. Best results in left or right regions.
- header: 'ToDo - Wohnung', // This is optional
- config: { // See 'Configuration options' for more information.
- carouselId: "1",
- hideWhenEmpty: true,
- accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
- maximumEntries: 60,
- updateInterval: 10 * 60 * 1000, // Update every 10 minutes
- fade: true,
- // projects and/or labels is mandatory:
- projects: [2273684252]
- }
- },
- {
- module: 'MMM-Todoist',
- position: 'bottom_right', // This can be any of the regions. Best results in left or right regions.
- header: 'Einkaufsliste', // This is optional
- config: { // See 'Configuration options' for more information.
- carouselId: "1",
- hideWhenEmpty: true,
- accessToken: '88c7c668a17e16c8dc780278a992ec935bd05ad1',
- maximumEntries: 60,
- updateInterval: 10 * 60 * 1000, // Update every 10 minutes
- fade: true,
- // projects and/or labels is mandatory:
- projects: [2273680600]
- }
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- carouselId: "1",
- feeds: [
- {
- title: "Tagesschau.de",
- url: "https://www.tagesschau.de/xml/rss2/",
- ignoreOlderThan: "345600000"
- },
- {
- title: "Schwarzwälder Bote - Rottweil",
- url: "https://www.schwarzwaelder-bote.de/rottweil.rss.feed",
- 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 1 */
- {
- module: "MMM-Strava",
- position: "top_right",
- config: {
- carouselId: "1",
- client_id: "78459",
- client_secret: "ae058af751f6458d3fe79524e201f30743dbbda2"
- }
- },
- /* !SECTION */
- {
- module: "MMM-BurnIn",
- position: "bottom_bar",
- config: {
- updateInterval: 15,
- invertDuration: 5
- }
- }
- ]
- };
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") { module.exports = config; }
|