Custom FMI (Finnish Meteorological Institute) Weather & Sensor Platform

Got an answer from FMI:

In Open data we hava two weather models. In our application and in our webpages we have meteorologist forecast. They are different thing. Meteorologist use many forecast models and also her/his experience. In this situation meteorologist use much her/his experience especially near coast.

Hirlam is not good in temperatures and Harmonie is better, so it is better to take Harmonie from Open data than Hirlam.

Quickly checked, the integration uses Hirlam and there is no easy way to change it. Moreover, the Harmony doesn’t provide weather symbol…

@anand-p-r Could we update the client to get data from both models and merge them?

In version 0.4.6, it’s now an option that is disabled by default. Do give it a shot.

@RedViper Thanks for clarifying this with FMI! As you also observed, there is no easy way to merge both models. Need to study this and see.

@konna Can you try and see if version 0.4.6 works for you? Lightning data pulls were timing out and I have configured this optional now (default disabled) in addition to some other improvements.

Hi,

I uninstalled version 0.4.0 and installed 0.4.6 via HACS. This version is now working.
Thanks a lot!

1 Like

This is really quite bad model with temperatures.
Here’s 48h with met.no data, actual Ruuvi temperature, and this addon.
temps

1 Like

FMI states now that they discontinue support for hirlam in September. And I also got frustrated with the hirlam forecast accuracy so I tried to create harmony fetch. It was pretty easy actually even for a novice like me. They have python library fmiopendata with which you can download that forecast. My version just got unnecessarily complex as I wanted to have both models available at the same time. And as you stated above there’s no condition data. So, the condition data just needs to be generated based on precipitation (rainy conditions), visibility (which can be added for foggy confitions), and cloudiness. Total radiation and dew point can be added too (as those are returned by the api). Could develop that further by letting used define what’s the boundaries for different icons, what are the icons used and in which conditions …

And as stated in github would be nice to load sensor data from closest observation and not use forecast data. Or show both if one wants to check how close their forecast matches with observation (if you happen to have observation station close to you and in same kind of environment).

Hi !
Anyvody else having same problem? FMI stopped working after 2022.11.0? 2022.11.1 did not help either.

Logger: custom_components.fmi
Source: helpers/update_coordinator.py:182
Integration: Finnish Meteorological Institute
First occurred: 15:34:39 (9 occurrences)
Last logged: 15:41:20
Error fetching fmi data:

1 Like

Got new version from GitHub - anand-p-r/fmi-hass-custom: Home Assistant Custom Component Supporting FMI Based Weather and Sensor Platforms

Found also that they’ve changed the Weather component so the newest FMI only works with new version of Weather component, but my HA is 2022.3… Oh, I love the update hell.
Is working now with newest version of FMI and old version of fmi/weather.py.

You got it. Salute the updates. Gotta try to play with versions then. (Or live without until fixed :wink: )

Update: Don’t know why I was waiting this to appear in HACS. It’s manually installed :smiley: My bad, now everything is working again after this latest version. Now HA 2022.11.2.

The different sensors created by this integration don’t have a state_class. Therefore no statistics are recorded. Does anyone else have this problem?

Is this integration still up to date? I get wrong temperature at my location when comparing to FMIs web site with the same location.

yr.no is included in the HA. This have been pretty shit from the start.

This is great integration, keep up the good work guys!

I’m not having actual problem / issue with integration, more like templating forecast data. I’d like to calculate heating degree day-number (lämmitystarveluku, FMI page on subject) for next day. Forecast data includes per hour temp forecast for next day and therefore, it should be possible to calculate. My idea is, that based on heating degree day forecast one could more accurately predict heating requirements and say, if electricity is cheap today, heat up energy storage in advance.

I remember HA Developer tools used to have long list of forecast attributes before, including temp, but it’s now remarkably shorter. However, this data is still available in weather card.

Any ideas how to calculate and template this data? It outputs just single number.

EDIT 21.07.2024:
Degree day calculation (lämmitystarveluku S17) template is now here

Hi Anand,
I installed the latest version of fmi 0.5.3 that was released in July 2024. I clreared the brower cache. Placed all files in custom component >fmi folder in HA directory. But in integration fmi is not showing even after restarting the HA. Could you please guide me on this.
I am using following versions
Core Home Assistant: 2024.10.1
Raspberry 5
Supervised Home Assistant: 2024.10.0
Using Duckdns domain

This integration stoopped working after core update 2024.10.2. Is there anything to do to get it working again?

3 Likes

+1

Can’t get it to work anymore in 2024.10.2.

It seem to be working for me in apexcharts, but not in history view. Same thing with YR integration. So waiting for fixing in 2024.10.3

Seem to be something strange, because history view just started to work for both integrations.

2024.10.3 update did fix this.