config.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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: 'MMM-Carousel',
  15. position: 'bottom_bar',
  16. config: {
  17. transitionInterval: 30000,
  18. showPageIndicators: true,
  19. showPageControls: false,
  20. ignoreModules: [],
  21. mode: 'slides',
  22. slides: {
  23. Main: [
  24. {
  25. name: 'clock',
  26. position: "top_left",
  27. carouselId: "1"
  28. },
  29. {
  30. name: 'clock',
  31. position: "top_right",
  32. carouselId: "2"
  33. },
  34. {
  35. name: 'calendar',
  36. position: "middle_center",
  37. carouselId: "1"
  38. }
  39. ]
  40. }
  41. }
  42. },
  43. {
  44. module: "clock",
  45. position: "top_left",
  46. config: {
  47. timeFormat: 24,
  48. carouselId: "1"
  49. }
  50. },
  51. {
  52. module: "clock",
  53. position: "top_right",
  54. config: {
  55. timeFormat: 12,
  56. carouselId: "2"
  57. }
  58. },
  59. {
  60. module: "calendar",
  61. position: "middle_center",
  62. config: {
  63. carouselId: "1",
  64. tableClass: "large wachenaufgaben",
  65. fetchInterval: 600000,
  66. maxTitleLength: 50,
  67. displaySymbol: true,
  68. maximumNumberOfDays: 1,
  69. showLocation: false,
  70. maxTitleLines: 1,
  71. maximumEntries: 9,
  72. calendars: [
  73. {
  74. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw/?export',
  75. symbolClass: 'todo-symbol',
  76. titleClass: 'todo-title',
  77. timeClass: 'todotime',
  78. symbol: 'clipboard-list-check'
  79. },
  80. {
  81. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export',
  82. symbolClass: 'clean-symbol',
  83. titleClass: 'clean-title',
  84. timeClass: 'clean-time',
  85. symbol: 'vacuum'
  86. },
  87. {
  88. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  89. symbolClass: 'info-symbol',
  90. titleClass: 'info-title',
  91. timeClass: 'info-time',
  92. symbol: 'circle-info',
  93. maximumNumberOfDays: 7
  94. }
  95. ]
  96. }
  97. }
  98. ]
  99. }