config.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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: 'calendar', position: "middle_center", carouselId: "1" }
  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", // This can be any of the regions. Best results in left or right regions.
  55. config: {
  56. carouselId: "1",
  57. tableClass: "large wachenaufgaben",
  58. fetchInterval: 600000,
  59. maxTitleLength: 50,
  60. displaySymbol: true,
  61. maximumNumberOfDays: 1,
  62. showLocation: false,
  63. maxTitleLines: 1,
  64. maximumEntries: 9,
  65. calendars: [
  66. {
  67. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/ZMGgBLGn52oATzDw/?export',
  68. symbolClass: 'todo-symbol',
  69. titleClass: 'todo-title',
  70. timeClass: 'todotime',
  71. symbol: 'clipboard-list-check',
  72. },
  73. {
  74. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/WW49cKGiiZyy95q8/?export',
  75. symbolClass: 'clean-symbol',
  76. titleClass: 'clean-title',
  77. timeClass: 'clean-time',
  78. symbol: 'vacuum',
  79. },
  80. {
  81. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  82. symbolClass: 'info-symbol',
  83. titleClass: 'info-title',
  84. timeClass: 'info-time',
  85. symbol: 'circle-info',
  86. maximumNumberOfDays: 7,
  87. }
  88. ]
  89. }
  90. }
  91. ]
  92. }
  93. /*************** DO NOT EDIT THE LINE BELOW ***************/
  94. if (typeof module !== "undefined") { module.exports = config; }