Get notified when to open or close windows

Compare indoor and outdoor temperature, and send one notification when opening or closing windows would take advantage of free heating or cooling.

Best for: Homes with a working indoor and outdoor temperature reading that want a reminder instead of running heating or cooling unnecessarily.

Not for: Automatically opening or closing any window, or replacing a working thermostat schedule with notification-driven manual habits nobody follows.

Why this exists

Free heating or cooling from outdoor air is easy to miss without a specific reminder. A one-time notification, sent only when the temperature difference is meaningful and has held steady for a while, is more useful than expecting anyone to check the weather and compare it against the thermostat throughout the day.

What I used

Job Good enough Never think about it Notes
Track whether a window is open SONOFF SenseGuard Gen2 Zigbee contact sensor Zooz ZSE41 800LR Open/Close XS Sensor Optional. Useful for skipping a notification about a window that is already open.
Compare indoor and outdoor temperature No personally verified recommendation yet No personally verified recommendation yet Many platforms already provide an outdoor reading through an existing weather integration, so a dedicated purchase may not be needed.

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 outdoor temperature is at least 5 degrees warmer than indoor temperature AND it is heating season AND the gap has held for several minutes AND tracked windows are currently closed THEN send one notification: "Outside is warmer than inside. Consider opening a window." IF outdoor temperature is at least 5 degrees cooler than indoor temperature AND it is cooling season AND the gap has held for several minutes AND tracked windows are currently closed THEN send one notification: "Outside is cooler than inside. Consider opening a window."

Setup notes

  1. Confirm both the indoor and outdoor temperature readings are current and reasonably accurate before using them.
  2. Choose a minimum temperature difference, starting around 5 degrees Fahrenheit, and adjust only after seeing how often it fires.
  3. Require the difference to hold for several minutes before sending a notification.
  4. Add a cooldown between notifications so a temperature hovering near the threshold does not send repeated alerts.
  5. If window sensors are available, skip the notification for windows already open.
  6. Restrict notifications to hours when someone is likely to see and act on them.

Advanced features

Include a rain warning

If a window sensor reports open and rain is forecast, send a separate notification suggesting the window be closed.

Mention an approximate cost difference

Where the platform can estimate it, add a rough cost comparison to the notification to make the suggestion more concrete.

Failure modes

Done when

FAQ

How large should the temperature difference be before notifying?

Start with a difference of at least 5 degrees Fahrenheit between indoor and outdoor readings. A smaller difference is not worth interrupting anyone for.

Why require the difference to hold for a while before sending an alert?

Outdoor temperature can swing briefly with wind, clouds, or a passing shower. Requiring the difference to hold for several minutes avoids notifying on a reading that will not last.

Should the automation close windows automatically?

No. This recipe only notifies. Closing or opening a window is a manual action so a person can also check weather, security, and whether the window can be reached safely.