config.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. "Slide 1": [
  36. {
  37. name: 'clock',
  38. position: 'top_left',
  39. carouselId: '2'
  40. },
  41. {
  42. name: "clock",
  43. position: 'top_right',
  44. carouselId: '1'
  45. }
  46. ]
  47. }
  48. }
  49. },
  50. {
  51. module: 'clock',
  52. position: 'top_left',
  53. config: {
  54. timeFormat: 24,
  55. carouselId: '1'
  56. }
  57. },
  58. {
  59. module: 'clock',
  60. position: 'top_right',
  61. config: {
  62. timeFormat: 12,
  63. carouselId: '2'
  64. }
  65. }
  66. ]
  67. }