Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Magic Mirror Config Sample
- *
- * By Michael Teeuw http://michaelteeuw.nl
- * MIT Licensed.
- *
- * For more information how you can configurate this file
- * See https://github.com/MichMich/MagicMirror#configuration
- *
- */
- var 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, is "localhost"
- port: 8080,
- 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"],
- language: "en",
- timeFormat: 24,
- units: "metric",
- modules: [
- {
- module: "alert",
- },
- {
- module: "updatenotification",
- position: "top_bar"
- },
- {
- module: "clock",
- position: "top_left",
- config: {
- timezone: "Europe/Belgrade"
- }
- },
- {
- module: "calendar",
- header: "Upcoming EU holidays",
- position: "top_left",
- config: {
- calendars: [
- {
- symbol: "calendar-check-o ",
- url: "http://www.webcal.fi/cal.php?id=510&format=ics&wrn=1&wp=4&wf=53&color=%233C78D8&cntr=gb&lang=en&rid=wc"
- }
- ]
- }
- },
- {
- module: "currentweather",
- position: "top_right",
- config: {
- location: "Ljubljana",
- locationID: "3196359", //ID from http://www.openweathermap.org/help/city_list.txt
- appid: "d36ae106e872cd2873377640534f3d8d"
- }
- },
- {
- module: "weatherforecast",
- position: "top_right",
- header: "Weather Forecast",
- config: {
- location: "Ljubljana",
- locationID: "3196359", //ID from http://www.openweathermap.org/help/city_list.txt
- appid: "d36ae106e872cd2873377640534f3d8d"
- }
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- feeds: [
- {
- title: "RTV SLO news",
- url: "www.rtvslo.si/feeds/00.xml"
- }
- ],
- showSourceTitle: true,
- showPublishDate: true
- }
- },
- ]
- };
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement