Rudd-O / homeassistant-meteoswiss

:sun_behind_rain_cloud: :switzerland: Meteo Swiss Integration for Home Assistant (forked from websylv)
74 stars 8 forks source link
hacs-integration home-assistant weather

homeassistant-meteoswiss (forked)

This is the Meteo Swiss integration for Home Assistant.

Note: due to changes in how HACS loads custom components (reflected in hassfest validation tests), we have had to change how this repository is installed. Unfortunately, this caused problems with how an interim version of the integratoin itself is loaded. See installation instructions below to get your setup fixed up. We regret this mess.

Features

See below for common issues.

Installation

Removal of the obsolete integration

You only need to do this if you had either Websylv's integration or an older version of this integration installed and setup.

Installation of the updated integration

hacs_badge

Add this integration as a custom repository to HACS. If you use HACS you already know the generic instructions on how to do this. Here is how it looks like on the add custom repo screen:

enter image description here

Once added as a custom repository, add the integration to your HACS setup:

enter image description here

Once done you should see a pending restart box:

enter image description here

Restart your Home Assistant:

enter image description here

Now you are ready to add one or more instances of the integration.

Setup

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

If you are not happy with the settings, in a future release you will be able to update them.

Troubleshooting

In case of problem with the integration, please open an issue on this repository explaining the issue and attaching the logs in debug mode.

To obtain logs, activate the component debug log in your configuration.yaml, and restarting Home Assistant:

logger:
  default: warning
  logs:
    # maybe more stuff here[...]
    hamsclient.client: debug
    hamsclientfork.client: debug
    custom_components.meteoswiss: debug

Upgrade notes / known issues

Information sources

Data comes from the Meteo Swiss official data sources. Forecasts are extracted from the Meteo Swiss API. Current conditions are from official data files.

A primer on Swiss weather stations can be found at https://rudd-o.com/meteostations . Information on the provided values is available at https://data.geo.admin.ch/ch.meteoschweiz.messwerte-aktuell/info/VQHA80_en.txt.

Privacy

This integration uses:

Origins of this work

This was forked from https://github.com/websylv/homeassistant-meteoswiss because the original author is unresponsive and the original integration was broken beyond fixing. Use this in your Home Assistant by deleting the original integration, then adding this as a custom HACS repo, and then reinstalling the integration through this repository.

How to migrate away from websylv's integration

  1. First remove any successfully-setup Meteo Swiss integrations.
  2. Remove the integration itself from HACS.
  3. Remove the YAML config you might have been using before.
  4. Add this repository as a custom integration repo in HACS, then install it to your Home Assistant. See above for installation instructions.
  5. Restart Home Assistant.
  6. Now you can add the integration in Devices & Settings. See above for setup instructions.