Jonathan Starck il y a 3 ans
Parent
commit
458283b6ed
1 fichiers modifiés avec 48 ajouts et 42 suppressions
  1. 48 42
      config/config.js

+ 48 - 42
config/config.js

@@ -1,92 +1,98 @@
 let config = {
-	address: ['localhost', '127.0.0.1', '::1', '0.0.0.0', '::']
+	address: "0.0.0.0",
 	port: 8080,
-	basePath: '/',
+	basePath: "/",
 	ipWhitelist: [],
-	language: 'de',
-	locale: 'de-DE',
-	logLevel: ['INFO', 'LOG', 'WARN', 'ERROR'],
+	language: "de",
+	locale: "de-DE",
+	logLevel: ["INFO", "LOG", "WARN", "ERROR"],
 	timeFormat: 24,
-	units: 'metric',
+	units: "metric",
 	modules: [
 		{
-			module: 'alert',
+			module: "alert",
 		},
 		{
-			module: 'updatenotification',
-			position: 'top_bar'
+			module: "updatenotification",
+			position: "top_bar"
 		},
 		{
-			module: 'MMM-BurnIn',
-			position: 'bottom_bar',
+			module: "MMM-BurnIn",
+			position: "bottom_bar",
 			config: {
 				updateInterval: 15,
 				invertDuration: 5
 			}
 		},
 		{
-			module: 'MMM-Carousel',
-			position: 'bottom_bar',
+			module: "MMM-Carousel",
+			position: "bottom_bar",
 			config: {
 				transitionInterval: 20000,
-				ignoreModules: ['alert', 'updatenotification', 'MMM-BurnIn'],
-				mode: 'slides',
+				ignoreModules: ["alert", "updatenotification", "MMM-BurnIn"],
+				mode: "slides",
 				showPageIndicators: true,
 				showPageControls: true,
 				slides: {
 					main: [
-						{ name: 'clock', position: 'top_left', carouselId: '1' },
-						{ name: 'weather', position: 'top_right', carouselId: '1' },
-						{ name: 'compliments', position: 'top_right', carouselId: '1' }
+						{ name: "clock", position: "top_left", carouselId: "1" },
+						{ name: "weather", position: "top_right", carouselId: "1" },
+						{ name: "compliments", position: "middle_center", carouselId: "1" }
 					],
+					"Birgit" [
+						{ name: "clock", position: "top_left", carouselId: "1" }
+					],
+					"Jonathan" [
+						{ name: "clock", position: "top_left", carouselId: "1" }
+					]
 				},
 			}
 		},
 		{
-			module: 'clock',
-			position: 'top_left',
+			module: "clock",
+			position: "top_left",
 			config: {
-				carouselId: '1',
+				carouselId: "1",
 				timeFormat: 24,
 			}
 		},
 		{
-			module: 'weather',
-			position: 'top_right',
+			module: "weather",
+			position: "top_right",
 			config: {
-				carouselId: '1'
-				weatherProvider: 'openweathermap',
-				type: 'current',
-				location: 'Worms',
-				locationID: '2806142', //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
-				apiKey: 'e3185c8094b5cbc1d4291d0dcf64e113'
+				carouselId: "1"
+				weatherProvider: "openweathermap",
+				type: "current",
+				location: "Worms",
+				locationID: "2806142",
+				apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
 			}
 		},
 		{
-			module: 'weather',
-			position: 'top_right',
-			header: 'Wettervorhersage',
+			module: "weather",
+			position: "top_right",
+			header: "Wettervorhersage",
 			config: {
-				carouselId: '1'
-				weatherProvider: 'openweathermap',
-				type: 'forecast',
-				location: 'Worms',
-				locationID: '2806142', //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
-				apiKey: 'e3185c8094b5cbc1d4291d0dcf64e113'
+				carouselId: "1"
+				weatherProvider: "openweathermap",
+				type: "forecast",
+				location: "Worms",
+				locationID: "2806142",
+				apiKey: "e3185c8094b5cbc1d4291d0dcf64e113"
 			}
 		},
 		{
-            module: 'compliments',
-            position: 'middle_center',
+            module: "compliments",
+            position: "middle_center",
             config: {
-                carouselId: '1',
+                carouselId: "1",
                 updateInterval: 20000,
                 fadeSpeed: 3000,
                 morningStartTime: 5,
                 morningEndTime: 12,
                 afternoonStartTime: 12,
                 afternoonEndTime: 20,
-				remoteFile: 'https://gist.githubusercontent.com/Psycho0verload/af47b09bacebfc887a5a4f7fef44fd39/raw/compliments.json'
+				remoteFile: "https://gist.githubusercontent.com/Psycho0verload/af47b09bacebfc887a5a4f7fef44fd39/raw/compliments.json"
             }
         }
 	]