MagicMirror module to get the pollen.fr forecast for your region code inspired by WWW-POLLEN https://github.com/vincep5/MMM-Pollen
modules
folder and execute git clone https://github.com/lekesako/MMM-Pollen-FR
. A new folder MMM-Pollen-FR
will appear, navigate into it.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