Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MM is black #19

Closed
DiWa2194 opened this issue May 27, 2021 · 3 comments
Closed

MM is black #19

DiWa2194 opened this issue May 27, 2021 · 3 comments

Comments

@DiWa2194
Copy link

DiWa2194 commented May 27, 2021

Hi,
I cloned the files from github and added the lines below to the config.js file, but the MM is completely black. config:check has no errors. If I comment out the lines, the MM is running with my modules.
Any suggestions how to fix it? Thanks.

{
module: "MMM-COVID19-AMPEL",
position: "top_center",
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
}
},

@magic21nrw
Copy link
Owner

Please get latest version with git pull and run npm install to install all necessary plugins (I updated the version just a few days ago to eliminate a bug with retrieving the file for vaccinations which requires another request module from npm). If this is missing it is not working.

But other than that - module should work as desired.

@magic21nrw
Copy link
Owner

I added the info to git pull && npm install - for upgrading. Please do that and try again. If it is not working - please open again with your syslog and log file attached including the messages when starting the magic mirror.

@DiWa2194
Copy link
Author

Thanks, that did the trick! Great module!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants