Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. /* Magic Mirror Config Sample
  2. *
  3. * By Michael Teeuw http://michaelteeuw.nl
  4. * MIT Licensed.
  5. *
  6. * For more information how you can configurate this file
  7. * See https://github.com/MichMich/MagicMirror#configuration
  8. *
  9. */
  10.  
  11. var config = {
  12. address: "localhost", // Address to listen on, can be:
  13. // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
  14. // - another specific IPv4/6 to listen on a specific interface
  15. // - "", "0.0.0.0", "::" to listen on any interface
  16. // Default, when address config is left out, is "localhost"
  17. port: 8080,
  18. ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
  19. // or add a specific IPv4 of 192.168.1.5 :
  20. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
  21. // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
  22. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
  23.  
  24. language: "en",
  25. timeFormat: 24,
  26. units: "metric",
  27.  
  28. modules: [
  29. {
  30. module: "alert",
  31. },
  32. {
  33. module: "updatenotification",
  34. position: "top_bar"
  35. },
  36. {
  37. module: "clock",
  38. position: "top_left",
  39. config: {
  40. timezone: "Europe/Belgrade"
  41. }
  42. },
  43. {
  44. module: "calendar",
  45. header: "Upcoming EU holidays",
  46. position: "top_left",
  47. config: {
  48. calendars: [
  49. {
  50. symbol: "calendar-check-o ",
  51. 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"
  52. }
  53. ]
  54. }
  55. },
  56. {
  57. module: "currentweather",
  58. position: "top_right",
  59. config: {
  60. location: "Ljubljana",
  61. locationID: "3196359", //ID from http://www.openweathermap.org/help/city_list.txt
  62. appid: "d36ae106e872cd2873377640534f3d8d"
  63. }
  64. },
  65. {
  66. module: "weatherforecast",
  67. position: "top_right",
  68. header: "Weather Forecast",
  69. config: {
  70. location: "Ljubljana",
  71. locationID: "3196359", //ID from http://www.openweathermap.org/help/city_list.txt
  72. appid: "d36ae106e872cd2873377640534f3d8d"
  73. }
  74. },
  75. {
  76. module: "newsfeed",
  77. position: "bottom_bar",
  78. config: {
  79. feeds: [
  80. {
  81. title: "RTV SLO news",
  82. url: "www.rtvslo.si/feeds/00.xml"
  83. }
  84. ],
  85. showSourceTitle: true,
  86. showPublishDate: true
  87. }
  88. },
  89. ]
  90.  
  91. };
  92.  
  93. /*************** DO NOT EDIT THE LINE BELOW ***************/
  94. if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement