config.js 4.7 KB

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