|
@@ -1,26 +1,19 @@
|
|
|
-/* 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
|
|
|
|
|
- */
|
|
|
|
|
|
|
+const config = require("../../../../MagicMirror/config");
|
|
|
|
|
+
|
|
|
let config = {
|
|
let config = {
|
|
|
address: "0.0.0.0", // Address to listen on, can be:
|
|
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"
|
|
|
|
|
|
|
+ // - "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,
|
|
port: 8080,
|
|
|
basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
|
|
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 /
|
|
|
|
|
|
|
+ // you must set the sub path here. basePath must end with a /
|
|
|
ipWhitelist: [], // Set [] to allow all IP addresses
|
|
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"],
|
|
|
|
|
|
|
+ // 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"],
|
|
|
|
|
|
|
|
language: "de",
|
|
language: "de",
|
|
|
locale: "de-DE",
|
|
locale: "de-DE",
|
|
@@ -29,21 +22,20 @@ let config = {
|
|
|
units: "metric",
|
|
units: "metric",
|
|
|
|
|
|
|
|
modules: [
|
|
modules: [
|
|
|
- {
|
|
|
|
|
- module: 'MMM-Carousel',
|
|
|
|
|
- position: 'bottom_bar', // Required only for navigation controls
|
|
|
|
|
- config: {
|
|
|
|
|
- transitionInterval: 10000,
|
|
|
|
|
- ignoreModules: ['alert','updatenotification','MMM-BurnIn'],
|
|
|
|
|
- mode: 'slides',
|
|
|
|
|
- showPageIndicators: true,
|
|
|
|
|
- showPageControls: true,
|
|
|
|
|
- slides: {
|
|
|
|
|
- main: ['clock', 'calendar', 'compliments', 'weather','newsfeed' ],
|
|
|
|
|
- 'Slide 1': ['clock', 'calendar', 'compliments', 'MMM-Strava','newsfeed' ],
|
|
|
|
|
- },
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ module: 'MMM-Carousel',
|
|
|
|
|
+ position: 'bottom_bar', // Required only for navigation controls
|
|
|
|
|
+ config: {
|
|
|
|
|
+ transitionInterval: 10000,
|
|
|
|
|
+ ignoreModules: ['alert', 'updatenotification', 'MMM-BurnIn'],
|
|
|
|
|
+ mode: 'slides',
|
|
|
|
|
+ showPageIndicators: true,
|
|
|
|
|
+ showPageControls: true,
|
|
|
|
|
+ slides: {
|
|
|
|
|
+ main: ['clock', 'calendar', 'compliments', 'weather','MMM-DWD-WarnWeather','calendar'],
|
|
|
|
|
+ },
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
module: "alert",
|
|
module: "alert",
|
|
|
},
|
|
},
|
|
@@ -56,30 +48,12 @@ let config = {
|
|
|
position: "top_left"
|
|
position: "top_left"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- module: "calendar",
|
|
|
|
|
- header: "Kalender",
|
|
|
|
|
- position: "top_left",
|
|
|
|
|
|
|
+ module: "compliments",
|
|
|
|
|
+ position: "middle_center",
|
|
|
config: {
|
|
config: {
|
|
|
- calendars: [
|
|
|
|
|
- {
|
|
|
|
|
- symbol: "calendar-check",
|
|
|
|
|
- url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AW4zB7F4Er7L-pe0M80P5X0HC1SqZ8Yyhpxl-VqPkWwQ84lbmADkN2qL7XHj7GHwpQ"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- symbol: "calendar-check",
|
|
|
|
|
- url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AWFOXjvMTWxYfQxCKxEaGdHaxWbWQoFZrke1cxI0VevOJI6AD1dZR0YR_tDk3Oh35o"
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- symbol: "calendar-check",
|
|
|
|
|
- url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AXavA_dk4HtOH-Xnn95ifNlVJo7QbBTng09wDRMNJKmZ7XQQsirQ4QNkol1rrnjUWc"
|
|
|
|
|
- }
|
|
|
|
|
- ]
|
|
|
|
|
|
|
+ remoteFile: "https://gist.githubusercontent.com/Psycho0verload/af47b09bacebfc887a5a4f7fef44fd39/raw/compliments.json"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- module: "compliments",
|
|
|
|
|
- position: "lower_third"
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
module: "weather",
|
|
module: "weather",
|
|
|
position: "top_right",
|
|
position: "top_right",
|
|
@@ -103,6 +77,22 @@ let config = {
|
|
|
apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
|
|
apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ module: 'MMM-DWD-WarnWeather',
|
|
|
|
|
+ position: 'top_right',
|
|
|
|
|
+ config: {
|
|
|
|
|
+ carouselId: "1",
|
|
|
|
|
+ region: 'Worms',
|
|
|
|
|
+ changeColor: true,
|
|
|
|
|
+ minutes: false,
|
|
|
|
|
+ displayRegionName: false,
|
|
|
|
|
+ displayInnerHeader: false,
|
|
|
|
|
+ interval: 10 * 60 * 1000,
|
|
|
|
|
+ loadingText: 'Warnungen werden geladen...',
|
|
|
|
|
+ noWarningText: 'Keine Warnungen',
|
|
|
|
|
+ severityThreshold: 2
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
module: "newsfeed",
|
|
module: "newsfeed",
|
|
|
position: "bottom_bar",
|
|
position: "bottom_bar",
|
|
@@ -124,23 +114,93 @@ let config = {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- module: "MMM-Strava",
|
|
|
|
|
- position: "top_right",
|
|
|
|
|
- config: {
|
|
|
|
|
- client_id: "78459",
|
|
|
|
|
- client_secret: 'fa53397e480227309b5abd37b690187a58112fe5'
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ module: "calendar",
|
|
|
|
|
+ header: "Jonathan - heute und morgen",
|
|
|
|
|
+ position: "bottom_left",
|
|
|
|
|
+ config: {
|
|
|
|
|
+ maximumEntries: 5,
|
|
|
|
|
+ showLocation: true,
|
|
|
|
|
+ maximumNumberOfDays: 2,
|
|
|
|
|
+ titleReplace: { '🚑': '', },
|
|
|
|
|
+ calendars: [
|
|
|
|
|
+ {
|
|
|
|
|
+ symbol: "ambulance",
|
|
|
|
|
+ url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AWFOXjvMTWxYfQxCKxEaGdHaxWbWQoFZrke1cxI0VevOJI6AD1dZR0YR_tDk3Oh35o"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ symbol: "calendar-check",
|
|
|
|
|
+ url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AW4zB7F4Er7L-pe0M80P5X0HC1SqZ8Yyhpxl-VqPkWwQ84lbmADkN2qL7XHj7GHwpQ"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ symbol: "calendar-check",
|
|
|
|
|
+ url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AXavA_dk4HtOH-Xnn95ifNlVJo7QbBTng09wDRMNJKmZ7XQQsirQ4QNkol1rrnjUWc"
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ module: "calendar",
|
|
|
|
|
+ header: "Biggi - heute und morgen",
|
|
|
|
|
+ position: "bottom_left",
|
|
|
|
|
+ config: {
|
|
|
|
|
+ maximumEntries: 5,
|
|
|
|
|
+ showLocation: true,
|
|
|
|
|
+ maximumNumberOfDays: 2,
|
|
|
|
|
+ calendars: [
|
|
|
|
|
+ {
|
|
|
|
|
+ symbol: "pills",
|
|
|
|
|
+ url: "https://calendar.google.com/calendar/ical/ptgait6k6k5vblpkn9p63c662c%40group.calendar.google.com/private-8bda3f347dbbcb2af317c584ba9d97f4/basic.ics"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ symbol: "calendar-check",
|
|
|
|
|
+ url: "https://calendar.google.com/calendar/ical/traxlerbirgit%40gmail.com/private-d992dff7e89fb0b7291f60a3dfe324c2/basic.ics"
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ module: "calendar",
|
|
|
|
|
+ header: "Jinaki - heute und morgen",
|
|
|
|
|
+ position: "bottom_left",
|
|
|
|
|
+ config: {
|
|
|
|
|
+ maximumEntries: 5,
|
|
|
|
|
+ showLocation: true,
|
|
|
|
|
+ maximumNumberOfDays: 2,
|
|
|
|
|
+ calendars: [
|
|
|
|
|
+ {
|
|
|
|
|
+ symbol: "paw",
|
|
|
|
|
+ url: "https://calendar.google.com/calendar/ical/51egvobpdg428dpc0jrkm0b9a0%40group.calendar.google.com/private-7b8a5c55c9a1350949901104f23aa17c/basic.ics"
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ module: "calendar",
|
|
|
|
|
+ header: "Wohnung - heute und morgen",
|
|
|
|
|
+ position: "bottom_left",
|
|
|
|
|
+ config: {
|
|
|
|
|
+ maximumEntries: 5,
|
|
|
|
|
+ showLocation: true,
|
|
|
|
|
+ maximumNumberOfDays: 2,
|
|
|
|
|
+ titleReplace: { ' - Schillerstraße': '', },
|
|
|
|
|
+ calendars: [
|
|
|
|
|
+ {
|
|
|
|
|
+ symbol: "home",
|
|
|
|
|
+ url: "https://calendar.google.com/calendar/ical/2b0a2vl1q9kfjsk3p5e2psib1s%40group.calendar.google.com/private-0d830ea99e99bc834639d73dbc688e41/basic.ics"
|
|
|
|
|
+ },
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
module: 'MMM-BurnIn',
|
|
module: 'MMM-BurnIn',
|
|
|
position: 'bottom_bar',
|
|
position: 'bottom_bar',
|
|
|
config: {
|
|
config: {
|
|
|
- updateInterval: 15,
|
|
|
|
|
- invertDuration: 5
|
|
|
|
|
|
|
+ updateInterval: 15,
|
|
|
|
|
+ invertDuration: 5
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
|
-if (typeof module !== "undefined") {module.exports = config;}
|
|
|
|
|
|
|
+if (typeof module !== "undefined") { module.exports = config; }
|