IRM KMI Weather Belgium
The Royal Meteorological Institute of Belgium integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] integrates the weather data from IRM KMI (meteo.be) with Home Assistant.
Although the provider is Belgian, the data is available for Belgium 🇧🇪, Luxembourg 🇱🇺, and The Netherlands 🇳🇱.
The data provided by this integration is retrieved from their mobile application.
Configuration
To add the IRM KMI Weather Belgium service to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select IRM KMI Weather Belgium.
-
Follow the instructions on screen to complete the setup.
Options
To define options for IRM KMI Weather Belgium, follow these steps:
-
In Home Assistant, go to Settings > Devices & services.
-
If multiple instances of IRM KMI Weather Belgium are configured, choose the instance you want to configure.
-
On the card, select the cogwheel
. - If the card does not have a cogwheel, the integration does not support options for this service.

-
Edit the options, then select Submit to save the changes.
Supported features
The integration provides a weather entity along with weather forecast services.
Supported functionality
The integration provides a weather entity along with weather forecast services.
Sensors
The integration also provides the following sensors for the current weather at your location. Some sensors are disabled by default. You can enable them after you set up the integration.
- Temperature: The current outdoor temperature.
- Atmospheric pressure: The current air pressure.
- Wind speed: The current wind speed.
- Wind gust speed: The speed of the strongest wind gusts. Disabled by default.
- Wind direction: The direction the wind is coming from, in degrees.
- UV index: The current ultraviolet index.
- Precipitation intensity: The current rain rate from the radar, in mm/h.
- Next warning: The start time of the next upcoming weather warning. Unknown if no warning is scheduled to start.
There is also a pollen sensor for each type the provider reports, such as Grass pollen and Birch pollen. The colors follow the provider’s pollen scale:
-
green: The lowest level. -
yellow: Low. -
orange: Moderate. -
red: High. -
purple: Very high. -
active: The type is in season, but the provider gives no level. -
none: The type is not in season.
Image
An image entity is provided for rain radar and short-term rain previsions.
Binary sensors
-
Warning: On while at least one official weather warning is in effect. All published warnings, including upcoming ones, are listed in the
warningsattribute.
Each item in the warnings attribute has these fields:
-
slug: The warning type, independent of the language, such aswind,ice_or_snow, orthunder. It isunknownif the warning type is not recognized. -
id: The provider ID of the warning type. -
level: The severity, from 1 to 3. Empty if the provider did not send one. -
friendly_name: The name of the warning type in the configured language. -
text: The description of the warning in the configured language. -
starts_atandends_at: When the warning is in effect. -
is_active: Whether the warning is in effect now.
List of actions
The IRM KMI Weather Belgium integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Get radar forecasts (
irm_kmi.get_forecasts_radar, returns data) Retrieves the available rain radar forecast for an IRM KMI weather entity.
For an overview of every action across all integrations, see the actions reference.
IRM KMI automation examples
The pollen sensors, the warning entities, and the radar forecast action let you react to pollen levels, official weather warnings, and rain in your automations. Here are a few ideas to get you started.
You don’t need to edit YAML to use these examples. Copy a YAML snippet from this page, open the visual automation editor in Home Assistant, and press Ctrl+V (or Cmd+V on Mac). Home Assistant automatically converts the pasted YAML into the visual editor format, whether it’s a full automation, a single trigger, a condition, or an action.
Automation: Notify on high grass pollen
Get a notification when the grass pollen level at your location turns red or purple, the two highest levels on the provider’s scale.
-
Trigger: State changed
-
Entity: Your own grass pollen sensor, for example Brussels Grass pollen (
sensor.brussels_grass_pollen) - To: Red
- To: Purple
-
Entity: Your own grass pollen sensor, for example Brussels Grass pollen (
-
Action: Send a notification message
-
Target: My Device (
notify.my_device) -
Message:
Grass pollen level is {{ states('sensor.brussels_grass_pollen') }}.
-
Target: My Device (
YAML example for notifying on high grass pollen
alias: "Notify on high grass pollen"
triggers:
- trigger: state
entity_id: sensor.brussels_grass_pollen
to:
- "red"
- "purple"
actions:
- action: notify.send_message
target:
entity_id: notify.my_device
data:
message: "Grass pollen level is {{ states('sensor.brussels_grass_pollen') }}."
Automation: Notify when a weather warning is in effect
Get a notification for each warning that is in effect when the Warning binary sensor turns on. The editor shows this state as Unsafe. The notification shows the warning type as the title and the provider’s description as the message, both in the configured language.
-
Trigger: State changed
-
Entity: Your own warning binary sensor, for example Brussels Warning (
binary_sensor.brussels_warning) - To: Unsafe
-
Entity: Your own warning binary sensor, for example Brussels Warning (
-
Action: Repeat
- Type: For each
- Items: The warnings in effect, see the YAML example
-
Action: Send a notification message
-
Target: My Device (
notify.my_device) -
Title:
Weather warning: {{ repeat.item.friendly_name }} -
Message:
{{ repeat.item.text }}
-
Target: My Device (
YAML example for notifying on a weather warning
alias: "Notify on weather warning"
triggers:
- trigger: state
entity_id: binary_sensor.brussels_warning
to: "on"
actions:
- repeat:
for_each: >-
{{ state_attr('binary_sensor.brussels_warning', 'warnings')
| selectattr('is_active') | list }}
sequence:
- action: notify.send_message
target:
entity_id: notify.my_device
data:
title: "Weather warning: {{ repeat.item.friendly_name }}"
message: "{{ repeat.item.text }}"
Automation: Close the awning on a wind warning
Close the awning as soon as a wind warning comes into effect. The trigger filters the warnings attribute on slug, which does not depend on the language. It also fires when a wind warning starts while another warning is already in effect, which a trigger on the binary sensor would miss. Add other types to the list, such as thunder_wind_rain, if you want to react to those too.
-
Trigger: Template
- Value template: The template from the YAML example
-
Action: Close cover
-
Target: Awning (
cover.awning)
-
Target: Awning (
YAML example for closing the awning on a wind warning
alias: "Close the awning on a wind warning"
triggers:
- trigger: template
value_template: >-
{{ state_attr('binary_sensor.brussels_warning', 'warnings')
| default([], true)
| selectattr('is_active')
| selectattr('slug', 'in', ['wind', 'thunderstorm_strong_gusts'])
| list | count > 0 }}
actions:
- action: cover.close_cover
target:
entity_id: cover.awning
Automation: Skip the sprinklers when rain is on the way
Before the evening watering run, check the radar and only turn on the sprinklers when no rain shows up in any of the frames.
- Trigger: Time, 20:00:00
-
Action: Get radar forecasts
-
Target: Brussels (
weather.brussels) -
Response variable:
radar
-
Target: Brussels (
- Condition: Template, no frame has rain
-
Action: Turn on switch
-
Target: Sprinklers (
switch.sprinklers)
-
Target: Sprinklers (
YAML example for skipping the sprinklers when rain is coming
alias: "Water the garden unless rain is coming"
triggers:
- trigger: time
at: "20:00:00"
actions:
- action: irm_kmi.get_forecasts_radar
target:
entity_id: weather.brussels
response_variable: radar
- condition: template
value_template: >
{{ radar['weather.brussels'].forecast
| map(attribute='precipitation')
| reject('none')
| select('gt', 0)
| list
| count == 0 }}
- action: switch.turn_on
target:
entity_id: switch.sprinklers
Limitations
-
The weather provider sometimes uses two weather conditions for the same day (see below). When this is the case, only the first weather condition is taken into account in this integration.

-
The trends for 14 days are not shown.
-
The provider only has data for Belgium, Luxembourg and The Netherlands.
-
Not every location gets a pollen forecast. For locations in The Netherlands, all pollen sensors report
none.
Data updates
The integration pollsData polling is the process of querying a device or service at regular intervals to check for updates or retrieve data. By defining a custom polling interval, you can control how frequently your system checks for new data, which can help optimize performance and reduce unnecessary network traffic. [Learn more] weather data every 7 minutes by default.
When a poll cannot reach the API, the weather entity keeps showing the data from the last poll that succeeded. Once that poll is more than 17.5 minutes old, the next failed poll makes the entity unavailable, until a poll succeeds again.
The pollen levels are downloaded separately. If only that download fails, the other entities keep updating and the pollen sensors keep their last level for the same 17.5 minutes, then become unavailable until a download succeeds again. Right after Home Assistant starts, there is no earlier level to keep, and they are unavailable at once. The log shows “Could not get pollen data from the API” when the problem starts and “Pollen data is available again” when it is over.
Removing the integration
This integration follows standard integration removal.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- Next to the entry you want to remove, select the three dots
menu. Then, select Delete. - Depending on the integration, the entries are listed under one of the following headings:
- Devices
- Hubs
- Services
- Integration entries
- Depending on the integration, the entries are listed under one of the following headings:
- To confirm, select Delete.
- Home Assistant also deletes the devices and entities of the entry.
- If Home Assistant asks you to restart, restart Home Assistant.
- If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.
- If you keep them, Home Assistant uses them automatically when you add the integration again.
- To delete them later, refer to Deleting application credentials.