Jonathan Starck hace 3 años
padre
commit
e03ad2a1b0
Se han modificado 1 ficheros con 44 adiciones y 1 borrados
  1. 44 1
      config/config.js

+ 44 - 1
config/config.js

@@ -28,7 +28,9 @@ let config = {
                 mode: 'slides',
                 slides: {
                     "Main": [
-                        { name: 'clock', position: "top_left", carouselId: "1" }
+                        { name: 'clock', position: "top_left", carouselId: "1" },
+						{ name: 'weather', position: "top_right", carouselId: "1" },
+						{ name: 'MMM-DWD-WarnWeather', position: "top_right", carouselId: "1" }
                     ]
                 }
 
@@ -42,6 +44,47 @@ let config = {
 				timeFormat: 24,
 			}
 		},
+		{
+            module: "weather",
+            position: "top_right",
+            config: {
+                carouselId: "1",
+                weatherProvider: "openweathermap",
+                type: "current",
+                location: "Worms",
+                locationID: "2862485",
+                apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
+            }
+        },
+        {
+            module: "weather",
+            position: "top_right",
+            header: "Wettervorhersage",
+            config: {
+                carouselId: "1",
+                weatherProvider: "openweathermap",
+                type: "forecast",
+                location: "Worms",
+                locationID: "2862485",
+                apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
+            }
+        },
+        {
+            module: 'MMM-DWD-WarnWeather',
+            position: 'top_right',
+            config: {
+                carouselId: "1",
+                region: 'Worms',
+                changeColor: true,
+                minutes: false,
+                displayRegionName: true,
+                displayInnerHeader: true,
+                interval: 10 * 60 * 1000,
+                loadingText: 'Warnungen werden geladen...',
+                noWarningText: 'Keine Warnungen',
+                severityThreshold: 2
+            }
+        },
 		{
 			module: "MMM-BurnIn",
 			position: "bottom_bar",