Pause heating or cooling when a window stays open

Open a window for fresh air, and heating or cooling pauses after a short delay. Close every monitored opening, and the system resumes only if this recipe paused it.

Best for: Homes with a controllable thermostat and reliable contact sensors on the windows or patio doors people intentionally leave open.

Not for: Briefly used exterior doors, homes with unmonitored openings, or HVAC equipment whose thermostat mode cannot be safely paused and restored.

Why this exists

Pausing heating or cooling when a window stays open avoids using energy on air that is immediately lost outside. The recipe must ignore quick door trips, remember whether it caused the pause, wait for every monitored opening to close, and avoid undoing a manual thermostat change.

Start with one frequently used window. Expand only after the full pause-and-resume cycle works reliably.

What I used

Job Good enough Never think about it Notes
Control heating and cooling ecobee Smart Thermostat Enhanced Honeywell Home T6 Pro Z-Wave thermostat Keep safe limits and manual control at the thermostat.
Detect an open window or door SONOFF SenseGuard Gen2 Zigbee contact sensor Zooz ZSE41 800LR Open/Close XS Sensor Test every open and closed report before enabling HVAC control.

See recommended gear for the job-first checklist. Product links on this page are direct, non-affiliate Amazon links. Product recommendations and any future affiliate relationships are explained in the disclosure.

Logic

IF any monitored window remains open for two minutes AND heating or cooling is active THEN mark HVAC as paused by this recipe AND pause the thermostat IF every monitored opening remains closed AND this recipe still owns the pause THEN restore the saved thermostat mode AND clear the pause marker

Setup notes

  1. Start with windows people intentionally leave open. Exclude exterior doors used for quick trips.
  2. Verify each contact sensor reports open and closed correctly ten times.
  3. Create one combined “any monitored opening is open” state.
  4. Add a two-minute open delay and a short all-closed delay to prevent rapid cycling.
  5. Track whether this recipe paused HVAC. Never resume merely because a window closed.
  6. During testing, notify without changing the thermostat.
  7. After notifications are reliable, test pause and resume while someone watches the thermostat.

Safe restoration

The resume half is more important than the pause:

Advanced features

Use different delays by opening

A window intended for ventilation can use a short delay. A frequently used patio door needs a longer delay or should be excluded. The goal is to catch sustained openings without cycling HVAC during normal traffic.

Add a reminder instead of a blinking light

Send one useful notification when HVAC pauses and another only if the opening remains open. Repeated blinking or phone alerts become noise and teach the household to ignore the recipe.

Show which opening blocks resume

A status tile can list the windows still open. This makes a failed resume understandable without exposing platform-specific implementation details.

Failure modes

Done when

FAQ

How long should a window stay open before HVAC pauses?

Start with two minutes for windows. Use a longer delay or exclude exterior doors that normally open for brief trips.

When should the thermostat resume?

Resume only after every monitored window and door has remained closed briefly, and only if this automation was responsible for the pause.

What if someone changes the thermostat while a window is open?

Treat the manual thermostat change as the new instruction. Do not restore an older saved mode over it when the window closes.