MagicMirror module to get the pollen.fr forecast for your region code inspired by WWW-POLLEN https://github.com/vincep5/MMM-Pollen
- Navigate into your MagicMirror's
modules
folder and executegit clone https://github.com/lekesako/MMM-Pollen-FR
. A new folderMMM-Pollen-FR
will appear, navigate into it. - Execute
npm install
to install the node dependencies.
The entry in config.js
can include the following options:
Option | Description |
---|---|
updateInterval |
Required update interval to refresh data for api pollen FR Type: string Default value: null |
region_code |
This is the region code (example : 75 for Paris) of the location you want to get the pollen risks for. Type: number Default value: null |
minLevel |
This is the minimal risk you want to display. Type: number Default value: 1 |
Here is an example of an entry in config.js
modules: [
{
module: "MMM-Pollen-FR",
position: "top_left",
header: "Météo Pollen France",
config: {
updateInterval: 3 * 60 * 60 * 1000, // every 3 hours
region_code: "59",
minLevel: 0
}
},
]
you can see this url to get region_code - https://www.regions-et-departements.fr/departements-francais
- Michael Teeuw for the MagicMirror2 framework that made this module possible.
- vincep5 whose MMM-Pollen module I use and whose code I learnt a great deal from.