config.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. "calendar"
  29. ],
  30. "Slide 2": [
  31. { name: 'clock', classes: '', position: "top_left", carouselId: "2" }
  32. ]
  33. }
  34. }
  35. },
  36. {
  37. module: 'clock',
  38. position: "top_left",
  39. config: {
  40. timeFormat: 24,
  41. carouselId: '1'
  42. }
  43. },
  44. {
  45. module: 'clock',
  46. position: "top_left",
  47. config: {
  48. timeFormat: 12,
  49. carouselId: '2'
  50. }
  51. },
  52. {
  53. module: "calendar",
  54. position: "middle_center",
  55. config: {
  56. tableClass: "large wachenaufgaben",
  57. fetchInterval: 600000,
  58. maxTitleLength: 50,
  59. displaySymbol: true,
  60. maximumNumberOfDays: 1,
  61. showLocation: false,
  62. maxTitleLines: 1,
  63. maximumEntries: 9,
  64. calendars: [
  65. {
  66. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw/?export',
  67. symbolClass: 'todo-symbol',
  68. titleClass: 'todo-title',
  69. timeClass: 'todotime',
  70. symbol: 'clipboard-list-check',
  71. },
  72. {
  73. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export',
  74. symbolClass: 'clean-symbol',
  75. titleClass: 'clean-title',
  76. timeClass: 'clean-time',
  77. symbol: 'vacuum',
  78. },
  79. {
  80. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  81. symbolClass: 'info-symbol',
  82. titleClass: 'info-title',
  83. timeClass: 'info-time',
  84. symbol: 'circle-info',
  85. maximumNumberOfDays: 7,
  86. }
  87. ]
  88. }
  89. }
  90. ]
  91. }