config.js 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. let config = {
  2. address: "0.0.0.0", // Address to listen on, can be:
  3. // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
  4. // - another specific IPv4/6 to listen on a specific interface
  5. // - "0.0.0.0", "::" to listen on any interface
  6. // Default, when address config is left out or empty, is "localhost"
  7. port: 8080,
  8. basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
  9. // you must set the sub path here. basePath must end with a /
  10. ipWhitelist: [], // Set [] to allow all IP addresses
  11. // or add a specific IPv4 of 192.168.1.5 :
  12. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
  13. // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
  14. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
  15. language: "de",
  16. locale: "de-DE",
  17. logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
  18. timeFormat: 24,
  19. units: "metric",
  20. modules: [
  21. {
  22. module: 'MMM-Carousel',
  23. position: 'bottom_bar', // Required only for navigation controls
  24. config: {
  25. transitionInterval: 10000,
  26. ignoreModules: ['alert', 'updatenotification', 'MMM-BurnIn'],
  27. mode: 'slides',
  28. showPageIndicators: true,
  29. showPageControls: true,
  30. slides: {
  31. main: ['clock', 'calendar', 'compliments', 'weather','MMM-DWD-WarnWeather','calendar'],
  32. },
  33. }
  34. },
  35. {
  36. module: "alert",
  37. },
  38. {
  39. module: "updatenotification",
  40. position: "top_bar"
  41. },
  42. {
  43. module: "clock",
  44. position: "top_left"
  45. },
  46. {
  47. module: "compliments",
  48. position: "middle_center",
  49. config: {
  50. remoteFile: "https://gist.githubusercontent.com/Psycho0verload/af47b09bacebfc887a5a4f7fef44fd39/raw/compliments.json"
  51. }
  52. },
  53. {
  54. module: "weather",
  55. position: "top_right",
  56. config: {
  57. weatherProvider: "openweathermap",
  58. type: "current",
  59. location: "Worms",
  60. locationID: "2806142", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
  61. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  62. }
  63. },
  64. {
  65. module: "weather",
  66. position: "top_right",
  67. header: "Wettervorhersage",
  68. config: {
  69. weatherProvider: "openweathermap",
  70. type: "forecast",
  71. location: "Worms",
  72. locationID: "2806142", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
  73. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  74. }
  75. },
  76. {
  77. module: 'MMM-DWD-WarnWeather',
  78. position: 'top_right',
  79. config: {
  80. carouselId: "1",
  81. region: 'Worms',
  82. changeColor: true,
  83. minutes: false,
  84. displayRegionName: false,
  85. displayInnerHeader: false,
  86. interval: 10 * 60 * 1000,
  87. loadingText: 'Warnungen werden geladen...',
  88. noWarningText: 'Keine Warnungen',
  89. severityThreshold: 2
  90. }
  91. },
  92. {
  93. module: "newsfeed",
  94. position: "bottom_bar",
  95. config: {
  96. feeds: [
  97. {
  98. title: "Tagesschau.de",
  99. url: "https://www.tagesschau.de/xml/rss2/"
  100. },
  101. {
  102. title: "Der Postillon",
  103. url: "http://feeds.feedburner.com/blogspot/rkEL"
  104. }
  105. ],
  106. showSourceTitle: true,
  107. showPublishDate: true,
  108. broadcastNewsFeeds: true,
  109. broadcastNewsUpdates: true
  110. }
  111. },
  112. {
  113. module: "calendar",
  114. header: "Jonathan - heute und morgen",
  115. position: "bottom_left",
  116. config: {
  117. maximumEntries: 5,
  118. showLocation: true,
  119. maximumNumberOfDays: 2,
  120. titleReplace: { '🚑': '', },
  121. calendars: [
  122. {
  123. symbol: "ambulance",
  124. url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AWFOXjvMTWxYfQxCKxEaGdHaxWbWQoFZrke1cxI0VevOJI6AD1dZR0YR_tDk3Oh35o"
  125. },
  126. {
  127. symbol: "calendar-check",
  128. url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AW4zB7F4Er7L-pe0M80P5X0HC1SqZ8Yyhpxl-VqPkWwQ84lbmADkN2qL7XHj7GHwpQ"
  129. },
  130. {
  131. symbol: "calendar-check",
  132. url: "webcal://p50-caldav.icloud.com/published/2/MjE4ODU4NTI1MjE4ODU4NXgB0aDPRyaNTbFBhbPi7AXavA_dk4HtOH-Xnn95ifNlVJo7QbBTng09wDRMNJKmZ7XQQsirQ4QNkol1rrnjUWc"
  133. },
  134. ]
  135. }
  136. },
  137. {
  138. module: "calendar",
  139. header: "Biggi - heute und morgen",
  140. position: "bottom_left",
  141. config: {
  142. maximumEntries: 5,
  143. showLocation: true,
  144. maximumNumberOfDays: 2,
  145. calendars: [
  146. {
  147. symbol: "pills",
  148. url: "https://calendar.google.com/calendar/ical/ptgait6k6k5vblpkn9p63c662c%40group.calendar.google.com/private-8bda3f347dbbcb2af317c584ba9d97f4/basic.ics"
  149. },
  150. {
  151. symbol: "calendar-check",
  152. url: "https://calendar.google.com/calendar/ical/traxlerbirgit%40gmail.com/private-d992dff7e89fb0b7291f60a3dfe324c2/basic.ics"
  153. },
  154. ]
  155. }
  156. },
  157. {
  158. module: "calendar",
  159. header: "Jinaki - heute und morgen",
  160. position: "bottom_left",
  161. config: {
  162. maximumEntries: 5,
  163. showLocation: true,
  164. maximumNumberOfDays: 2,
  165. calendars: [
  166. {
  167. symbol: "paw",
  168. url: "https://calendar.google.com/calendar/ical/51egvobpdg428dpc0jrkm0b9a0%40group.calendar.google.com/private-7b8a5c55c9a1350949901104f23aa17c/basic.ics"
  169. },
  170. ]
  171. }
  172. },
  173. {
  174. module: "calendar",
  175. header: "Wohnung - heute und morgen",
  176. position: "bottom_left",
  177. config: {
  178. maximumEntries: 5,
  179. showLocation: true,
  180. maximumNumberOfDays: 2,
  181. titleReplace: { ' - Schillerstraße': '', },
  182. calendars: [
  183. {
  184. symbol: "home",
  185. url: "https://calendar.google.com/calendar/ical/2b0a2vl1q9kfjsk3p5e2psib1s%40group.calendar.google.com/private-0d830ea99e99bc834639d73dbc688e41/basic.ics"
  186. },
  187. ]
  188. }
  189. },
  190. {
  191. module: 'MMM-BurnIn',
  192. position: 'bottom_bar',
  193. config: {
  194. updateInterval: 15,
  195. invertDuration: 5
  196. }
  197. }
  198. ]
  199. };
  200. /*************** DO NOT EDIT THE LINE BELOW ***************/
  201. if (typeof module !== "undefined") { module.exports = config; }