config.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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: "updatenotification",
  18. position: "top_bar"
  19. },
  20. {
  21. module: 'MMM-Carousel',
  22. position: 'bottom_bar',
  23. config: {
  24. transitionInterval: 22000,
  25. showPageIndicators: true,
  26. showPageControls: false,
  27. ignoreModules: ["MMM-BurnIn"],
  28. mode: 'slides',
  29. slides: {
  30. "Main": [
  31. { name: 'clock', position: "top_left", carouselId: "1" },
  32. { name: 'weather', position: "top_right", carouselId: "1" },
  33. { name: 'MMM-DWD-WarnWeather', position: "top_right", carouselId: "1" }
  34. ]
  35. }
  36. }
  37. },
  38. {
  39. module: "clock",
  40. position: "top_left",
  41. config: {
  42. carouselId: '1',
  43. timeFormat: 24,
  44. }
  45. },
  46. {
  47. module: "weather",
  48. position: "top_right",
  49. config: {
  50. carouselId: "1",
  51. weatherProvider: "openweathermap",
  52. type: "current",
  53. location: "Worms",
  54. locationID: "2862485",
  55. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  56. }
  57. },
  58. {
  59. module: "weather",
  60. position: "top_right",
  61. header: "Wettervorhersage",
  62. config: {
  63. carouselId: "1",
  64. weatherProvider: "openweathermap",
  65. type: "forecast",
  66. location: "Worms",
  67. locationID: "2862485",
  68. apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
  69. }
  70. },
  71. {
  72. module: 'MMM-DWD-WarnWeather',
  73. position: 'top_right',
  74. config: {
  75. carouselId: "1",
  76. region: 'Worms',
  77. changeColor: true,
  78. minutes: false,
  79. displayRegionName: true,
  80. displayInnerHeader: true,
  81. interval: 10 * 60 * 1000,
  82. loadingText: 'Warnungen werden geladen...',
  83. noWarningText: 'Keine Warnungen',
  84. severityThreshold: 2
  85. }
  86. },
  87. {
  88. module: "MMM-BurnIn",
  89. position: "bottom_bar",
  90. config: {
  91. updateInterval: 15,
  92. invertDuration: 5
  93. }
  94. }
  95. ]
  96. };
  97. /*************** DO NOT EDIT THE LINE BELOW ***************/
  98. if (typeof module !== "undefined") { module.exports = config; }