PEGELONLINE

This integration uses the data from the German Federal Waterways and Shipping Administration (Wasserstraßen- und Schifffahrtsverwaltung des Bundes) PEGELONLINE to provide different sensors, based on the available data of the selected measurement station.

Data fetching and limitations

The data are polled every 5 minutes. You can add as many measurement stations as want, there is no authentication needed nor any official usage limitation, but keep the “fair use” in mind.

配置

要将 PEGELONLINE service 添加到您的 Home Assistant 实例中,请使用此 My 按钮:

手动配置步骤

如果上述 My 按钮不起作用,您也可以手动执行以下步骤:

Step 1 - Location selection

Select the area, where you want to search for available water measuring stations

Latitude

The latitude of the center of the search area (automatically filled by the location picker).

Longitude

The longitude of the center of the search area (automatically filled by the location picker).

Radius

Search radius (in km)

Step 2 - Station selection

Station

Select the measurement station you want to add.

Sensors

The following sensors传感器返回有关事物的信息,例如水箱中的水位。 [Learn more] are created, based on the capabilities of the selected measurement station:

Sensor name Common unit of measurement
Air temperature °C
Clearance height (only for bridges) cm
Oxygen level mg/l
pH None
Water flow speed m/s
Water level cm
Water temperature °C
Water volume flow m³/s

Usage example

Flood alert level notification

Create an automation to get notified, when your local river reaches a specific flood alert level.

mode: single
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.dresden_elbe_water_level
    above: 500
actions:
  - action: notify.persistent_notification
    metadata: {}
    data:
      message: Flood alert level 2 reached!

Troubleshooting

In any case, when reporting an issue, please enable debug logging, restart the integration, and as soon as the issue reoccurs stop the debug logging again (download of debug log file will start automatically). Further if still possible, please also download the diagnostics data. If you have collected the debug log and the diagnostics data, provide them with the issue report.

Remove the integration

从Home Assistant中移除集成实例

  1. 前往 设置 > 设备与服务 并选择集成卡片。
  2. 从设备列表中,选择要删除的集成实例。
  3. 在条目旁边,选择三个点 菜单。然后,选择 删除