Skip to content

krissen/polleninformation

Repository files navigation

Home Assistant: Polleninformation EU

GitHub Release License API Status

hacs Project Maintenance BuyMeCoffee

A Home Assistant integration for monitoring pollen across Europe, data provided through the Austrian Pollen Information Service.

NOTE: You must use your own API key. Request it here.

Skärmavbild 2025-06-09 kl  20 11 48 Skärmavbild 2025-06-09 kl  20 24 24
Skärmavbild 2025-06-09 kl  20 10 46 Skärmavbild 2025-06-09 kl  20 10 26

Features

  • Supported countries: Austria, Switzerland, Germany, Spain, France, United Kingdom, Italy, Lithuania, Latvia, Poland, Sweden, Türkiye, and Ukraine.
  • Multiple allergens: Individual sensors for each detected allergen. Different countries have different supported allergens.
  • Multi-day forecast: Each sensor exposes several days of forecast data.
  • Allergy risk, by day and by hour.
  • Icons & friendly names: Instantly recognizable in the Home Assistant UI.
  • Pair with pollenprognos-card: Screenshots above have been made with pollenprognos-card

Installation (HACS recommended)

  1. Search for and install Polleninformation EU.
  2. Restart Home Assistant when prompted.

Configuration

  1. Go to Settings → Devices & Services → Add Integration.
  2. Search for Polleninformation EU and follow the setup flow:
  3. Choose a country;
  4. enter a place name (free text);
  5. set location through the map or by entering coordinates;
  6. enter your API key.
  7. Sensors will be automatically created for each available allergen at your chosen location.

Usage

The integration will create sensors named like:

  • sensor.polleninformation_stockholm_birch
  • sensor.polleninformation_stockholm_grasses
  • ...and more, depending on your location.

Each sensor includes:

  • Current pollen level as text (numeric value available in attributes)
  • Multi-day forecast as an attribute
  • Human-friendly names and icons for all entities

Understanding the values

All allergen sensors use a scale from 0 to 4:

Value Meaning
0 none
1 low
2 moderate
3 high
4 very high

The allergy risk provided by the API ranges from 0 to 10. The integration scales this value to the same 04 range by applying round(value / 2.5) so that all sensors share a common scale. The original 010 value is available as the numeric_state_raw attribute of both the allergy_risk and allergy_risk_hourly sensors. Within their forecast attribute the same raw value is exposed as level_raw for each forecast entry.

Update interval

The integration updates sensor data every 8 hours by default. This is usually more than enough, as the data typically does not change more frequently than once every 24 hours.

You can change the update interval in Settings → Devices & Services → Polleninformation EU → Configure (1–24 hours).

Manual refresh

To trigger an immediate data refresh, call the built-in homeassistant.update_entity service:

service: homeassistant.update_entity
target:
  entity_id: sensor.polleninformation_stockholm_birch

This works in automations, scripts, and the Developer Tools → Services panel.

API usage

This integration uses the official public API provided by the Austrian Pollen Information Service. You must request a personal API key to use the integration—get your key here.

For more information about the API and its terms of use, see Austrian Pollen Information Service - Data Interface.

API availability

The upstream API does not always provide data for all countries. Check the API Status Page for current availability per country.

When the API is unavailable for your location, sensors will remain available but show unknown state until data becomes available again.


Data Source & Attribution

All data is provided by the Austrian Pollen Information Service, via their official public API.


Want to support development? Buy me a coffee!


About

Integration for homeassistant, creating sensors based on polleninformation.eu

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors