config.js 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. let config = {
  2. address: "0.0.0.0",
  3. port: 8080,
  4. basePath: "/",
  5. ipWhitelist: [],
  6. useHttps: false,
  7. language: "de",
  8. locale: "de-DE",
  9. logLevel: ["INFO", "LOG", "WARN", "ERROR"],
  10. timeFormat: 24,
  11. units: "metric",
  12. modules: [
  13. {
  14. module: "alert",
  15. },
  16. {
  17. module: 'MMM-Carousel',
  18. position: 'bottom_bar',
  19. config: {
  20. transitionInterval: 30000,
  21. showPageIndicators: true,
  22. showPageControls: false,
  23. ignoreModules: [],
  24. mode: 'slides',
  25. slides: {
  26. Main: [
  27. { name: 'clock', position: "top_left", carouselId: "1" },
  28. { name: 'clock', position: "top_center", carouselId: "1" },
  29. { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
  30. { name: 'calendar', position: "middle_center", carouselId: "1" }
  31. ],
  32. "Slide 2": [
  33. ]
  34. }
  35. }
  36. },
  37. /* Angepasste Uhren */
  38. {
  39. module: 'clock',
  40. position: "top_left",
  41. config: {
  42. timeFormat: 24,
  43. carouselId: '1'
  44. }
  45. },
  46. /* Angepasste HTML Snippets */
  47. {
  48. module: "MMM-HTMLSnippet",
  49. position: "top_left",
  50. config: {
  51. carouselId: "1",
  52. html: `<h1>Tagesüberblick</h1>`,
  53. width: "600px",
  54. height: "300px",
  55. backgroundColor: "#FFF",
  56. updateInterval: 0,
  57. }
  58. },
  59. /* Angepasste Logos */
  60. {
  61. module: 'MMM-SimpleLogo',
  62. position: 'top_right',
  63. config: {
  64. carouselId: "1",
  65. fileUrl: "modules/MMM-SimpleLogo/public/wachenwappen.png",
  66. text: "",
  67. position: "right",
  68. width: "200px",
  69. }
  70. },
  71. /* Angepasste Calender */
  72. {
  73. module: "calendar",
  74. position: "middle_center",
  75. config: {
  76. carouselId: "1",
  77. tableClass: "large wachenaufgaben",
  78. fetchInterval: 600000, /* 600000 */
  79. maxTitleLength: 50,
  80. displaySymbol: true,
  81. showLocation: false,
  82. maxTitleLines: 1,
  83. maximumEntries: 9,
  84. maximumNumberOfDays: 1,
  85. calendars: [
  86. {
  87. /* Fahrzeug 21/83-1 */
  88. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/exdmis8xiZc54mn3?export',
  89. symbolClass: 'rtw-symbol',
  90. titleClass: 'rtw-title',
  91. timeClass: 'rtw-time',
  92. symbol: 'truck-medical'
  93. },
  94. {
  95. /* Fahrzeug 21/84-1 */
  96. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/NGATEN6qkf9wWEc6?export',
  97. symbolClass: 'nktw-symbol',
  98. titleClass: 'nktw-title',
  99. timeClass: 'nktw-time',
  100. symbol: 'truck-medical',
  101. },
  102. {
  103. /* Fahrzeug 21/85-1 */
  104. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/G6Ho8gHmWk4X7qB7?export',
  105. symbolClass: 'ktw-symbol',
  106. titleClass: 'ktw-title',
  107. timeClass: 'ktw-time',
  108. symbol: 'truck-medical',
  109. },
  110. {
  111. /* RW21 ToDo */
  112. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw?export',
  113. symbolClass: 'todo-symbol',
  114. titleClass: 'todo-title',
  115. timeClass: 'todotime',
  116. symbol: 'clipboard-list-check'
  117. },
  118. {
  119. /* RW21 Putzplan */
  120. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8?export',
  121. symbolClass: 'clean-symbol',
  122. titleClass: 'clean-title',
  123. timeClass: 'clean-time',
  124. symbol: 'vacuum',
  125. },
  126. {
  127. /* RW21 Allgemeines */
  128. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  129. symbolClass: 'info-symbol',
  130. titleClass: 'info-title',
  131. timeClass: 'info-time',
  132. symbol: 'circle-info',
  133. maximumNumberOfDays: 7,
  134. }
  135. ]
  136. }
  137. }
  138. ]
  139. }
  140. /*************** DO NOT EDIT THE LINE BELOW ***************/
  141. if (typeof module !== "undefined") { module.exports = config; }