config.js 4.6 KB

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