A MagicMirror module to display current pollen
intensity and forecast for the next day based on data from the "deutscher wetter dienst" (dwd).
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,
}
}
]
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 |
git clone https://github.com/devduisburg/MMM-pollen.git
into~/MagicMirror/modules
directory.
{
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"
}
},
- Retrieve long/latitude from ZIP code
- Nicer icons