Skip to content

Setup guides for homes that were never wired for this

Start here →

Weather-Based Smart Home Automations

Weather-Based Smart Home Automations - guide
Guide to Weather-Based Smart Home Automations

Older pier-and-beam homes with uninsulated crawlspaces and unshaded west windows expose the main flaw in generic weather rules. Cloud forecasts miss yard-level frost pockets and stall when broadband drops, while bare sensors flap shades on every passing cloud.

Reliable automation inside Home Assistant splits the work between two layers. Cloud forecast APIs handle multi-hour advance scheduling before utility peak rates, while local Zigbee or Thread sensors run immediate threshold triggers buffered by hold timers and deadbands.

Splitting Local Mesh Sensors From Cloud Forecasts in Home Assistant

In an older home, running rules locally on a Home Assistant Green ($199 MSRP) keeps freeze alerts and shade triggers active offline. Pair it with a Home Assistant Connect ZBT-2 ($49 MSRP) running Zigbee 3.0 or Thread firmware.

Local mesh sensors report crawlspace temperatures, window lux, and indoor particulate counts directly without internet access. Cloud integrations pull multi-hour predictions so thermostats can pre-cool rooms before afternoon tariff spikes.

Because Apple ended Dark Sky API support in March 2023, current Home Assistant setups rely on Open-Meteo or the National Weather Service. Open-Meteo works without an API key, whereas the National Weather Service requires a User-Agent email string.

When broadband drops, cloud forecast updates pause until service returns, and remote phone alerts stop without cellular failover. Plug your router, Home Assistant hub, and Thread border router into an uninterruptible power supply to protect freeze monitoring.

Sensor choice depends on placement and radio range. An IPX4 Thread sensor like Eve Weather reads 0°F to 130°F outdoors, an Aqara Motion and Light Sensor P2 logs indoor lux on CR2450 batteries, and WeatherFlow Tempest reports locally over UDP.

Close-up of a modern outdoor weather sensor with morning dew drops on a deck.
Mounting an outdoor temperature and humidity sensor in shade keeps direct sunlight from skewing cooling and freeze triggers.

Match each weather automation to its primary trigger layer, buffer, and safety limit:

Automation Primary Trigger Layer Deadband or Hold Buffer Fail-Safe Constraint
Crawlspace freeze alert Local Zigbee or Thread temperature sensor Below 36°F for 10 min; reset at 40°F Alerts only; never switch space heaters
West-glass shade closing Local lux sensor plus sun.sun elevation Above 35,000 lux for 10–15 min; reopen at 12,000 lux Stop at 15% open for daylight
Peak-tariff pre-cooling Cloud forecast API plus utility TOU clock 2-hour pre-cool window before 4 PM Revert to setback when unoccupied
Wildfire smoke recirculation Local PM2.5 sensor plus AQI feed Sustained PM2.5 rise before damper shutoff Keep MERV 13+ filtration and HEPA active
Humid-day bath boost Local indoor hygrometer and smart switch Humidity step above baseline for 10 min Keep central AC blower on Auto
Rain-skip irrigation Forecast API plus WaterSense controller Controller-managed rain and soil skip Enforce max runtime cap and manual stop

Four Home Assistant Automations for Older Crawlspaces and West Glass

Older framing leaks conditioned air through vented crawlspaces and unshaded west glass long before a hallway thermostat reacts. Build these four Home Assistant rules so local thresholds act fast while forecasts handle slow thermal shifts.

1. Crawlspace Pipe Freeze Alerts with Hysteresis Resets

Uninsulated crawlspaces drop several degrees colder than regional weather stations on clear nights. Mount a sub-freezing Zigbee or Thread sensor near exposed plumbing and add dedicated pipe freeze prevention hardware before winter.

Using Home Assistant’s triggers:, conditions:, and actions: syntax, require readings below 36°F for 10 minutes before notifying phones. Pair it with a second rule resetting input_boolean.freeze_alert_sent only above 40°F.

alias: Crawlspace Freeze Alert
triggers:
- trigger: numeric_state
entity_id: sensor.crawlspace_temperature
below: 36
for:
minutes: 10
conditions:
- condition: state
entity_id: input_boolean.freeze_alert_sent
state: "off"
actions:
- action: input_boolean.turn_on
target:
entity_id: input_boolean.freeze_alert_sent
- action: notify.mobile_app_phone
data:
title: Crawlspace Freeze Warning
message: Temperature stayed below 36 F for 10 minutes.

