Why Winterization and Freeze Protection Need Local Logic
Cold weather breaks irrigation systems in two different ways: sudden shoulder-season frosts that turn a 5:30 AM watering cycle into driveway ice and cracked backflow brass, and deep winter freezes that split un-drained lateral pipes underground.
Both problems expose the biggest flaw in cloud-tethered sprinkler timers. If your ISP drops overnight, a cloud API stalls, or weak garage Wi-Fi interrupts a remote command right before dawn, a scheduled run can still fire into near-freezing air—or fail to respond when you are standing beside an air compressor trying to blow out zones one by one.
With SprinklerID by IntelliDwell, watering schedules, countdown timers, sequential multi-zone queues, Master Valve interlocks, and active rain-delay counters live directly in non-volatile flash on the ESP32. That lets you build deterministic freeze lockouts and winterization workflows that run entirely on your local network at http://sprinklers.local—no cloud dependency or subscription required.
Shoulder Season vs. Full Winter Shutdown: Choosing the Right Strategy
Before writing automations or connecting an air compressor, separate temporary freeze protection (October/November cold snaps and April/May frosts) from full winter hibernation:
| Scenario | Water Supply State | Controller Logic to Use | How It Behaves in SprinklerID |
|---|---|---|---|
| Shoulder-Season Frost Lockout | Main irrigation valve still open | Rain Delay (1–5 days) pushed locally via Home Assistant (POST /api/weather or MQTT cmnd/rain_delay/set) |
Skips scheduled runs while days_remaining > 0 in rain_delay.json; decrements once per day |
| Full Winter Hibernation | Main isolation valve closed; lines blown out; backflow drained | Per-Zone Schedule Toggles OFF (Active off in Scheduler, or MQTT cmnd/zone/<n>/schedule = false) |
Disables all automatic zone schedules indefinitely while keeping saved times intact in schedules.json |
| Active Air Blowout | Water shut off; regulated air compressor connected | Sequential Runs (POST /start-run-queue) or manual Timers via LAN UI / Local-Only Android app |
Runs one zone at a time on your command—even while scheduled watering is paused |
Important firmware detail: SprinklerID stores active delays in rain_delay.json on ESP32 flash and decrements days_remaining by 1 once per calendar day inside check_schedules(). That makes a 1- or 2-day delay ideal for holding off watering across a frosty weekend, but unsuitable for all-winter shutdown, because a maximum 5-day delay will expire in five days. For full winterization, disable the zone schedulers directly (and shut off the main water valve).
Automating Local Freeze Lockouts With Home Assistant and SprinklerID
SprinklerID's PCB focuses cleanly on 24VAC solenoid switching (10 zone terminals plus COM) rather than bundling an exposed onboard temperature probe inside a garage enclosure. For freeze detection, pairing SprinklerID over your LAN with Home Assistant—using an outdoor temperature sensor from a personal Ambient Weather station, an Ecowitt/Zigbee thermometer, or a local ESPHome probe—keeps freeze decisions fast and completely offline-capable.
1. Pick a Conservative Surface-Freeze Threshold
Do not wait until an outdoor air thermometer reads 32 °F (0 °C) to pause irrigation. On clear, calm nights, radiational cooling drops turf blades, pavement, and exposed brass backflow assemblies several degrees colder than a shaded wall sensor mounted five feet off the ground—and atomized spray water adds evaporative cooling on contact.
A practical local lockout rule triggers whenever outdoor temperature drops below 37 °F (2.8 °C), giving you margin ahead of surface frost and early-morning black ice on sidewalks.
2. Option A: Push Local Freeze Delays via POST /api/weather
SprinklerID exposes a local HTTP endpoint at http://<CONTROLLER_IP>/api/weather that records outdoor telemetry (rain_today_in, temp, source) and applies delay_days (1–5) directly to rain_delay.json.
Before setting up the automation, verify how SprinklerID arbitrates weather sources (ha_rain_delay):
- Cloud Services disabled (
cloud_enabled = 0):ha_rain_delaydefaults to1, so the controller automatically honorsdelay_dayspushed from Home Assistant. - Cloud Services enabled (
cloud_enabled = 1): If your property at sprinklers.intellidwell.net is set to Ambient Weather or NWS, the cloud setsha_rain_delay = 0so Home Assistant updates recordtempwithout overriding your cloud weather station's rain delay. Switch the property's weather source to Controller Pushed (Home Assistant) if you want Home Assistant to drive both rain and freeze delays.
Add a rest_command in Home Assistant's configuration.yaml (using a DHCP-reserved IP for your controller):
# configuration.yaml
rest_command:
sprinklerid_freeze_hold:
url: "http://192.168.1.50/api/weather"
method: POST
content_type: "application/json"
payload: >
{"rain_today_in": {{ rain | float(0) }},
"source": "Home Assistant Freeze Guard",
"delay_days": {{ days | int(1) }},
"temp": {{ temp | float(32) }}}
Then trigger a 2-day delay whenever your outdoor temperature sensor drops below 37 °F, refreshing every two hours while cold weather lingers:
# automations.yaml
- alias: "SprinklerID - Local Freeze Protection Hold"
triggers:
- trigger: numeric_state
entity_id: sensor.outdoor_temperature
below: 37
- trigger: time_pattern
hours: "/2"
conditions:
- condition: template
value_template: >
{{ is_number(states('sensor.outdoor_temperature'))
and (states('sensor.outdoor_temperature') | float) < 37 }}
actions:
- action: rest_command.sprinklerid_freeze_hold
data:
rain: "{{ states('sensor.rain_today') | float(0) }}"
temp: "{{ states('sensor.outdoor_temperature') | float }}"
days: 2
Because rain_delay.json is written to ESP32 non-volatile flash, that 2-day freeze hold remains enforced on the controller even if your router reboots, your ISP goes down, or Home Assistant restarts overnight. While rain_delay > 0, check_schedules() skips scheduled runs and logs the active delay in the controller Logs tab; once temperatures stay above 37 °F, the daily midnight decrement clears the hold automatically without needing an explicit reset.
3. Option B: Freeze Holds & Winter Lockout via MQTT Auto-Discovery
If you use SprinklerID's built-in MQTT Auto-Discovery (enable it in Settings and point it to your Mosquitto broker), the controller exposes two sets of local entities you can drive straight from Home Assistant without rest_command:
Rain Delay(number,cmnd/rain_delay/set,0–5days): Updating this entity setsrain_delay.jsondirectly regardless ofha_rain_delaycloud-arbitration settings—and writing0clears an active delay immediately once a warm spell arrives.Zone 1 SchedulerthroughZone 10 Scheduler(switch,cmnd/zone/<n>/schedule): Turning these switchesOFF(false) setsenabled: falseper zone inschedules.json. Your watering days and start/stop windows remain safely saved in flash, but automatic scheduling stays completely paused until you switch them back on in spring.
Here is a simple Home Assistant script to lock out every zone scheduler for winter hibernation over MQTT:
# scripts.yaml
sprinklerid_winter_lockout:
alias: "SprinklerID - Winter Lockout (Disable All Zone Schedulers)"
sequence:
- action: switch.turn_off
target:
entity_id:
- switch.zone_1_scheduler
- switch.zone_2_scheduler
- switch.zone_3_scheduler
- switch.zone_4_scheduler
- switch.zone_5_scheduler
- switch.zone_6_scheduler
- switch.zone_7_scheduler
- switch.zone_8_scheduler
- switch.zone_9_scheduler
- switch.zone_10_scheduler
Note: If you run multiple SprinklerID controllers on one LAN, use our custom HACS integration (which polls each controller's /api/status by IP) rather than MQTT Auto-Discovery, since MQTT topics are shared per broker. Full HACS, MQTT, and REST details are documented in the SprinklerID Documentation & OTA Portal.
Step-by-Step Irrigation Blowout Using Local Sequential Runs
Software lockouts never replace physical winterization in freezing climates. Even if every relay stays closed, water trapped inside shallow PVC laterals, valve manifolds, and outdoor backflow preventers will expand as it freezes.
One major advantage of SprinklerID during fall blowout is that manual Timers, direct relay toggles, and Sequential Runs still execute on command even when zone schedules are disabled or a Rain Delay is active. You can stand out in the yard with your phone connected over local Wi-Fi—either at http://sprinklers.local or using the SprinklerID Android App (.APK) in Local-Only Mode (iOS coming soon)—without running back to the garage wall between zones.
Step 1: Isolate Water and Connect Regulated Compressed Air
- Close the main irrigation shutoff valve: Turn off the interior or curb isolation valve feeding your sprinkler mainline, and open any interior basement/crawlspace drain bleeder between that shutoff and the exterior wall.
- Protect your backflow preventer: Whenever your plumbing layout allows, attach your compressor hose to the blowout port downstream of the backflow preventer (PVB, RPZ, or DCVA) so high-volume compressed air does not slam internal check poppets or springs.
- Set a safe regulator limit: Keep your compressor regulator strictly capped—typically 40–50 PSI for polyethylene (poly) tubing and 50–80 PSI maximum for Schedule 40 PVC. Never feed unregulated
120+PSI tank pressure into plastic irrigation pipes.
Step 2: Check Your Master Valve Routing Before Pressurizing Air
If you configured a Master Valve Relay in SprinklerID's Settings tab, check where your blowout fitting sits relative to that Master Valve:
- Blowout port upstream of the Master Valve: SprinklerID automatically energizes the Master Valve 1,000 ms (1 second) ahead of any zone you open, opening the path cleanly for air to reach the active lateral.
- Blowout port downstream of the Master Valve: Open Zone 1 from your phone before slowly cracking the compressor air valve so compressed air always has an open downstream path through the manifold and out the sprinkler heads.
Never allow compressed air to dead-head against closed zone valves.
Step 3: Pulse Zones Sequentially in Short Passes
First, confirm every zone's Active toggle is OFF in the Scheduler tab (or run your Home Assistant MQTT winter lockout script). Then blow out zones one at a time, starting with the highest-elevation and furthest zone from the compressor:
- Use short 1- to 2-minute cycles: Avoid blasting dry air through a plastic rotor or valve diaphragm for 5–10 continuous minutes—compressed air heats moving parts when no water is left to cool them. Running two brief
1- to2-minute passes per zone lets your compressor tank recover and protects rotor gears. - Queue zones locally or step manually: You can tap a quick Timer (
1–2min) on each zone card or queue a short sequential pass viaPOST /start-run-queue(using Stop Runs / Emergency Stop All immediately if a fitting pops or pressure needs adjustment):
POST http://<CONTROLLER_IP>/start-run-queue
Content-Type: application/json
{
"queue": [
{ "pin": 0, "duration_mins": 2 },
{ "pin": 1, "duration_mins": 2 },
{ "pin": 2, "duration_mins": 2 }
]
}
Watch each zone's heads until steady water spray turns into a faint mist. Because run_queue_processor() closes the finished zone before opening the next one (and cycles any configured Master Valve with a 1-second pre-delay), keeping your air regulator capped at 40–50 PSI (poly) or 50–80 PSI max (PVC)—or closing the air ball valve between passes—keeps pressure safe across valve transitions. Always shut off the air supply and bleed residual hose pressure before disconnecting once the final zone finishes.
Step 4: Drain Test Cocks, Drip Caps, and Filters
- Disconnect the air hose and shut off the compressor.
- Turn the backflow preventer's two isolation ball valves and brass test cock screws to a 45-degree angle (half-open) so small pockets of water trapped inside the brass body have room to drain and expand safely.
- Open manual drain plugs on any low-point valve boxes, unthread drip-zone Y-filter caps to empty standing water, and leave end-of-line drip flush caps open or drained as needed.
Winter Controller Storage: Keep Powered Online or Unplug 24VAC?
Per our SprinklerID hardware installation guide, mount the V2 controller enclosure somewhere shielded from direct water spray and freezing temperatures. Depending on where yours is installed, you have two clean winter options:
- Mounted inside an above-freezing garage or utility room: You can leave the controller powered all winter with every zone's Scheduler Active switch turned OFF (do not rely on a
1–5day Rain Delay). No 24VAC solenoid receives power, whilehttp://sprinklers.local, Home Assistant availability (home/sprinklers/status), and one-click OTA firmware updates (Settings -> Firmware Update (OTA)) remain accessible year-round. - Mounted in an unheated shed or cold garage: After finishing your blowout and disabling schedules, simply unplug the external 24VAC transformer from the 120VAC wall outlet. Because your
schedules.json,settings.json(zone names, Master Valve assignment, timezone, and Wi-Fi credentials), and Home Assistant settings live in ESP32 non-volatile flash, nothing is lost when power stays disconnected all winter.
Spring Restart Without Rebuilding Your Schedules
When freezing nights are behind you, bringing SprinklerID back online takes minutes rather than reprogramming an entire dial from scratch:
- Plug the 24VAC transformer back in (if disconnected), verify field solenoids (
20–60 Ω), and slowly pressurize the main line to prevent water hammer. - Open
http://sprinklers.local(or Home Assistant) and flip each zone's Active schedule switch back ON—every saved day preset and watering window is already waiting in flash. - Re-enable your subscription-free smart rain delays using official NWS gridpoint QPF forecasts and NOAA ACIS observations, a personal or nearby Ambient Weather station in the optional free Cloud Portal, or your local Home Assistant weather and soil-moisture automations.
Built for All-Season Local Ownership
"SprinklerID identifies your irrigation needs—without needing to identify YOU."
Designed by our team in Utah, SprinklerID by IntelliDwell is a drop-in 10-zone 24VAC smart controller powered by open-source ESP32 firmware (GPLv3 with a non-commercial hardware restriction on GitHub).
- Pricing: $84.99 for the controller only (reuses your existing 24VAC transformer) or $94.99 for the Complete Kit with a 24VAC power supply at intellidwell.net/sprinklercontroller.
- Documentation & API: Full wiring guides, HACS/MQTT setup, REST endpoints, and OTA update instructions live at docs.intellidwell.net/sprinkler.
- Lifetime Return Policy: Every unit is covered by our Lifetime Return Policy—full refund or replacement anytime unless intentional damage is suspected (buyer pays return shipping).