config.js 6.7 KB

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