This module show pollen concentration inside Homeassistant:
Datas provided by 'Réseau National de Surveillance Aérobiologique' (R.N.S.A.) https://pollens.fr
it's inspired by papoo work at papo-o/home-assistant-config/integrations/. and dzvents script pon.fr
If the link above does not work, you can install this custom component using HACS by adding a custom repository.
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledpollens
. - Download all the files from the
custom_components/pollens/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
The pollens integration is now available in the Integration Menu
- Select your county
- Untick the option to have numeric states or submit to stay with literal states (for particular pollens sensors only)
- Select all the pollens you want to have in sensors
You can also configure option to change default scan interval (3 hours)
Old Pollens platform configuration must be removed from configuration.yaml
file
This will create 2 sensors :
-
sensor.pollens_dept
- value: global risk level for your county in literal state
- url: https://pollens.fr
- departement: dept
-
sensor.pollens_dept_risklevel
- value: global risk level for your county in numeric state (for graphs / gauges...)
Sensors will also be created for selected particular Pollens : Tilleul, Ambroisies, Olivier, Plantain, Noisetier, Aulne, Armoise, Châtaignier, Urticacées, Oseille, Graminées, Chêne, Platane, Bouleau, Charme, Peuplier, Frêne, Saule, Cyprès, Cupressacées. These sensors are named sensor.pollens_dept_pollen-name