Skip to content

PegelOnline Binding ​

Binding to observe water levels from German rivers. Data is provided by the German Water-Route and Shipping Agency WSV. The goal is to monitor actual water levels from rivers nearby your home. In case of changing water levels, the corresponding warning level is lowered or raised.

Supported Things ​

LabelDescriptionID
Measurement StationStation providing water level measurementsstation

Discovery ​

If your home location coordinates are set, the discovery will recognize all measurement stations within a radius of 50 km. Found Things are added to your Inbox.

Thing Configuration ​

Thing configuration contains 3 sections:

Station selection ​

Stations can be selected with a Universally Unique Identifier (uuid). It's automatically added by the Discovery. To configure a station manually, use the list of all available stations or stations.json and choose the uuid of your desired measurement station.

Warning Levels ​

Marburg water level measurement station

Each station has specific warning levels:

  • Warning Levels 1 (lowest) to 3 (highest)
  • Flooding Levels

Unfortunately, these levels cannot be queried automatically. Please select your federal state and check which levels they provide. The picture shows the levels of the measurement station Marburg of federal state Hesse.

If you cannot evaluate warning or flooding levels, leave the parameter empty.

Configuration parameters ​

configurationcontentunitdescriptionrequireddefault
uuidtext-Unique Station IdentifierXN/A
warningLevel1integercmWarning Level 1N/A
warningLevel2integercmWarning Level 2N/A
warningLevel3integercmWarning Level 3N/A
hq10integercmDecade FloodingN/A
hq100integercmCentury FloodingN/A
hqExtremeintegercmExtreme FloodingN/A
refreshIntervalintegerminRefresh IntervalX15

Channels ​

channel idtypedescription
timestampDateTimeLast Measurement
levelNumber:LengthWater Level
trendNumberWater Level Trend
warningNumberCurrent Warning

Trend ​

Possible values:

  • 1 : Rising
  • 0 : Steady
  • -1 : Lowering

Warning ​

Current warning according to configuration

  • 0 : No Warning
  • 1 : Warning level 1
  • 2 : Warning Level 2
  • 3 : Warning Level 3
  • 4 : Decade Flooding
  • 5 : Century Flooding
  • 6 : Extreme Flooding

Full Example ​

Things ​

dsl
Thing pegelonline:station:giessen "Measurement Station Giessen" [
    uuid="4b386a6a-996e-4a4a-a440-15d6b40226d4",
    refreshInterval=15,
    warningLevel1=550,
    warningLevel2=600,
    warningLevel3=650,
    hq10=732,
    hq100=786
]

Items ​

dsl
DateTime         Lahn_Giessen_Timestamp      "Measurement timestamp Lahn Giessen"   {channel="pegelonline:station:giessen:timestamp" }
Number:Length    Lahn_Giessen_Level          "Water Level Lahn Giessen"             {channel="pegelonline:station:giessen:level" }
Number           Lahn_Giessen_Trend          "Water Level Trend Lahn Giessen"       {channel="pegelonline:station:giessen:trend"}
Number           Lahn_Giessen_Warning        "Warning Level Lahn Giessen"           {channel="pegelonline:station:giessen:warning"}

PegelOnline API Documentation