This is a module for the MagicMirror² to display Covid counts for the United States, source from the COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University for the 2019 Novel Coronavirus; updated hourly.
This was the first module I wrote, and as there wasn't a module to display this information -- no matter how morbid -- it was an idea that gave me an excuse to learn.
- Clone this repository in your
modules
folder:
cd ~/MagicMirror/modules # adapt directory if you are using a different one
git clone https://github.com/daterrell/MMM-JHCOVID19.git
- Add the module to your
config/config.js
file.
{
module: 'MMM-JHCOVID19',
position: 'top_left',
config: {
// See configuration options
}
},
Option | Description |
---|---|
updateInterval |
Optional How frequently to update (default: 60000ms == 1hr) |
alwaysShowState |
Optional State name to always show, despite its rank (default: California) |
highlightState |
Optional State name to highlight (default: California) |
timezone |
Required Used to show relative time format for last updated |