SMHI integration not working

Hi, new to HA, (coming from OpenHAB).
I tried to install SMHI integration and it failed with error message “not in Sweden”, so I did some debugging, only to find out that it is calling a deprecated API. (e.g. https://opendata-download-metfcst.smhi.se/api/category/pmp3g/version/2/geotype/point/lon/17.96/lat/59.4/data.json).

Is there a successor to this integration?

Works fine for me but if you switch lat / lon then you are heading for the strait of Hormuz

If you are having an error from a core integration,

¯\(ツ)/¯ Sounds like you are looking for…

It works, as in “the link did not give you 404”?
Hm, that is very strange…

I used your lat lon but in reverse order…else it is in Oman

Are the integrations different between the installation methods? I arrived at this installation method by accident. Only once I was done, did I see it was not recommended… :slight_smile:

I tried switching them, but still I get 404.

All the installations have a number of integrations built in to what is called the core.
There is a deprecated installation method called ‘core’ that the user installed only that component and built all the stuff around it. You need a STRONG linux background to make that function. You are very likely not using that so don’t let it confuse you.

You are most likely using HAOS which includes core and supervisor and the operating system and all the things built for you.

When one of the integrations that are built into the HA ‘core’ are acting up (like I assume your ‘SMHI’ is), you write an issue against ‘core’ module to tell the devs what you see. They most likely won’t see your post here.

Have you checked the open issues?

I thought I did, but I guess I somehow messed the search up.

Thanks!

No, unfortunately, I am using the Core installation method - it was what made most sense for me (I’m a linux guy), and even after installing, I had so many issues (moving my rather large setup from OpenHAB), that I did not see the ‘depcrecated’ warning until I had spent days moving my influx db setup, z-wave nodes etc. Then I was not super interested in starting some kind of migration. This was about three months ago.

Smhi is working in 2026.4.1

1 Like

The theory is take a backup, build HA supervised with Docker or build a VM with an HAOS image, and restore the backup. If you go with Docker, the influx stuff will probably just work as is. You will have some hardware migration, but at least you will be able to stay up to date with HA and the core integrations.

And you know what, you don’t have to break your current HA until it’s working good enough to do so.

Thanks. Yes, I guess, at some point I’ll try this step. I’m running everything in a proxmox cluster, in separate containers, so it should be fine - just a lot of work.
The plan is now to fix everything that I still miss from my trusty old OH installation (mainly rules, and some odd items, like the lawn mower). Then once I’m happy with everything*…

(*there’s really never such moment in home automation, is it? :slight_smile: ).