Advertisement
Elidold

Config,js

May 6th, 2017
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.73 KB | None | 0 0
  1. /* Magic Mirror Config Sample
  2.  *
  3.  * By Michael Teeuw http://michaelteeuw.nl
  4.  * MIT Licensed.
  5.  */
  6.  
  7. var config = {
  8.     port: 8080,
  9.     ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses.
  10.  
  11.     language: "en",
  12.     timeFormat: "12",
  13.     units: "imperial",
  14.  
  15.     modules: [
  16.         {
  17.             module: "alert",
  18.         },
  19.         {
  20.             module: "updatenotification",
  21.             position: "top_bar"
  22.         },
  23.         {
  24.             module: "clock",
  25.             position: "top_left",
  26.             config: {
  27.                 timezone: "America/New_York"
  28.                 }
  29.                
  30.            
  31.  
  32.            
  33.         },
  34.         {
  35.             module: "calendar",
  36.             header: "US Holidays",
  37.             position: "top_left",
  38.             config: {
  39.                 calendars: [
  40.                     {
  41.                         symbol: "calendar-check-o ",
  42.                         url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
  43.                     }
  44.                 ]
  45.             }
  46.         },
  47.         {
  48.             module: "compliments",
  49.             position: "lower_third"
  50.        
  51.         },
  52.         {
  53.             module: "currentweather",
  54.             position: "top_right",
  55.             header:  "Current Weather",
  56.             config: {
  57.                 location: "",
  58.                 locationID: "MYID",  //ID from http://www.openweathermap.org/help/city_list.txt
  59.                 appid: "MYAPPID"
  60.             }
  61.         },
  62.         {
  63.             module: "weatherforecast",
  64.             position: "top_right",
  65.             header: "Weather Forecast",
  66.             config: {
  67.                 location: "",
  68.                 locationID: "MYID",  //ID from http://www.openweathermap.org/help/city_list.txt
  69.                 appid: "MYAPPID"
  70.             }
  71.         },
  72.         {
  73.             module: "newsfeed",
  74.             position: "bottom_bar",
  75.             config: {
  76.                 feeds: [
  77.                     {
  78.                         title: "New York Times",
  79.                         url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
  80.                     }
  81.                 ],
  82.                 showSourceTitle: true,
  83.                 showPublishDate: true
  84.             }
  85.         },
  86.     ]
  87.  
  88. };
  89.  
  90. /*************** DO NOT EDIT THE LINE BELOW ***************/
  91. if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement