"Watch the sky. Ignore the noise."
Most rain automations are "dumb." They wait for a sensor to trip, trigger a switch, and then flap on and off repeatedly as the rain rate fluctuates. Worse, they often trigger false alarms on windy, dry days because your sensor shook on the pole.
Rain Warden is different. It doesn't just read your sensor; it analyzes the environment. It uses humidity, temperature, wind speed, and vapor pressure deficit (VPD) to determine if it is actually raining, if it's just a "ghost tip" caused by wind, or if a storm is imminent.
Top Features at a Glance
The "Ghost Tip" Filter: Uses a confidence score based on local humidity to block false positives. If your sensor tips but the air is bone-dry (<40% humidity), Rain Warden knows it's likely just wind vibration.
Predictive Logic: Analyzes humidity trends and wind speed to calculate a "Rain Probability" score. It can alert you that rain is likely before the first drop hits the sensor.
Live HTML Dashboard: A beautiful, self-updating dashboard tile that shows rain rate, event totals, confidence scores, and drying conditions—all locally hosted on your hub.
Seasonal Intelligence: Automatically adjusts rain thresholds based on temperature. It understands that "heavy rain" in 95°F heat implies different storm dynamics than in 50°F drizzle.
Smart Hysteresis: Uses a "Schmitt Trigger" logic to prevent switch flapping. Once rain starts, it holds the "Active" state longer to ensure your windows don't open and close repeatedly during showery weather.
The Dashboard Tile
Rain Warden creates a dedicated HTML tile for your dashboard that updates live (every 15 seconds) without refreshing the page.
What it displays:
- Status Banner: Changes color based on state (Green for Ready, Red for Heavy Rain, Blue for Sprinkle) .
- Hero Metrics: Large, readable Rain Rate with trend indicators (Rising/Falling
). - Dual Scores:
- Conf (Confidence): The system's trust in the current rain data.
- Prob (Probability): The likelihood of ongoing/imminent precipitation.
- VPD (Drying Potential): Calculates Vapor Pressure Deficit to tell you how fast things will dry out once the rain stops.
- Event Stats: Total rainfall for the current storm, plus peak wind gusts.
How It Works (The Logic)
1. The Dual Scoring System
Rain Warden doesn't just look at "Rain Rate > 0." It calculates two critical scores every time your sensor reports:
- Confidence Score (0-100%): If your rain sensor reports rain but the humidity is 30%, the Confidence score drops drastically. The system ignores the rain unless Confidence > 75%.
- Probability Score (0-100%): If humidity is high (>90%) and rising, and wind is picking up, the Probability score climbs. If it hits 75%, the system can send you a "Heads Up" alert before the rain starts.
2. Smart Switches
The app exposes two virtual switches for your automations:
- HEAVY RAIN Switch: Turns ON only when rain is confirmed and rate exceeds your threshold (default 0.05 in/hr).
- SPRINKLE Switch: Turns ON immediately for light precipitation (mist/drizzle). Note: This remains ON during heavy rain, acting as a "Any Precipitation" master switch.
3. VPD & Dry Delays
When the rain stops, the app doesn't just turn off immediately. It calculates the Vapor Pressure Deficit (VPD) using temp/humidity.
- High VPD (Dry Air): The system resets quickly (5 mins) because surfaces dry fast.
- Low VPD (Muggy Air): The system extends the "Active" state (15 mins) because surfaces remain wet longer.
Installation & Setup
- Install the Code: Copy the Groovy code into Apps Code in Hubitat.
- Enable OAuth: Crucial Step! Open the app code, click OAuth, and enable it. This is required for the live dashboard tile to function.
- Add User App: Go to Apps -> Add User App -> Rain Warden.
- Select Sensors:
- Rain Sensor: Ecowitt, Ambient, or any standard rain device.
- Humidity/Temp: Required for the logic engine.
- Wind (Optional): Improves prediction accuracy .
Notifications & Alerts
Rain Warden includes a robust notification engine. You don't need Rule Machine for alerts.
- Styles: Choose between "Urgent" (
ALERT), "Standard" (
Heavy Rain), or "Minimal" text styles . - Predictive Alerts: Get a "
RAIN PREDICTED" message when conditions imply a storm is forming. - Stale Sensor Watchdog: If your sensor stops reporting for 30 minutes (dead battery/gateway offline), the system will alert you: "
Sensor is OFFLINE/STALE". - Quiet Modes: Mute notifications automatically during sleeping hours or specific modes. Includes a "Strict Mute" option to silence even critical alarms if desired .
The Inspiration
The driving force behind Rain Warden was the need for a "high-end," proactive solution to home weather awareness. Standard automations are often too reactive—telling you it’s raining only after the patio is soaked.
I built this to solve two specific, daily frustrations:
- The Morning Commute: There is nothing worse than getting ready for work, heading out the door, and only then realizing you need an umbrella or a coat. I wanted the house to tell me what was happening before I stepped outside.
- Pet Safety: My dogs would often be in the backyard when a harmless sprinkle suddenly escalated into a heavy downpour. By the time I noticed, they were already soaked and muddy.
Rain Warden solves this by tying predictive analytics and "guaranteed" confidence scores to virtual switches. This allows you to trigger specific actions—like playing a polite "It’s sprinkling" MP3 on a smart speaker or sending a high-priority push notification—bridging the gap between "it might rain" and "get the dogs inside now."

