Swiss Hydrological Data


This sensor doesn’t work at the moment due to changed by the Swiss Federal Office for the Environment (Bundesamt für Umwelt - Abt. Hydrologie) to access the data.

The swiss_hydrological_data sensor will show you details (temperature, level, and discharge) of rivers and lakes in Switzerland.

Setup

The station overview contains a list of all available measuring points and will help to determine the ID of station which is needed for the configuration.

Configuration

To enable this sensor, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: swiss_hydrological_data
    station: STATION_ID

Configuration Variables

station

(string)(Required)The ID of the measurement point.

name

(string)(Optional)Name to use in the frontend.

Default value:

The hydrological measurings are coming from the Swiss Federal Office for the Environment (Bundesamt für Umwelt - Abt. Hydrologie) and are updated almost in real-time.

Example

This sensor contains additional information which an easily accessed by a template sensor.

# Example configuration.yaml entry
sensor:
  platform: template
  sensors:
    discharge:
      value_template: '{{ states.sensor.aare.attributes.Discharge }}'
      friendly_name: 'Discharge'