config.js 4.7 KB

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