config.js 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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: `<div><h1 style="color: #FFF;">Tagesüberblick</h1></div>`,
  54. width: "600px",
  55. height: "300px",
  56. backgroundColor: "#000",
  57. updateInterval: 600000,
  58. }
  59. },
  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. {
  72. module: "calendar",
  73. position: "middle_center",
  74. config: {
  75. carouselId: "1",
  76. tableClass: "large wachenaufgaben",
  77. fetchInterval: 600000, /* 600000 */
  78. maxTitleLength: 50,
  79. displaySymbol: true,
  80. showLocation: false,
  81. maxTitleLines: 1,
  82. maximumEntries: 9,
  83. maximumNumberOfDays: 1,
  84. calendars: [
  85. {
  86. /* Fahrzeug 21/83-1 */
  87. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/exdmis8xiZc54mn3?export',
  88. symbolClass: 'rtw-symbol',
  89. titleClass: 'rtw-title',
  90. timeClass: 'rtw-time',
  91. symbol: 'truck-medical'
  92. },
  93. {
  94. /* Fahrzeug 21/84-1 */
  95. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/NGATEN6qkf9wWEc6?export',
  96. symbolClass: 'nktw-symbol',
  97. titleClass: 'nktw-title',
  98. timeClass: 'nktw-time',
  99. symbol: 'truck-medical',
  100. },
  101. {
  102. /* Fahrzeug 21/85-1 */
  103. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/G6Ho8gHmWk4X7qB7?export',
  104. symbolClass: 'ktw-symbol',
  105. titleClass: 'ktw-title',
  106. timeClass: 'ktw-time',
  107. symbol: 'truck-medical',
  108. },
  109. {
  110. /* RW21 ToDo */
  111. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw?export',
  112. symbolClass: 'todo-symbol',
  113. titleClass: 'todo-title',
  114. timeClass: 'todotime',
  115. symbol: 'clipboard-list-check'
  116. },
  117. {
  118. /* RW21 Putzplan */
  119. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8?export',
  120. symbolClass: 'clean-symbol',
  121. titleClass: 'clean-title',
  122. timeClass: 'clean-time',
  123. symbol: 'vacuum',
  124. },
  125. {
  126. /* RW21 Allgemeines */
  127. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  128. symbolClass: 'info-symbol',
  129. titleClass: 'info-title',
  130. timeClass: 'info-time',
  131. symbol: 'circle-info',
  132. maximumNumberOfDays: 7,
  133. }
  134. ]
  135. }
  136. }
  137. /*
  138. !!SECTION
  139. */
  140. ]
  141. }
  142. /*************** DO NOT EDIT THE LINE BELOW ***************/
  143. if (typeof module !== "undefined") { module.exports = config; }