No description
.gitignore | ||
logo.png | ||
MMM-covid19.css | ||
MMM-covid19.js | ||
README.md | ||
screenshot.png |
Module: MMM-covid19
This module displays COVID-19 data aggregated by rp-online.
Installation
- Navigate to the
MagicMirror/modules
directory. - Clone the module
- Configure the module as per below
- Restart MagicMirror
Using the module
modules: [
{
module: "MMM-covid19",
position: "top_left",
config: {
// The config property is optional.
// If no config is set, an example calendar is shown.
// 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}'