Skip to content

chris60600/pollens-home-assistant

Repository files navigation

Downloads for latest release hacs_badge All Contributors

Pollens home assistant

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

Install

HACS (recommended)

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store. If the link above does not work, you can install this custom component using HACS by adding a custom repository.

Manual install

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called pollens.
  4. Download all the files from the custom_components/pollens/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant

Configuration

Open your Home Assistant instance and start setting up a new integration. The pollens integration is now available in the Integration Menu

  1. Select your county
  2. Untick the option to have numeric states or submit to stay with literal states (for particular pollens sensors only)
  3. 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

Contributors