Skip to content

About

Estonian weather forecast for Homeassistant

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

Home Assistant Ilmaprognoos (Estonian Weather Forecast) Integration

GitHub License GitHub Release hacs_badge

Buy Me A Coffee  button

This is a custom integration for Home Assistant to provide detailed weather information and forecasts from the Estonian national weather service (ilmateenistus.ee). This weather forecast is intended only for Estonian weather and will not work for any other country.
This integration uses available open data but is not in any way related to official Keskkonnaagentuur or ilmateenistus.ee services.

Installation

The easiest way to install this integration is with the Home Assistant Community Store (HACS).

  1. Go to HACS
  2. Click the ⋮ button in corner
  3. Add this repository as a custom repository https://github.com/catdogmaus/ilmaprognoos
  4. Select "Integration"
  5. Download it to HACS
  6. Restart Home Assistant. (This is crucial for Home Assistant to recognize the new integration).
  7. Go Devices and services and click Add Integration. Search for Ilmaprognoos and follow configuration flow.

How it works

Key Features:

Current weather
Daily and Hourly forecast
Weather warnings

The integration creates also an additional weather warnings sensor, which is not currently supported by HA weather. Therefore, the logic of the Forecast frontend is such that if a weather warning for the region comes with the forecast, it overrides the regular forecast. The warning icons and information are visible as long as the warning exists in the initial weather service information. This can get a bit annoying, especially if the warnings last for several days. However, this does not affect the temperature, humidity, and overall forecast data, and there is also option in the integration settings to turn off this behaviour.
If you like to use more verbose warning data then after configuration, you can use weather warnings override in integration settings or disable it and use verbose sensor independently with conditional card, something like this:

type: conditional
conditions:
  - entity: sensor.yoursensor
    state_not: Hoiatusi pole
card:
  type: markdown
  content: |-
    <ha-alert alert-type="warning" style="display: block;">
      {{ states('sensor.yoursensor') }}
    </ha-alert>

For some coastal areas, separate sensors for water level and water temperature will be created.

For those who use solar for heat or electricity "Hours of sunshine" sensors in forecast are created. This is not official data, but calculated based on an existing forecast. With "clear" and "cloudy" forecast everything is simpel, but with "few clouds" and "partly cloudy" things get bit fuzzy. Therefore, it is inevitably an approximate calculation but still useful to get approximate forecast for upcoming solar energy production.

Overall what exact weather sensors you get depends where you live so by default, the integration uses two different data sources, but with manual configuration it is possible to revert to only the main one. In that case however, you will lose some datapoints in the output.

Problems

There is an issue with the HA front-end that prevents the HA companion app from displaying weather data correctly if it spans more than 24 hours. There is also an issue tracker for this, but it seems that no one from the HA team cares.
If this seriously bothers you, I recommend using the "browser" version of HA dashboard that works correctly, or a third-party weather card like Weather Forecast Card, Clock Weather Card or similar as a workaround.

About

Estonian weather forecast for Homeassistant

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Contributors

Languages