Skip to content

siku2/hass-srf-weather

Repository files navigation

SRF Weather Home Assistant Integration

GitHub Release GitHub Activity License

HACS

GitLocalize

Brings SRF Meteo weather forecasts to your Home Assistant.

Installation

  1. Add this repository as a custom repository to HACS: Add Repository
  2. Use HACS to install the integration.
  3. Restart Home Assistant.
  4. Set up the integration using the UI: Add Integration

How to get the API Credentials

Go to https://developer.srgssr.ch and create a new account (or log in with your existing one).

Open Apps and press the "ADD APP" button.

Give the app a name like "Home Assistant" (the name is irrelevant). Make sure that the Product is set to a SRF-MeteoProduct, e.g. "SRF-MeteoProductFreemium".

Open the app you just created and find the "Consumer Key" and "Consumer Secret" in the "Credential" section.

Note

The basic "freemium" tier only allows you to use a single location. If you add multiple locations in HA, the integration will break.

Contributions are welcome

If you want to contribute to this please read the Contribution guidelines

Providing translations for other languages

If you would like to use the integration in another language, you can help out by providing the necessary translations.

Head over to GitLocalize to start translating.

If your desired language isn't available there, just open an issue to request it.

You can also just do the translations manually in custom_components/srf_weather/translations/ and open a pull request with the changes.