config.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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",
  55. config: {
  56. carouselId: "1",
  57. tableClass: "large wachenaufgaben",
  58. fetchInterval: 6000, /* 600000 */
  59. maxTitleLength: 50,
  60. displaySymbol: true,
  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. maximumNumberOfDays: 1
  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. maximumNumberOfDays: 1
  80. },
  81. {
  82. url: 'https://nc.x0p.it/remote.php/dav/public-calendars/eMQW6HmyjfgS8bXq?export',
  83. symbolClass: 'info-symbol',
  84. titleClass: 'info-title',
  85. timeClass: 'info-time',
  86. symbol: 'circle-info',
  87. maximumNumberOfDays: 7,
  88. }
  89. ]
  90. }
  91. }
  92. ]
  93. }
  94. /*************** DO NOT EDIT THE LINE BELOW ***************/
  95. if (typeof module !== "undefined") { module.exports = config; }