Skip to content

Magic Mirror² module to display COVID data for the US

License

Notifications You must be signed in to change notification settings

daterrell/MMM-JHCOVID19

Repository files navigation

MMM-CountDown

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.

ScreenshotScreenshot

Why?

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.

How?

Manual install

  1. 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
  1. Add the module to your config/config.js file.
{
  module: 'MMM-JHCOVID19',
  position: 'top_left',
  config: {
      // See configuration options
  }
},

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

About

Magic Mirror² module to display COVID data for the US

Resources

License

Stars

Watchers

Forks