Pause HVAC when window opens
Stop wasting energy heating or cooling the outdoors. This automation automatically pauses your HVAC system when a window or patio door opens and provides a visual reminder with a blinking light so you know to close it.
Use cases
Energy savings
- Fresh air breaks - Open windows without wasting energy
- Kids leaving doors open - Auto-pause prevents waste
- Patio entertaining - Don't cool the backyard
- Forgotten windows - System adapts automatically
Visual reminders
- Blinking light signal - Know a window is open at a glance
- Kitchen indicator - See status while cooking
- Entry reminder - Notice when leaving
- Night check - Quick visual scan before bed
Products needed
Essential equipment
Window/door contact sensors
Popular brands: Aqara, SmartThings, Eve, Wyze
Place on each window and exterior door you want to monitor
Place on each window and exterior door you want to monitor
Smart thermostat
Brands: Ecobee, Nest, Honeywell Home, Emerson Sensi
Must support remote control via smart home platform
Must support remote control via smart home platform
Optional enhancements
Smart light for indicator
Any color-capable smart bulb for visual "window open" indicator
Brands: Philips Hue, LIFX, Wyze Bulb Color
Brands: Philips Hue, LIFX, Wyze Bulb Color
Smart speaker
For voice announcements when windows open/close
💡 Energy savings tip
- This automation can save 10-25% on HVAC costs during temperate months
- Even 10 minutes of open window with HVAC running wastes significant energy
- The visual indicator helps develop better habits over time
Basic automation setup
IF any window or patio door opens
AND HVAC is currently running (heating or cooling)
THEN pause HVAC (set to "off" or "eco" mode)
AND start blinking indicator light (on/off every 2 seconds)
AND send notification "Window open - HVAC paused"
IF all windows and doors are closed
AND HVAC was paused due to open window
THEN resume previous HVAC mode
AND stop indicator light blinking
AND send notification "All closed - HVAC resumed"
Triggers
- Any window contact sensor changes to "open"
- OR any patio door contact sensor changes to "open"
Conditions
HVAC status: Thermostat is actively heating or coolingTemperature: Outside temp differs significantly from inside (optional)
Duration: Add 30-second delay before pausing (avoids quick open/close)
Actions when window opens
- Save current thermostat mode (for later restore)
- Set thermostat to "off" or "eco" mode
- Start indicator light blinking pattern
- Send notification: "Living room window open - HVAC paused"
- Optional: Announce on smart speaker
Actions when all windows close
- Restore thermostat to previous mode
- Turn off indicator light (or return to normal)
- Send notification: "All windows closed - HVAC resumed"
Platform-specific examples
Home Assistant
Trigger
Any sensor in "windows" group changes to "on" (open)
Condition
climate.thermostat hvac_action is "heating" or "cooling"
Action
Save state, set HVAC off, start light flash script
Tip: Use input_select to store previous HVAC mode for restoration
SmartThings
IF
Any contact sensor opens (create group)
AND
Thermostat is running
THEN
Set thermostat to Off, turn on indicator light
Note: Create separate routine for when all sensors close
Hubitat
Trigger
Contact sensor group any member opens
Condition
Thermostat operating state is heating/cooling
Action
Set thermostat off, activate indicator blink
Setup: Use Rule Machine with variable to store previous mode
Apple HomeKit
When
Any window/door sensor opens
Condition
Thermostat is heating or cooling
Do
Turn off thermostat, turn on indicator
Note: Create automation for each sensor or use Shortcuts for group logic
Alexa
When
Contact sensor opens
Action
Set thermostat to off, turn on indicator light
Tip: Create routine for each sensor or use virtual group device
Google Home
Starter
Contact sensor opens (if supported)
Action
Turn off thermostat, turn on light
Note: Limited sensor support - may need Home Assistant or IFTTT
Advanced features
Blinking indicator patterns
Different signals for different situations:
- Slow blink (2 sec): One window open
- Fast blink (0.5 sec): Multiple windows open
- Color change: Blue = winter (heating paused), Red = summer (cooling paused)
- Brightness: Dim during day, brighter at night
Smart delay logic
Avoid constant on/off cycling:
- 30-second delay: Wait before pausing HVAC
- Grace period: Don't resume if another window opens within 1 minute
- Cooldown: Don't pause again within 5 minutes of resuming
- Quick access exception: Don't pause for <30 second door opens
Temperature-aware
Only pause when it matters:
- Skip pause if outside temp is comfortable (65-75°F / 18-24°C)
- Immediate pause if outside temp is extreme
- Consider humidity differences
- Factor in sunny vs. shady side of house
Common issues and solutions
HVAC keeps cycling on and off
Problem: Frequent short window openings cause constant HVAC toggling.
Solutions:
- Add 30-60 second delay before pausing HVAC
- Add 2-minute delay before resuming HVAC
- Ignore windows that open for less than 30 seconds
- Add cooldown period between state changes
HVAC doesn't resume after closing
Problem: Windows closed but HVAC stays off.
Solutions:
- Verify all sensors are reporting correctly
- Check that "resume" automation is enabled
- Ensure previous mode was properly saved
- Add fallback timer to resume after 1 hour regardless
Indicator light annoying at night
Problem: Blinking light too bright or distracting when sleeping.
Solutions:
- Reduce brightness of indicator at night (10% vs 50%)
- Use slower blink rate at night
- Switch to solid on instead of blinking after 10 PM
- Use indicator in non-bedroom area only
Too many notifications
Problem: Getting notification for every window open/close.
Solutions:
- Only notify on first open and final close
- Use visual indicator instead of phone notifications
- Batch notifications (summarize every 5 minutes)
- Only notify if window open for more than 5 minutes
Best practices
Setting up window HVAC pause
- Install contact sensors on all windows and exterior doors
- Create a sensor group for easier automation
- Add delay before pausing to avoid quick open/close triggers
- Store previous HVAC mode for proper restoration
- Choose indicator light location visible from main areas
- Test thoroughly before relying on automation
What to avoid
- No delay - Quick door opens will constantly toggle HVAC
- No restoration - Forgetting to resume HVAC after windows close
- Too sensitive - Every brief door opening shouldn't trigger
- Bedroom indicator - Blinking lights disrupt sleep
Related automations: