Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 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: "clock",
  21. position: "top_left"
  22. },
  23. {
  24. module: "calendar",
  25. header: "US Holidays",
  26. position: "top_left",
  27. config: {
  28. calendars: [
  29. {
  30. symbol: "calendar",
  31. url: "http://calendarlabs.com/templates/ical/US-Holidays.ics"
  32. }
  33. ]
  34. }
  35. },
  36. {
  37. module: "compliments",
  38. position: "lower_third"
  39. },
  40. {
  41. module: "currentweather",
  42. position: "top_right",
  43. config: {
  44. location: "Bridgewater,US",
  45. locationID: "4748925", //ID from http://www.openweathermap.org/help/city_list.txt
  46. appid: "xxx"
  47. }
  48. },
  49. {
  50. module: "weatherforecast",
  51. position: "top_right",
  52. header: "Weather Forecast",
  53. config: {
  54. location: "Bridgewater,US",
  55. locationID: "4748925", //ID from http://www.openweathermap.org/help/city_list.txt
  56. appid: "xxx"
  57. }
  58. },
  59. {
  60. module: "newsfeed",
  61. position: "top_bar",
  62. config: {
  63. feeds: [
  64. {
  65. title: "Wired",
  66. url: "https://wired.com/feed"
  67. }
  68. ],
  69. showSourceTitle: true,
  70. showPublishDate: true,
  71. }
  72. },
  73. ]
  74.  
  75. };
  76.  
  77. /*************** DO NOT EDIT THE LINE BELOW ***************/
  78. if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement