Skip to content

A MagicMirror module to display pollen pollution based on data from the "deutscher wetter dienst" (dwd).

License

Notifications You must be signed in to change notification settings

devduisburg/MMM-pollen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A MagicMirror module to display pollen pollution based on data from the "deutscher wetter dienst" (dwd).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published