config.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
  29. { name: 'calendar', position: "middle_center", carouselId: "1" }
  30. ],
  31. "Slide 2": [
  32. { name: 'clock', position: "top_left", carouselId: "1" },
  33. { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
  34. { name: 'calendar', position: "middle_center", carouselId: "2" }
  35. ]
  36. }
  37. }
  38. },
  39. /*
  40. SECTION - Main Slide
  41. */
  42. {
  43. module: 'clock',
  44. position: "top_left",
  45. config: {
  46. timeFormat: 24,
  47. carouselId: '1'
  48. }
  49. },
  50. {
  51. module: 'MMM-SimpleLogo',
  52. position: 'top_right',
  53. config: {
  54. carouselId: "1",
  55. fileUrl: "modules/MMM-SimpleLogo/public/wachenwappen.png",
  56. text: "",
  57. position: "right",
  58. width: "200px",
  59. }
  60. },
  61. {
  62. module: "calendar",
  63. header: "Tagesübersicht",
  64. classes: "daily-overview",
  65. position: "middle_center",
  66. config: {
  67. carouselId: "1",
  68. tableClass: "large wachenaufgaben",
  69. fetchInterval: 600000, /* 600000 */
  70. maxTitleLength: 50,
  71. displaySymbol: true,
  72. showLocation: false,
  73. maxTitleLines: 1,
  74. maximumEntries: 9,
  75. maximumNumberOfDays: 1,
  76. calendars: [
  77. {
  78. /* Fahrzeug 21/83-1 */
  79. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/exdmis8xiZc54mn3?export',
  80. symbolClass: 'rtw-symbol',
  81. titleClass: 'rtw-title',
  82. timeClass: 'rtw-time',
  83. symbol: 'truck-medical'
  84. },
  85. {
  86. /* Fahrzeug 21/84-1 */
  87. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/NGATEN6qkf9wWEc6?export',
  88. symbolClass: 'nktw-symbol',
  89. titleClass: 'nktw-title',
  90. timeClass: 'nktw-time',
  91. symbol: 'truck-medical',
  92. },
  93. {
  94. /* Fahrzeug 21/85-1 */
  95. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/G6Ho8gHmWk4X7qB7?export',
  96. symbolClass: 'ktw-symbol',
  97. titleClass: 'ktw-title',
  98. timeClass: 'ktw-time',
  99. symbol: 'truck-medical',
  100. },
  101. {
  102. /* RW21 ToDo */
  103. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw?export',
  104. symbolClass: 'todo-symbol',
  105. titleClass: 'todo-title',
  106. timeClass: 'todotime',
  107. symbol: 'clipboard-list-check'
  108. },
  109. {
  110. /* RW21 Putzplan */
  111. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8?export',
  112. symbolClass: 'clean-symbol',
  113. titleClass: 'clean-title',
  114. timeClass: 'clean-time',
  115. symbol: 'vacuum',
  116. },
  117. {
  118. /* RW21 Allgemeines */
  119. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  120. symbolClass: 'info-symbol',
  121. titleClass: 'info-title',
  122. timeClass: 'info-time',
  123. symbol: 'circle-info',
  124. maximumNumberOfDays: 7,
  125. }
  126. ]
  127. }
  128. },
  129. /*
  130. !!SECTION
  131. */
  132. /*
  133. SECTION - Slide 2
  134. */
  135. {
  136. module: "calendar",
  137. header: "MZ 21/83-1",
  138. classes: "rtw-overview",
  139. position: "middle_center",
  140. config: {
  141. carouselId: "2",
  142. tableClass: "large wachenaufgaben",
  143. fetchInterval: 600000, /* 600000 */
  144. maxTitleLength: 50,
  145. displaySymbol: true,
  146. showLocation: false,
  147. maxTitleLines: 1,
  148. maximumEntries: 9,
  149. maximumNumberOfDays: 1,
  150. calendars: [
  151. {
  152. /* Fahrzeug 21/83-1 */
  153. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/exdmis8xiZc54mn3?export',
  154. symbolClass: 'rtw-symbol',
  155. titleClass: 'rtw-title',
  156. timeClass: 'rtw-time',
  157. symbol: 'truck-medical'
  158. },
  159. {
  160. /* RW21 ToDo */
  161. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw?export',
  162. symbolClass: 'todo-symbol',
  163. titleClass: 'todo-title',
  164. timeClass: 'todotime',
  165. symbol: 'clipboard-list-check'
  166. }
  167. ]
  168. }
  169. }
  170. /*
  171. !!SECTION
  172. */
  173. ]
  174. }
  175. /*************** DO NOT EDIT THE LINE BELOW ***************/
  176. if (typeof module !== "undefined") { module.exports = config; }