No description
Find a file
2020-10-19 07:40:47 +02:00
.gitignore Genesis 2020-07-26 15:09:41 +02:00
logo.png FEAT: add logo 2020-07-26 15:14:41 +02:00
MMM-covid19.css FIX: use default css classes for font size 2020-07-27 16:54:53 +02:00
MMM-covid19.js BREAK: move color and icon for trend to template 2020-10-15 21:04:28 +02:00
MMM-covid19.njk FIX: warn class when new7_100k > 50 2020-10-19 07:40:47 +02:00
README.md DOC: update format in README 2020-08-06 20:21:43 +02:00
screenshot.png FEAT: add screenshot 2020-07-26 15:35:36 +02:00

Module: MMM-covid19

This module displays COVID-19 data aggregated by rp-online.

Installation

  1. Navigate to the MagicMirror/modules directory.
  2. Clone the module
  3. Configure the module as per below
  4. Restart MagicMirror

Using the module

modules: [
        {
                module: "MMM-covid19",
                position: "top_left",
                config: {
                        // The config property is optional.
                        // See 'Configuration options' for more information.
                }
        }
]

Configuration options

Option Description
region Choose region to be fetched
Default: Bonn
updateInterval How often does the content needs to be fetched? (Milliseconds)
Default: 10800000 (4 hours)
showHeader Show COVID-19 Daten as module header?
Values: true or /false
Default: true
appendLocationNameToHeader Append region name to header?
Values: true or /false
Default: true

List available regions

curl https://rp-online.de/app/interaktiv_server/data/rki_nrw_mapped.json.php | jq | awk '/^ "/ {print}'

MMPM integration

mmpm add-ext-pkg \
	--title="MMM-covid19" \
	--author="smark" \
	--repo="https://git.smsvc.net/MagicMirror/MMM-covid19" \
	--desc="covid19 statistics"