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.
- */
- var config = {
- port: 8080,
- ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses.
- language: "en",
- timeFormat: "12",
- units: "imperial",
- modules: [
- {
- module: "alert",
- },
- {
- module: "updatenotification",
- position: "top_bar"
- },
- {
- module: "clock",
- position: "top_left",
- config: {
- timezone: "America/New_York"
- }
- },
- {
- module: "calendar",
- header: "US Holidays",
- position: "top_left",
- config: {
- calendars: [
- {
- symbol: "calendar-check-o ",
- url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
- }
- ]
- }
- },
- {
- module: "compliments",
- position: "lower_third"
- },
- {
- module: "currentweather",
- position: "top_right",
- header: "Current Weather",
- config: {
- location: "",
- locationID: "MYID", //ID from http://www.openweathermap.org/help/city_list.txt
- appid: "MYAPPID"
- }
- },
- {
- module: "weatherforecast",
- position: "top_right",
- header: "Weather Forecast",
- config: {
- location: "",
- locationID: "MYID", //ID from http://www.openweathermap.org/help/city_list.txt
- appid: "MYAPPID"
- }
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- feeds: [
- {
- title: "New York Times",
- url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.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