No description
Find a file
2021-12-29 08:57:02 +00: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-MyCovid19.css BREAK: rename to MMM-MyCovid19 2021-07-02 08:30:19 +02:00
MMM-MyCovid19.js FIX: XMLHttpRequest blocked by CORS policy 2021-09-08 09:43:25 +02:00
MMM-MyCovid19.njk BREAK: replace datasource (rp-online by c19d) 2021-10-20 08:35:22 +02:00
node_helper.js BREAK: replace datasource (rp-online by c19d) 2021-10-20 08:35:22 +02:00
README.md DOC: Update README 2021-12-29 08:57:02 +00:00
screenshot.png BREAK: replace datasource (rp-online by c19d) 2021-10-20 08:35:22 +02:00

Module: MMM-covid19

This module displays COVID-19 data aggregated by c19d.

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-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"