When Apple pulled the plug on the Dark Sky API, many of us found ourselves in search of a worthy replacement. As a dedicated Swiss user of Home Assistant, my heart was always set on MeteoSwiss, the nation's Federal Office of Meteorology and Climatology. Thankfully, the Home Assistant Community Store led me to the MeteoSwiss integration after my forced departure from Dark Sky. Now, I find myself much more content with my current setup than I ever was before.

Home Assistant's road to MeteoSwiss
The MeteoSwiss integration is a versatile tool that can be incorporated into any Home Assistant installation. Be it Home Assistant Core running in a Docker container or Home Assistant operating on a Raspberry Pi, it's built to run without a hitch.
However, there's a small catch. To set this up, you need to have the Home Assistant Community Store (HACS) installed and configured. The official website provides a handy guide on how to do this. The key requirements are Home Assistant Core version 0.110.0 or higher, a GitHub account, and access to the filesystem housing Home Assistant.
Once HACS is ready to roll, it should appear on your menu, marking the spot where we pick up this guide.

Installing the MeteoSwiss integration for Home Assistant
In the HACS interface, choose Integrations and search for meteoswiss. The integration will pop up and can be installed with a single click. Please note that if it's already installed, you won't see the install button. I've included a screenshot of another uninstalled integration to give you a sense of what to expect. After installation, a restart of Home Assistant is required.

Configuring the MeteoSwiss Integration
After the installation, MeteoSwiss is part of your system, but still needs to be configured. To accomplish this, visit the integrations section (under Configuration in the menu). Here, hit the ample plus button and search for MeteoSwiss again. Select it, and you'll be prompted to enter a postal code and station name.
The MeteoSwiss integration has a built-in feature to determine the optimal settings based on your location. If you're not satisfied with the suggested settings, you certainly have the freedom to modify them. A comprehensive list of weather stations is available here. After you click submit, the setup is complete.

Displaying MeteoSwiss weather information in your Home Assistant Dashboard
To showcase the weather data from MeteoSwiss on your interface, the Weather Forecast Card comes in handy. Your entity's name should be weather.\[station name\]
. If you wish to add a bit of flair to your weather card, I'd recommend the animated weather card, also found in HACS.
Other MeteoSwiss sensors
In addition to the basic weather and forecast data, the MeteoSwiss integration provides various other sensors for your use. While I can't guarantee if these vary based on the station you've selected, here's what I have:
- Rain and sun
- Dew point, humidity, and pressure
- Sun radiant
- Temperature
- Wind direction, wind speed, and maximum wind speed
Hi there
I installed Meteo swiss through HACS which worked fine and added the integration too. I only get the sensors as entities but cant get the data for my region. I’ve also installed Weather Forecast card but it seems like its not getting the data from Meteo Swiss. I only got one weather-entity which is called weather.home (from Meteorologisk institutt).
What am I doing wrong? Any help is much appreciated.
BTW, nice blog, just about to check it out a bit 🙂
Kind regards
Andreas
Hello
I have the same problem on my site. In the meantime do you have a workaround or a solution?
Kind regards
Patrick
Hey there. I’ve been experiencing the same issues, which is a massive shame (I will have to make an amendment to this post). On GitHub, there is a “fix” which I couldn’t get to work.
On the bright side, it does appear that for the first time, things are being developed again. I guess we just wait for the next release. Meanwhile, I have switched to OpenWeatherMap.
I just realized what I was doing wrong. In setting up the integration, it would auto-populate the PLZ with my current location. But the weather station it had selected was in another town. I changed the PLZ and now it works!
Thank You !!!
Worked (almost like a charm), just need to add a step after the integration in HACS, that to get meteoswiss appearing in HA integration you may need to webbrowser cache (once more even if done to get HACS initial integration).
From above: I just realized what I was doing wrong. In setting up the integration, it would auto-populate the PLZ with my current location. But the weather station it had selected was in another town. I changed the PLZ and now it works!
Hi work great. Any idea where I might get a list of all possible states?
e.g. the output list from {{states.weather.bern.state}}
partlyCloudy
snowy-rainy
rainy
…