Jonathan Starck 3 anni fa
parent
commit
b9fb254606
1 ha cambiato i file con 26 aggiunte e 1 eliminazioni
  1. 26 1
      config/config.js

+ 26 - 1
config/config.js

@@ -32,7 +32,8 @@ let config = {
 					main: ['weather', 'MMM-DWD-WarnWeather', 'MMM-ImageSlideshow', 'MMM-SimpleLogo','MMM-CalendarExt2', 'newsfeed'],
 					"Slide 2": ['MMM-SimpleLogo', 'calendar'],
 					"Slide 3": ['MMM-EasyPix'],
-					"Slide 4": ['compliments', 'MMM-SimpleLogo']
+					"Slide 4": ['compliments', 'MMM-SimpleLogo'],
+					"Slide 5": ['MMM-COVID19-AMPEL']
 					/*main: ['MMM-SimpleLogo','calendar']*/
 				}
 			}
@@ -210,6 +211,30 @@ let config = {
 				],
 			}
 		},
+		{
+			module: 'MMM-COVID19-AMPEL',
+			position: 'bottom_right',
+			config:	{
+			  header: 'COVID-19 Inzidenzwert', // Header Title of Display on MagicMirror
+			  cityID: ["224","223"], // City ID from  https://npgeo-corona-npgeo-de.hub.arcgis.com/datasets/917fc37a709542548cc3be077a786c17_0/data
+			  infoRowClass: "small", // small, medium
+			  showUpdateDateInHeader: true, //Show update date in header
+			  showUpdateDateInRow: false, //Show update date in each row
+			  showStatusLightLeft: true, //Show left status light
+			  showStatusLightRight: true, // Show right status light
+			  showTitle: true, //Show Title row with headlines if you want to display more than one information
+			  showSKLK: true, //Show the Region information if the Pace displayed is the city or regional area (Stadt or Land) 
+			  showCases: true, //Show amount of active cases in city
+			  showCasesPerPeople: true, //Show Percentage of active cases per inhabitant
+			  showDeathRatePerPeople: true, //show death rate in % of infected people
+			  show7DayIncidence: true, // Show 7 day incidence value for your location
+			  landModeOnly: false, // Shows Bundesland instead of City in Bundesland (Thos who want to display only the Bundesland)
+			  showVaccinations: true, //Shows the total quota of fist shots people got in the whole country in header 
+			  numberOfDigits: 2, //Round the Percentage and incidence value to number of digits
+			  updateInterval: 3600000, // update interval in milliseconds // 1 Hour - Values are only refreshed every 24 H on Server
+			  fadeSpeed: 4000
+			  }
+		  }
 		// {
 		// 	module: "MMM-CalendarExt2",
 		// 	config: {