config.js 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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. { name: 'clock', position: "top_left", carouselId: "1" },
  33. { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
  34. { name: 'calendar', position: "middle_center", carouselId: "2" }
  35. ],
  36. "Slide 3": [
  37. { name: 'clock', position: "top_left", carouselId: "1" },
  38. { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
  39. { name: 'calendar', position: "middle_center", carouselId: "3" }
  40. ],
  41. "Slide 4": [
  42. { name: 'clock', position: "top_left", carouselId: "1" },
  43. { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
  44. { name: 'calendar', position: "middle_center", carouselId: "4" }
  45. ],
  46. }
  47. }
  48. },
  49. /*
  50. SECTION - Main Slide
  51. */
  52. {
  53. module: 'clock',
  54. position: "top_left",
  55. config: {
  56. timeFormat: 24,
  57. carouselId: '1'
  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. header: "Tagesübersicht",
  74. classes: "daily-overview",
  75. position: "middle_center",
  76. config: {
  77. carouselId: "1",
  78. tableClass: "large daily-overview-table wachenaufgaben",
  79. fetchInterval: 600000, /* 600000 */
  80. maxTitleLength: 50,
  81. displaySymbol: true,
  82. showLocation: false,
  83. maxTitleLines: 1,
  84. maximumEntries: 9,
  85. maximumNumberOfDays: 1,
  86. calendars: [
  87. {
  88. /* RW21 Wachenaufgaben */
  89. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw?export',
  90. symbolClass: 'todo-symbol',
  91. titleClass: 'todo-title',
  92. timeClass: 'todotime',
  93. symbol: 'clipboard-list-check'
  94. },
  95. {
  96. /* RW21 Putzplan */
  97. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8?export',
  98. symbolClass: 'clean-symbol',
  99. titleClass: 'clean-title',
  100. timeClass: 'clean-time',
  101. symbol: 'vacuum',
  102. },
  103. {
  104. /* RW21 Allgemeines */
  105. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  106. symbolClass: 'info-symbol',
  107. titleClass: 'info-title',
  108. timeClass: 'info-time',
  109. symbol: 'circle-info',
  110. maximumNumberOfDays: 7,
  111. }
  112. ]
  113. }
  114. },
  115. /*
  116. !!SECTION
  117. */
  118. /*
  119. SECTION - Slide 2
  120. */
  121. {
  122. module: "calendar",
  123. header: "MZ 21/83-1",
  124. classes: "rtw-overview",
  125. position: "middle_center",
  126. config: {
  127. carouselId: "2",
  128. tableClass: "large daily-overview-table fahrzeugaufgaben fahrzeugaufgaben-rtw",
  129. fetchInterval: 600000, /* 600000 */
  130. maxTitleLength: 50,
  131. displaySymbol: true,
  132. showLocation: false,
  133. maxTitleLines: 1,
  134. maximumEntries: 9,
  135. maximumNumberOfDays: 1,
  136. calendars: [
  137. {
  138. /* Fahrzeug 21/83-1 */
  139. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/exdmis8xiZc54mn3?export',
  140. symbolClass: 'rtw-symbol',
  141. titleClass: 'rtw-title',
  142. timeClass: 'rtw-time',
  143. symbol: 'truck-medical'
  144. }
  145. ]
  146. }
  147. },
  148. /*
  149. !!SECTION
  150. */
  151. /*
  152. SECTION - Slide 3
  153. */
  154. {
  155. module: "calendar",
  156. header: "MZ 21/84-1",
  157. classes: "nktw-overview",
  158. position: "middle_center",
  159. config: {
  160. carouselId: "3",
  161. tableClass: "large daily-overview-table fahrzeugaufgaben fahrzeugaufgaben-nktw",
  162. fetchInterval: 600000, /* 600000 */
  163. maxTitleLength: 50,
  164. displaySymbol: true,
  165. showLocation: false,
  166. maxTitleLines: 1,
  167. maximumEntries: 9,
  168. maximumNumberOfDays: 1,
  169. calendars: [
  170. {
  171. /* Fahrzeug 21/84-1 */
  172. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/NGATEN6qkf9wWEc6?export',
  173. symbolClass: 'nktw-symbol',
  174. titleClass: 'nktw-title',
  175. timeClass: 'nktw-time',
  176. symbol: 'truck-medical',
  177. },
  178. ]
  179. }
  180. },
  181. /*
  182. !!SECTION
  183. */
  184. /*
  185. SECTION - Slide 4
  186. */
  187. {
  188. module: "calendar",
  189. header: "MZ 21/85-1",
  190. classes: "ktw-overview",
  191. position: "middle_center",
  192. config: {
  193. carouselId: "4",
  194. tableClass: "large daily-overview-table fahrzeugaufgaben fahrzeugaufgaben-ktw",
  195. fetchInterval: 600000, /* 600000 */
  196. maxTitleLength: 50,
  197. displaySymbol: true,
  198. showLocation: false,
  199. maxTitleLines: 1,
  200. maximumEntries: 9,
  201. maximumNumberOfDays: 1,
  202. calendars: [
  203. {
  204. /* Fahrzeug 21/85-1 */
  205. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/G6Ho8gHmWk4X7qB7?export',
  206. symbolClass: 'ktw-symbol',
  207. titleClass: 'ktw-title',
  208. timeClass: 'ktw-time',
  209. symbol: 'truck-medical',
  210. }
  211. ]
  212. }
  213. }
  214. /*
  215. !!SECTION
  216. */
  217. ]
  218. }
  219. /*************** DO NOT EDIT THE LINE BELOW ***************/
  220. if (typeof module !== "undefined") { module.exports = config; }