Keep cold-weather automations notification-only and never plug a space heater into a smart plug, power strip, or extension cord. Per CPSC guidance, plug portable heaters directly into wall outlets 3 feet from combustibles and turn them off before sleeping.

For permanent freeze heating, hire a licensed electrician to install a hardwired 120 or 240 VAC heater with a rated relay or line-voltage thermostat like Mysa ($99 LITE). Follow local code and the maker’s wiring diagram.

2. West-Facing Shade Closing Using Lux Holds and Sun Elevation

Afternoon sun on west windows heats rooms before hallway thermostats call for cooling. Combine a local lux sensor, shaded outdoor temperature sensor, and motorized shades in Home Assistant when coordinating smart blinds with your thermostat.

In a Home Assistant automation, trigger when window illuminance exceeds 35,000 lux for 10 to 15 minutes above 78°F outdoors. Gate the rule with sun.sun solar elevation so seasonal sunset shifts do not break timing.

Passing clouds drop window light from 45,000 lux to 12,000 lux in seconds, flapping blinds all afternoon. Set a deadband that reopens shades only after illuminance stays below 12,000 lux for 15 minutes, leaving shades 15% open for daylight.

3. Forecast Pre-Cooling Before Time-of-Use Peak Tariffs

Cloud forecasts suit multi-hour scheduling because rooms take time to cool before peak utility rates start. ENERGY STAR estimates certified smart thermostats cut heating and cooling bills by about 8%, or roughly $50 per year.

If your thermostat runs native rate schedules like ecobee eco+ Time of Use pre-cooling, use either the thermostat app or Home Assistant as sole scheduler. Overlapping forecast rules on two platforms fight your setpoint every afternoon.

Worked example: An older house with west-facing double-pane windows, a 2.5-ton (30,000 BTU/h; 2,000–2,500 W electrical draw) heat pump, and motorized cellular shades faces a 4 PM to 9 PM peak tariff ($0.46/kWh peak versus $0.14/kWh off-peak).

Pre-cooling for two hours at a 2,500 W average draw before 4 PM shifts 5.0 kWh off-peak, saving $1.60 per peak afternoon. Revert to normal occupancy setbacks automatically if everyone leaves home.

Before checking 24 VAC thermostat wiring, turn off power at both the air-handler switch and breaker. Never jumper R to C, which blows the 3 A or 5 A board fuse, and hire a technician for 2-wire heat-only boilers.

4. Wildfire Smoke Recirculation, Humidity Control, and Irrigation

During smoke events, EPA wildfire indoor air guidance advises closing windows and doors, shutting fresh-air intakes or recirculating HVAC air, and running MERV 13 or higher filters with portable HEPA units. Smart sensors supplement, never replace, listed smoke or CO alarms.

In Home Assistant, pair a local PM2.5 sensor with an AQI feed to boost HEPA cleaners and run fresh-air damper shutoffs. Require 10 minutes of elevated readings before closing dampers so passing grill or exhaust smoke does not cycle hardware.

In humid summers, never leave a central blower fan on On. Per U.S. Department of Energy air conditioning guidance, continuous fan operation evaporates coil moisture indoors; keep fan mode on Auto with blower delays at 30 seconds or less.

Keep irrigation schedules inside a dedicated EPA WaterSense controller linked to Home Assistant rather than raw YAML timers. Follow our guide on automated garden watering systems to combine forecast rain skips with local soil checks and runtime caps.

Keeping Split Rules Reliable Across Seasons

Local meshes and cloud forecasts drift out of alignment as batteries age, dust coats sensors, and sun angles shift. Run three seasonal checks each year so triggers stay accurate.

  • Spring lux and irrigation check: Wipe dust off window light sensors, verify sun.sun elevation rules track steeper sun angles, and enable rain-skip schedules with a maximum watering cap on your WaterSense controller.
  • Summer humidity and tariff check: Confirm thermostat fan mode remains on Auto, rinse outdoor condenser coils, and verify your Home Assistant pre-cooling window matches your utility’s summer peak hours.
  • Autumn freeze and battery check: Swap CR2450 or lithium AAA batteries in crawlspace and outdoor sensors, test mobile freeze notifications with your alert boolean, and drain exterior hose bibs before hard frosts.

1 Comment

Comments are closed.

The Retrofit Letter

One older-home fix a week. No rewiring.

One retrofit that works in a house with plaster walls and no neutral wire, with the parts list. From our editorial team, no filler.