IMGW-PIB Monitor - Polish weather, hydrology & meteo/hydro warnings

Hi :slight_smile:

I built a custom integration that brings comprehensive weather, hydrological, and warning data from IMGW-PIB (Polish Institute of Meteorology and Water Management) into Home Assistant.

There are a few existing integrations that tap into IMGW-PIB data, but none of them aggregate this much information in one place. My integration pulls from 5 different IMGW-PIB API endpoints and exposes 24 sensors covering synoptic weather, meteorological observations, hydrology, and both meteo and hydro warnings - all in a single, configurable package.

What does it do?

The integration connects to the publicly available IMGW-PIB API and provides:

Synoptic data (6 sensors): temperature, wind speed & direction, humidity, precipitation, atmospheric pressure

Meteorological data (8 sensors): air & ground temperature, average/max/gust wind speed, wind direction, humidity, 10-min precipitation

Hydrological data (4 sensors): water level, water flow, water temperature, ice phenomenon

Meteo warnings (3 sensors): active warnings count, max warning level (1-3), latest warning with full details in attributes

Hydro warnings (3 sensors): active warnings count, max warning level, latest warning with full details in attributes

Key features

  • Config Flow UI - set up entirely through Settings → Integrations, no YAML
  • Autodiscovery & manual setup — the integration can automatically detect nearby stations, or you can manually select a specific station from the list
  • Meteo warnings by district - you can filter warnings down to your county (district) level using TERYT codes, so you only get alerts relevant to your area
  • Options Flow - change station, region, or update interval at any time without removing the integration
  • Multi-instance - add the integration multiple times for different stations or data types (e.g., one for your local synoptic station, another for a nearby river)
  • Polish & English translations

Screenshots

Use case examples

Flood monitoring - set up hydrological sensors for a nearby river and create automations that alert you when water levels exceed thresholds.

Severe weather alerts - use meteo warning sensors filtered to your powiat to get notifications about storms, heavy rain, frost, or heat waves before they hit.

Weather dashboard - combine synoptic and meteorological sensors for a detailed local weather overview on your Lovelace dashboard.

Automation example - trigger notifications when a new meteo warning appears:

automation:
  - alias: "Meteo warning notification"
    triggers:
      - trigger: state
        entity_id: sensor.meteo_warnings_max_level
        from: "0"
    actions:
      - action: notify.mobile_app
        data:
          title: "⚠️ Meteo warning!"
          message: >
            Warning level: {{ states('sensor.meteo_warnings_max_level') }}
            {{ state_attr('sensor.meteo_warnings_latest', 'description') }}

Links


This is primarily aimed at Polish users since the data covers stations in Poland, but the integration itself supports both Polish and English UI.

Feedback, bug reports, and feature requests are welcome - feel free to open an issue on GitHub or reply here. If you find it useful, a :star: on GitHub is always appreciated! :slight_smile:

Hi everyone,

I’ve released a new version of my IMGW-PIB Monitor integration — v2.0.0. I jumped a whole major version because there have been a lot of changes. The most important ones:

  • Weather forecast pulled directly from IMGW for a selected location (works in both manual and autodiscovery mode). The forecast can be enabled during configuration or later in the integration settings.
  • Meteo/hydro warnings have been extracted from attributes into separate sensors, making them much easier to manage and automate.
  • Nominatim geocoding added to autodiscovery mode — used for the weather forecast feature so that the city name can be automatically determined from HA coordinates.
  • Fixed excessive data fetching — if you disable e.g. hydrological data, it will no longer be fetched in the background.
  • Various other improvements and fixes.

Repository: GitHub - abnvle/ha-imgw-pib-monitor: Integracja kompleksowo integrujÄ…ca dane z API IMGW-PIB

Installation:

Open repository in HACS

Enjoy! :slight_smile:

New version released! - v2.1.0

What has changed?

The integration is also now officially available in HACS, so you don’t need to manually add the repository.