How to Integrate MeteoSwiss With Home Assistant

Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.

An illustration of people in the rain with umbrellas.

Integrating MeteoSwiss with Home Assistant can provide accurate, local weather data directly from Switzerland's # Federal Office of Meteorology and Climatology (known as MeteoSwiss). If you're a Home Assistant user in Switzerland, this guide will walk you through setting up the MeteoSwiss integration, leveraging the power of the Home Assistant Community Store (HACS) to enrich your home automation setup.


What Is The Federal Office of Meteorology and Climatology MeteoSwiss?

Switzerland's Federal Office of Meteorology and Climatology, known as MeteoSwiss, is a government agency responsible for weather forecasting and climatological research within the country. It operates under the Federal Department of Home Affairs, providing crucial services that include monitoring weather and climate conditions, issuing weather warnings to protect life and property, and conducting climate studies to understand and predict changes in the environment.

Home Assistant Meteoswiss 06

Starting With Home Assistant and HACS

First and foremost, ensure that HACS is installed and configured in your Home Assistant environment. This is a prerequisite for adding the MeteoSwiss integration. HACS enriches Home Assistant by enabling the addition of custom integrations and plugins not found in the official repository. The installation requires Home Assistant Core version 0.110.0 or newer, a GitHub account, and file system access to where Home Assistant is installed. Detailed installation instructions are available on the HACS official website.

The image displays the Home Assistant Community Store (HACS) interface within the Home Assistant platform.

How to Install the MeteoSwiss Integration

Once HACS is set up, navigate to the HACS section in your Home Assistant Dashboard, select Integrations, and search for MeteoSwiss. Install the integration with a click. Remember, if you've previously installed it, the install button will not appear. Post-installation, a restart of Home Assistant is mandatory to activate the integration.

Two search results in HACS. The left card is for Meteobridge Datalogger Integration, with options to install, view information, or visit the repository. The right panel is for MeteoSwiss Integration, with emoji placeholders for icons and a repository link.

Configuring MeteoSwiss in Home Assistant

After installation, configuration is the next step. This involves:

  1. Going to the Integrations page via the Configuration menu.
  2. Clicking the '+' button to add a new integration and searching for MeteoSwiss.
  3. Entering your postal code and selecting your nearest weather station for optimal accuracy. If the automatic suggestion doesn't suit your needs, manual adjustment is possible. A full list of stations can be found here.
Home Assistant setup screen displaying a search bar with the text 'meteoswiss' entered, below which is a single search result for 'Meteo Swiss' with a placeholder where an icon should be, indicating the icon is not available.

MeteoSwiss Sensors and Data in Home Assistant

The MeteoSwiss integration offers various sensors to monitor different aspects of the weather, including temperature, humidity, wind speed and direction, and more. The availability of these sensors may depend on the selected weather station.

Displaying Weather Data on Your Home Assistant Dashboard

To display MeteoSwiss weather information, the Weather Forecast Card in Home Assistant is your go-to solution. Simply add this card to your dashboard and configure it to display data from the weather.[station name] entity. For a more visually appealing option, consider the animated weather card available within HACS.

Home Assistant Meteoswiss 02
Five-day weather forecast displayed in the Home Assistant Dashboard using MeteoSwiss for Vaduz, showing rainy conditions with temperatures ranging from 6 °C to 21 °C and the current weather as rainy at 17.4 °C with 85% humidity.

How to Use Weather Data in Home Assistant

Home Assistant, leveraging weather data, can transform a smart home setup into a highly adaptive and responsive environment. Here are some examples of how weather data can be utilized within Home Assistant to enhance home automation and personal comfort:

A contemporary outdoor dining area covered by a white retractable awning, with a wooden table set, surrounded by panoramic glass walls overlooking a lush garden.

In Summary

Integrating MeteoSwiss with Home Assistant offers a seamless way to access reliable weather forecasts and conditions, enhancing the functionality of your smart home in Switzerland. By following the steps outlined in this guide, you can enjoy a detailed, accurate weather data within your Home Assistant Dashboard, adding both utility and aesthetic appeal to your setup. Whether you're planning your day or automating your home environment based on weather conditions, the MeteoSwiss integration is an invaluable addition to your Home Assistant ecosystem.

A portrait photo oif Liam Alexander Colman, the author, creator, and owner of Home Assistant Guide wearing a suit.

About Liam Alexander Colman

is an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container.
With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.


  1. 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


    • Hello

      I have the same problem on my site. In the meantime do you have a workaround or a solution?

      Kind regards

      • 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!

  2. 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!

  3. Hi work great. Any idea where I might get a list of all possible states?

    e.g. the output list from {{}}



Leave a comment

Share to...