/* 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: "sv", locale: "sv-SE", logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric", customCss: "css/custom.css", // 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: "alert", }, { module: 'MMM-Snow', position: 'fullscreen_above', config: { // See 'Configuration options' for more information. flakeCount: 100, theme: "water" }, }, { module: "MMM-Remote-Control-Repository", config: { } }, { module: "MMM-WatchDog", config: { interval: 1800, timeout: 1800 } }, { module: "MMM-Remote-Control", config: { } }, { module: "MMM-Globe", position: "bottom_center", config: { style: "europeDiscNat", imageSize: 300 } }, { module: "MMM-Admin-Interface", config: { } }, /* { module: 'MMM-Advent', position: 'bottom_left', // This can be any of the regions, best results in center regions config: { height: 400, start: "2022-12-01 08:00:00", end: "2022-12-24 22:00:00", } }, */ { module: "MMM-SystemStats", position: "bottom_left", config: { language: "config.language", }, classes: "small dimmed" }, { module: "updatenotification", position: "top_bar" }, { module: 'MMM-RPI-LED', config: { ledMode: "0", }, }, { module: "clock", position: "top_left" }, { module: "MMM-MyCalendar", position: "top_left", config: { calendars: [ { symbol: "calendar", url: "PRIVATE URL HERE", maxTitleLength: "15", dayOfWeekFormat: "dddd", useRelativeDates: "true", dateFormat: "MMMM D", timeFormat: "HH:mm" } ], titleReplace: { "De verjaardag van ": "", "'s birthday": "" }, excludedEvents: [ ] } }, { module: "MMM-MyCalendar", position: "top_left", config: { calendars: [ { symbol: "calendar", url: "PRIVATE URL HERE", maxTitleLength: "2", dayOfWeekFormat: "dddd", dateFormat: "MMMM D", timeFormat: "HH:mm", maximumEntries: 5, maxTitleLength: 40, } ], titleReplace: { "De verjaardag van ": "", "'s birthday": "" }, excludedEvents: [ ] }, }, { module: "weather", header: "Väder", position: "top_right", config: { /* weatherProvider: "openweathermap", lat: 56.166550, lon: 15.229356, location: "Ronneby", locationID: "2681825", weatherEndpoint: '/weather', apiKey: "PRIVATE API KEY HERE", */ weatherProvider: "SMHI", lat: 59.322665376, lon: 18.069666388, precipitationValue: 'pmedian', type: "current", }, }, { module: "MMM-YrThen", header: "Väder", position: "top_right", config: { location: "PRIVATE LOCATION HERE" }, title: "Väder", showAll: "false", details: "true", numDetails: "1" }, { module: 'MMM-homeassistant-sensors', position: 'bottom_right', config: { host: "192.168.1.253", port:"8123", https: false, updateInterval: "60000", token: "PRIVATE TOKEN HERE", values: [ { sensor: "binary_sensor.zelda", name: "Zelda", icons: [{ "on": "http://192.168.1.253:8123/local/Zelda_small.jpg", "off": "http://192.168.1.253:8123/local/Zelda_small.jpg", }, ], replace: [{ "on": "inne", "off": "ute", }, ], }, { sensor: "binary_sensor.zoey", name: "Zoey", icons: [{ "on": "http://192.168.1.253:8123/local/Zoey.jpg", "off": "http://192.168.1.253:8123/local/Zoey.jpg", }, ], replace: [{ "on": "inne", "off": "ute", }, ], }, { sensor: "sensor.nordpool_kwh_se4_sek_3_10_025", name: "Elpris från Nordpool", }, { sensor: "sensor.lumi_lumi_weather_temperature", name: "Temperaturen i vardagsrummet", }, { sensor: "sensor.temperature_10", name: "Temperaturen i badrummet", }, { sensor: "sensor.hue_motion_sensor_1_temperature", name: "Temperaturen på toaletten", }, { sensor: "sensor.garaget_temperature", name: "Temperaturen i garaget", }, { sensor: "sensor.temperature_24", name: "Temperaturen i pannrummet", }, { sensor: "sensor.temperature_13", name: "Temperaturen i Elins rum", }, { sensor: "sensor.eriks_rum_temperatur", name: "Temperaturen i Eriks rum", }, { sensor: "sensor.kallaren_tank_temperature", name: "Vattentemperatur", }, { sensor: "sensor.sensor.garaget_temperature", name: "Temperaturen i garaget", }, { sensor: "binary_sensor.openclose_17", // AL fönster replace: [{ "on": "öppen", "off": "stängd", }, ], }, { sensor: "binary_sensor.openclose_19", // badrumsfönster replace: [{ "on": "öppen", "off": "stängd", }, ], }, ] } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Aftonbladet", url: "https://rss.aftonbladet.se/rss2/small/pages/sections/senastenytt/" }, { title: "BLT", url: "https://www.blt.se/feed/" }, { title: "Sydöstran", url: "https://www.sydostran.se/feed/" }, { title: "NASA", url: "https://blogs.nasa.gov/spacestation/feed/" }, { title: "SMHI", url: "https://www.smhi.se/cm/nyheter-fran-smhi-1.788?polopolylocale=sv_SE" }, { tile: "Kottcraft", url: "PRIVATE URL HERE" }, ], updateInterval: 20000, showDescription: true, ignoreOldItems: true, startTags: [ ], endTags: [ ], prohibitedWords: [ ] } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}