/* Config Sample * * For more information on how you can configure this file * see https://docs.magicmirror.builders/configuration/introduction.html * and https://docs.magicmirror.builders/modules/configuration.html * * You can use environment variables using a `config.js.template` file instead of `config.js` * which will be converted to `config.js` while starting. For more information * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables */ let config = { address: "localhost", // 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: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // 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: "en", locale: "en-US", logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric", modules: [ { module: "alert", disabled: true, }, { module: "updatenotification", disabled: true, position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Test Calendar", position: "top_left", config: { calendars: [ { // TestCal url: "https://calendar.google.com/calendar/ical/xxx.calendar.google.com/private-3195e9a9d73075132305f42845646fd4/basic.ics", }, ], fetchInterval: 1 * 60 * 1000, // Update every 1 minute. maximumEntries: 27, // Total Maximum Entries maximumNumberOfDays: 365, limitDays: 0, pastDaysCount: 0, displaySymbol: false, defaultSymbol: "calendar-alt", defaultSymbolClassName: "fas fa-fw fa-", showLocation: false, displayRepeatingCountTitle: false, defaultRepeatingCountTitle: "", maxTitleLength: 50, maxLocationTitleLength: 25, wrapEvents: false, wrapLocationEvents: false, maxTitleLines: 3, maxEventTitleLines: 3, animationSpeed: 2000, fade: false, fadePoint: 0.75, urgency: 0, timeFormat: "absolute", dateFormat: "ddd MMM D - HH:mm", dateEndFormat: "ddd MMM D - HH:mm", fullDayEventDateFormat: "ddd MMM D", showEnd: true, showEndsOnlyWithDuration: true, getRelative: 0, hidePrivate: false, hideOngoing: false, hideTime: false, showTimeToday: false, colored: true, customEvents: [ {keyword: "TestCal:", symbol: "calendar", color: "Red"}, {keyword: "G.:", symbol: "calendar", color: "Magenta"}, {keyword: "E.J.:", symbol: "calendar", color: "DodgerBlue"}, {keyword: "A.:", symbol: "calendar", color: "Cyan"}, {keyword: "Vrij:", symbol: "calendar", color: "LimeGreen"}, {keyword: "#:", symbol: "calendar", color: "Gold"}, ], tableClass: "xsmall", broadcastEvents: true, excludedEvents: [], sliceMultiDayEvents: false, broadcastPastEvents: false, nextDaysRelative: false, selfSignedCert: false, coloredText: false, coloredBorder: false, coloredSymbol: false, coloredBackground: false, limitDaysNeverSkip: false, flipDateHeaderTitle: false } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { module.exports = config; }