Overview
PEGELONLINE provides real-time water level data from the German Federal Waterways and Shipping Administration, allowing homeowners to monitor local water levels and potential flood risks. This capability is vital for ensuring safety and preparedness, especially in flood-prone areas.
Benefits
- Early warning system for potential flooding
- Informed decision making for property protection
- Enhanced awareness of local water conditions
Intent
The purpose of PEGELONLINE is to deliver accurate water level readings directly to users, enabling them to take preemptive actions against flooding. This capability fosters a safer living environment by keeping residents informed about water conditions.
Preconditions
- Home Assistant configured with PEGELONLINE integration.
- Active internet connection for data retrieval.
- Compatible smart devices for notifications.
- Home Assistant installed and configured.
- Integration available and authenticated: Zigbee2MQTT.
- Device installed and reachable: RainMachine Version 2 (API 4.6.1).
Actors
- Homeowner monitoring local water levels
- Family members concerned about safety
- Emergency responders assessing flood risks
Trigger
Water level readings from the PEGELONLINE sensors indicate a change in water levels.
Workflow Diagram
flowchart TD
A[Water Level Reading] -->|check| B{{Is it above threshold?}}
B -->|Yes| C[Send Alert Notification]
C --> D[Inform Homeowner]
B -->|No| E[Continue Monitoring]
Workflow Description
1. Initialize Monitoring
The system connects to PEGELONLINE and begins fetching current water level data.
2. Check Water Level
The system checks the latest water level reading against predefined thresholds.
3. Notify Homeowner
If the water level exceeds the threshold, an alert notification is sent to the homeowner.
4. Log Data
All readings and alerts are logged for future reference and analysis.
5. Continuous Monitoring
The system continues to monitor water levels and sends updates as necessary.
Postconditions
Homeowner receives timely alerts about water levels, enabling them to take necessary precautions if needed.
Optional Enhancements
- Integrate with smart home devices for automated responses (e.g., close windows)
- Add visual dashboard for tracking historical water level data
- Implement voice alerts through smart speakers
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | Zigbee2MQTT, ESPHome | RainMachine Version 2 (API 4.6.1), Rainmachine Mini |
Source Examples
- 2026.1: Home is where the dashboard is ?? – Home Assistant (homeassistant)