config.js 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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-HTMLSnippet', 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. /*
  38. SECTION - Main Slide
  39. */
  40. {
  41. module: 'clock',
  42. position: "top_left",
  43. config: {
  44. timeFormat: 24,
  45. carouselId: '1'
  46. }
  47. },
  48. {
  49. module: "MMM-HTMLSnippet",
  50. position: "top_center",
  51. config: {
  52. carouselId: "1",
  53. html: `
  54. <div style="text-align: center; font-family: "Roboto Condensed", sans-serif; font-weight: 400;">
  55. <h1 style="color: #FFF;">Tagesüberblick</h1>
  56. </div>`,
  57. width: "600px",
  58. height: "200px",
  59. backgroundColor: "#000",
  60. updateInterval: 600000,
  61. }
  62. },
  63. {
  64. module: 'MMM-SimpleLogo',
  65. position: 'top_right',
  66. config: {
  67. carouselId: "1",
  68. fileUrl: "modules/MMM-SimpleLogo/public/wachenwappen.png",
  69. text: "",
  70. position: "right",
  71. width: "200px",
  72. }
  73. },
  74. {
  75. module: "calendar",
  76. position: "middle_center",
  77. config: {
  78. carouselId: "1",
  79. tableClass: "large wachenaufgaben",
  80. fetchInterval: 600000, /* 600000 */
  81. maxTitleLength: 50,
  82. displaySymbol: true,
  83. showLocation: false,
  84. maxTitleLines: 1,
  85. maximumEntries: 9,
  86. maximumNumberOfDays: 1,
  87. calendars: [
  88. {
  89. /* Fahrzeug 21/83-1 */
  90. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/exdmis8xiZc54mn3?export',
  91. symbolClass: 'rtw-symbol',
  92. titleClass: 'rtw-title',
  93. timeClass: 'rtw-time',
  94. symbol: 'truck-medical'
  95. },
  96. {
  97. /* Fahrzeug 21/84-1 */
  98. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/NGATEN6qkf9wWEc6?export',
  99. symbolClass: 'nktw-symbol',
  100. titleClass: 'nktw-title',
  101. timeClass: 'nktw-time',
  102. symbol: 'truck-medical',
  103. },
  104. {
  105. /* Fahrzeug 21/85-1 */
  106. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/G6Ho8gHmWk4X7qB7?export',
  107. symbolClass: 'ktw-symbol',
  108. titleClass: 'ktw-title',
  109. timeClass: 'ktw-time',
  110. symbol: 'truck-medical',
  111. },
  112. {
  113. /* RW21 ToDo */
  114. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw?export',
  115. symbolClass: 'todo-symbol',
  116. titleClass: 'todo-title',
  117. timeClass: 'todotime',
  118. symbol: 'clipboard-list-check'
  119. },
  120. {
  121. /* RW21 Putzplan */
  122. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8?export',
  123. symbolClass: 'clean-symbol',
  124. titleClass: 'clean-title',
  125. timeClass: 'clean-time',
  126. symbol: 'vacuum',
  127. },
  128. {
  129. /* RW21 Allgemeines */
  130. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  131. symbolClass: 'info-symbol',
  132. titleClass: 'info-title',
  133. timeClass: 'info-time',
  134. symbol: 'circle-info',
  135. maximumNumberOfDays: 7,
  136. }
  137. ]
  138. }
  139. }
  140. /*
  141. !!SECTION
  142. */
  143. ]
  144. }
  145. /*************** DO NOT EDIT THE LINE BELOW ***************/
  146. if (typeof module !== "undefined") { module.exports = config; }