No description
- JavaScript 65.8%
- Nunjucks 28.9%
- CSS 5.3%
| .gitignore | ||
| logo.png | ||
| MMM-MyCovid19.css | ||
| MMM-MyCovid19.js | ||
| MMM-MyCovid19.njk | ||
| node_helper.js | ||
| README.md | ||
| screenshot.png | ||
Module: MMM-covid19
This module displays COVID-19 data aggregated by c19d.
Installation
- Navigate to the
MagicMirror/modulesdirectory. - Clone the module
- Configure the module as per below
- Restart MagicMirror
Using the module
modules: [
{
module: "MMM-MyCovid19",
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 -s https://c19d.smsvc.net/api/v2/districts | jq '.[].LK_Name'
MMPM integration
mmpm add-ext-pkg \
--title="MMM-MyCovid19" \
--author="smark" \
--repo="https://git.smsvc.net/MagicMirror/MMM-MyCovid19" \
--desc="covid19 statistics"
