config.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. }
  36. }
  37. },
  38. {
  39. module: "clock",
  40. position: "top_left",
  41. config: {
  42. timeFormat: 24,
  43. carouselId: "1"
  44. }
  45. },
  46. {
  47. module: "clock",
  48. position: "top_right",
  49. config: {
  50. timeFormat: 12,
  51. carouselId: "2"
  52. }
  53. }
  54. ]
  55. }