Skip to content
A MagicMirror module to display pollen pollution based on data from the "deutscher wetter dienst" (dwd).
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Feb 17, 2018
MMM-pollen.js
README.md
intensity.png
preview.png README beautified Feb 19, 2018

README.md

MMM-pollen

A MagicMirror module to display current pollen intensity and forecast for the next day based on data from the "deutscher wetter dienst" (dwd).

Preview

preview

Intensity and related icon

preview

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: "MMM-pollen",
		position: "bottom-center",	// This can be any of the regions.
		config: {
			// See 'Configuration options' for more information.
			locationLongitude: 6.77,
			locationLatitude: 51.4,
		}
	}
]

Configuration options

The following properties can be configured:

Option Default Description
locationLongitude Longitude for the location for which the pollen intensity will be shown
locationLatitude Latitude for the location for which the pollen intensity will be shown
noEmptyLines true Show only lines in the table for pollen with intensity greater than none.
showPollenArea true Prints forecast area above intensity table.
pollenLayers all types List of pollen (see below) for which the intensity will be shown. Specify as a comma separated list, no spaces between values!
Tag for configuration English name German name
Pollenflug_Hasel Hazel Hasel
Pollenflug_Erle Alder Erle
Pollenflug_Esche Ash Esche
Pollenflug_Birke Birch Birke
Pollenflug_Graeser Grass Graeser
Pollenflug_Roggen Rye Roggen
Pollenflug_Beifuss Mugwort Beifuss
Pollenflug_Ambrosia Ragweed Ambrosia

Installation of module and dependencies

  • git clone https://github.com/devduisburg/MMM-pollen.git into ~/MagicMirror/modules directory.

Add to Config.js

{
    module: "MMM-pollen",
position: 'middle_center',
    header: 'pollen forecast',
config: {
		locationLongitude: 6.77,
		locationLatitude: 51.4,
		noEmptyLines: true,
		showPollenArea: true,
		pollenLayers: "Pollenflug_Hasel,Pollenflug_Erle,Pollenflug_Esche,Pollenflug_Birke,Pollenflug_Graeser,Pollenflug_Roggen,Pollenflug_Beifuss,Pollenflug_Ambrosia"
    }
},

Coming soon

  • Retrieve long/latitude from ZIP code
  • Nicer icons
You can’t perform that action at this time.