Most smart sprinkler controllers sit quietly on your home Wi-Fi 24 hours a day, wired directly to pressurized 24VAC irrigation valves and logging every time you water or skip a cycle. With typical closed-source hardware, understanding what that microcontroller sends off your network is guesswork. Even if you watch your router logs, encrypted HTTPS or proprietary binary blobs hide the payload—leaving you to trust a vendor privacy policy instead of verifying the firmware yourself.
Open firmware flips that relationship. At IntelliDwell, our engineering team in Utah built SprinklerID around a simple principle: SprinklerID identifies your irrigation needs—without needing to identify YOU. Because the ESP32 MicroPython firmware is open source under GPLv3 (with a non-commercial hardware restriction) on GitHub, you can read every socket call in the codebase and confirm it against live packet captures on your own LAN.
Here is a complete wire-level audit of what SprinklerID actually transmits over Wi-Fi across each operating mode, followed by a practical checklist for auditing any networked irrigation controller on your home router or IoT VLAN.
Why Closed-Source Sprinkler Controllers Are Hard to Audit
When a smart irrigation timer runs proprietary firmware, network inspection hits three walls:
- Silent background check-ins: Many cloud-first devices periodically phone home for firmware manifests, telemetry, or remote-command polling even when you only intend to use them locally.
- Opaque TLS payloads: Packet inspection tells you where a controller is talking, not what structured fields it uploads—such as SSIDs, internal network topology, watering history, or local sensor states.
- Unpredictable offline behavior: You often cannot tell until an internet outage happens whether watering schedules actually live in on-device flash or depend on cloud-pushed jobs.
With open-source firmware, static source inspection and live packet monitoring reinforce each other: you see the exact functions that open sockets, the exact JSON payloads serialized onto the wire, and the exact intervals at which they run.
Auditing SprinklerID's Wi-Fi Traffic by Mode
In SprinklerID's firmware (main.py, controller.py, and cloud.py), network behavior is strictly modular. Core irrigation—10-zone 24VAC control, NVS and local JSON flash schedules, countdown timers (1–240 minutes), sequential multi-zone queues, and the configurable Master Valve interlock—runs entirely on the ESP32. External connections only run when you explicitly turn on the corresponding feature.
| Mode / Task | Protocol & Port | Destination | Trigger / Frequency | Data Transmitted | Leaves LAN? |
|---|---|---|---|---|---|
| Initial Setup AP | HTTP 80 / DHCP |
192.168.4.1 (intelidwellSC) |
Unconfigured or Wi-Fi unreachable | Setup form HTML & Wi-Fi credentials entered by user | No |
| mDNS Responder | UDP 5353 |
Multicast 224.0.0.251 |
Startup + sprinklers.local queries |
sprinklers.local A-record with controller LAN IP |
No |
| Local Web UI & REST API | HTTP 80 |
LAN clients / Home Assistant / Mobile app | On user or HACS request | Self-contained HTML UIs & JSON state (/api/status, schedules, logs) |
No |
| Gateway Health Probe | TCP 80 |
Local default gateway IP | Every 10s (when Cloud WS is inactive) |
Non-blocking TCP SYN/RST reachability check (1,200 ms timeout) |
No |
| Clock Sync (NTP) | UDP 123 |
Gateway IP first; fallback 162.159.200.1, 216.239.35.0 |
Every 24h (60s retry on failure) |
Standard 48-byte SNTP time query | Only if gateway lacks NTP |
MQTT (mqtt_enabled = 0 default) |
TCP (umqtt) |
User-configured local broker IP | When enabled (20s ping keepalive) |
Home Assistant discovery payloads, zone states, rain delay, availability | No (LAN broker) |
| Manual OTA Pull | HTTP | User-configured update_server |
Only when user clicks update (POST /ota/pull) |
Requests compiled .mpy & HTML assets |
Yes (on demand only) |
Optional Cloud (cloud_enabled = 0 default) |
HTTP / WebSocket 80 |
sprinklers.intellidwell.net |
Only when paired & enabled (20s ping) |
Device login once; then JSON state, schedules, settings (no passwords), acks | Yes (opt-in) |
Let's examine each layer inside the open-source codebase so you know precisely what crosses your Wi-Fi radio.
1. Boot, Wi-Fi Association, and Setup AP (main.py)
When the ESP32 boots, main.py reads settings.json from internal flash. If no Wi-Fi SSID is saved—or if Wi-Fi fails after boot—it activates a local access point named intelidwellSC at 192.168.4.1 so you can supply your Wi-Fi credentials locally without a cloud app.
Once configured, the controller disables the setup AP and joins your 2.4 GHz network using 20 MHz 802.11b (MODE_11B, pm=0, txpower=15), scanning for the strongest BSSID matching your SSID and registering the DHCP hostname sprinklers.
2. Default Local-First Mode: Zero Cloud Sockets and Self-Contained Web UI
Out of the box, both cloud_enabled and mqtt_enabled default to 0. In controller.py's main() startup routine, cloud_client.loop() is not even scheduled unless cloud_enabled == 1.
In this default mode, your controller runs four local-first network services:
- LAN mDNS (
mdns_responder_task): Binds UDP port5353on multicast224.0.0.251to announcesprinklers.localand respond to local mDNS lookups from browsers or the SprinklerID Android App (.APK) running in Local-Only Mode (no account required; iOS coming soon). Multicast mDNS packets remain strictly within your local broadcast domain. - Zero-CDN Embedded Web Server (
Microdoton TCP port80): Servesindex.html,scheduler.html,logs.html, andsettings.htmlstraight from the ESP32's flash. Inspecting the HTML source in the repository confirms there are no external JavaScript CDNs, no third-party Google Fonts, and no analytics scripts embedded in the controller's pages. When you openhttp://sprinklers.local, your browser only talks to the ESP32 on your LAN. - Local REST API for HACS and Custom Automations: Endpoints documented in our SprinklerID Documentation & API Guide—such as
GET /api/status,GET /relay-timer/<zone>/<mins>,POST /start-run-queue,GET /get-schedules, andPOST /api/weather—handle Home Assistant HACS polling and local weather/moisture binary sensor pushes over your LAN. - LAN-Only Gateway Reachability Check (
wifi_monitor_loop): Instead of pinging an external server on the internet every few seconds to confirm Wi-Fi is still alive,wifi_monitor_loop()checks your local default gateway IP (wifi.ifconfig()[2]) on TCP port80every10seconds with a non-blocking1,200 msprobe (unless an active optional Cloud WebSocket has already received data within the last65seconds). Even a gatewayTCP RSTconfirms L2/L3 Wi-Fi health without touching the WAN.
3. The One Subtle Outbound Candidate: Daily NTP (fetch_ntp_time)
To trigger flash-stored watering schedules accurately when your internet or Home Assistant hub is down, the ESP32 syncs its real-time clock every 24 hours (86,400 seconds) via fetch_ntp_time() on UDP port 123 (retrying every 60 seconds if time sync fails at boot).
Look closely at the host list in controller.py:
hosts = []
try:
gw = wifi.ifconfig()[2]
if gw and gw != '0.0.0.0':
hosts.append(gw)
except Exception:
pass
hosts.extend(['162.159.200.1', '216.239.35.0'])
SprinklerID tries your local router/gateway IP first (wifi.ifconfig()[2]) before falling back to public anycast NTP IP addresses (162.159.200.1 and 216.239.35.0). Notice two audit-friendly details here:
- Zero DNS footprint for time sync: Because fallback targets are IP literals rather than domain names, NTP never triggers DNS queries.
- True zero-WAN capability: If your router, pfSense, or OPNsense firewall runs a local NTP daemon on the gateway IP, SprinklerID gets accurate time from your LAN and sends zero outbound WAN packets in default mode.
4. Local MQTT Auto-Discovery (mqtt_enabled = 1)
If you prefer push-based automation over HACS HTTP polling, you can enable MQTT in Settings and point the controller at your local broker (such as Mosquitto in Home Assistant). Once enabled, controller.py opens a LAN TCP connection via umqtt.simple with a 60-second keepalive and a 20-second mqtt_ping_loop(), sets an Offline Last Will on home/sprinklers/status, publishes retained Home Assistant discovery payloads under homeassistant/switch/SC0..9/config, SS0..9/config, homeassistant/number/rain_delay/config, and homeassistant/button/intellidwell_restart/config, and exchanges cmnd/... / stat/... messages directly with your broker. No third-party MQTT broker is ever used unless you type one in yourself.
5. On-Demand OTA Firmware Updates (No Background Check-Ins)
Some IoT devices quietly poll a vendor endpoint every hour to check for updates, effectively acting as a live uptime beacon. SprinklerID does not run any background update-check task on the ESP32:
- Explicit browser check: Only when you open the Settings tab and click Check for Updates does your browser query
https://www.intellidwell.net/api/firmware-versions(or a customupdate_serverURL you set) to list Stable (v2.0.x) and Beta (v2.1.x) releases. - Explicit ESP32 pull (
POST /ota/pull): The ESP32 only initiates outbound HTTP requests to fetch updated.mpybytecode and HTML assets when you click install. - 100% offline/LAN update paths: You can also push files directly over your LAN using
POST /ota/upload(X-Filenameheader) or flash the board locally over USB serial withesptool.pyandmpremoteusing the instructions in the SprinklerID Docs.
6. Optional Free Cloud Portal (cloud_enabled = 1) and Weather Boundaries
If you want remote access without setting up a VPN, multi-property management, contractor sharing, or the interactive 2D vector CAD Yard Map (with rotor/dripper animations), you can opt in to sprinklers.intellidwell.net. Because cloud.py is open source, you can verify the exact handshake and payload rules before enabling it:
- One-time pairing (
POST /v1/device/login): Exchanges your portal account credentials plushardware_uid(derived from the ESP32 STA MAC address),device_name,device_model, andfirmware_versionfor adevice_idandapi_keysaved tocloud_credentials.json. - Outbound WebSocket (
ws://sprinklers.intellidwell.net/v1/device/<device_id>/ws): Uses an outbound TCP port80WebSocket connection so zero inbound firewall ports need to be opened on your home router. Every20seconds, the controller sends{"type": "ping"}and updates its clock from the server'spongresponse if needed. - What state frames include—and exclude: State updates are debounced (
150 ms) and split into compact JSON frames (status,settings, and chunkedschedules) viaControllerAdapter.get_sync_data(). Thesettingssync sharesmaster_valve,timezone,sequential_runs,ssid,mqtt_enabled,mqtt_server,mqtt_username, andha_rain_delay, while explicitly omittingwifi_passwordandmqtt_password. - Where smart weather & AI Yard Map APIs run: The ESP32 itself never connects directly to the National Weather Service (NWS), NOAA ACIS, Ambient Weather, or Google Gemini. When Cloud mode is off, Home Assistant pushes local precipitation and rain-delay status straight to
POST /api/weatheron your LAN. When Cloud mode is on, the portal backend fetches NWS gridpoint QPF forecasts, NOAA ACIS gauges, or your chosen Ambient Weather station for your property and sends standard rain-delay commands down the WebSocket. Likewise, the optional Gemini Vision satellite screenshot scanner uses your own Google AI Studio API key stored in your browser's local storage. - Architecture trade-off to know during an audit: Because standard ESP32 boards without PSRAM have a tight internal C DRAM ceiling shared between MicroPython and
esp_wifi/lwIP,cloud.pykeeps the device-to-cloud WebSocket on plain TCP port80rather than running a full persistent mbedTLS socket on the microcontroller (while your browser and mobile app talk tohttps://sprinklers.intellidwell.netover HTTPS). If your threat model requires end-to-end encrypted remote access with zero plain-text WAN traffic, leavecloud_enabled = 0and reachhttp://sprinklers.localor Home Assistant through WireGuard or Tailscale VPN instead.
How to Audit Any Smart Sprinkler Controller on Your Own Network
Whether you run SprinklerID or another Wi-Fi irrigation timer, you can verify real network behavior in about ten minutes with four checks.
Step 1: Audit the Source Code (When Firmware Is Open)
Clone the repository and search directly for every socket, HTTP request, and external domain before flashing or deploying:
git clone https://github.com/TannerNelson16/sprinkler_controller_public.git
cd sprinkler_controller_public
grep -nE "socket|urequests|https?://|ws://|123|5353|ntp" main.py controller.py cloud.py settings.html
This immediately surfaces every listening port, outbound host, NTP target, and update endpoint in the firmware.
Step 2: Check DNS Queries in Pi-hole, AdGuard Home, or Your Router
Assign your controller a DHCP reservation on your router and filter DNS query logs by its IP address over a 24-hour cycle:
- In SprinklerID's Local-Only mode, expect zero external domain lookups during normal operation (since mDNS stays on
.localand NTP checks your local gateway first before using literal anycast IPs). - Watch out on closed-source timers for frequent lookups to analytics, telemetry, or third-party cloud broker domains every few minutes.
Step 3: Capture Traffic on Your Router or IoT VLAN With tcpdump
If you run OpenWrt, OPNsense, pfSense, or a Linux router, capture non-LAN traffic for the controller's reserved IP (replace eth0.30 and 192.168.30.50 with your IoT interface and controller IP):
# Watch all packets leaving your private subnets from the controller
sudo tcpdump -ni eth0.30 "host 192.168.30.50 and not net 192.168.0.0/16 and not net 10.0.0.0/8 and not host 224.0.0.251"
In SprinklerID's Local-Only mode with a local NTP server listening on your gateway IP, that filter should stay completely silent during normal daily irrigation—and if your gateway does not serve NTP, you should see at most one UDP 123 exchange every 24 hours.
Step 4: Test a Strict WAN-Block Firewall Rule
The ultimate litmus test for local-first claims is unplugging the WAN cable—or adding an outbound DROP/REJECT firewall rule for your IoT VLAN while allowing LAN traffic from Home Assistant and local NTP (UDP 123) to the router:
- Verify that
http://sprinklers.local(or the controller's IP) still loads immediately. - Confirm that manual zone timers, sequential multi-zone queues, Master Valve pre-open interlocks, and Home Assistant (
HACS,MQTT, andPOST /api/weather) continue executing without errors or reboots.
Open Hardware Built for Long-Term Ownership
Software transparency works best when the physical hardware is built to stay in your garage for the long haul—without forcing recurring subscriptions to unlock weather rain delays or local APIs.
SprinklerID by IntelliDwell is a drop-in 10-zone 24VAC ESP32 irrigation controller designed by our team in Utah:
- Pricing: $84.99 (Controller only, reusing your existing 24VAC transformer) or $94.99 (Complete Kit with 24VAC power supply) on the SprinklerID product page.
- Warranty & Returns: Protected by our Lifetime Return Policy—a full refund or replacement anytime unless intentional damage is suspected (buyer pays return shipping).
- Documentation & Source: Full wiring guides, local REST endpoints, Home Assistant setup, and OTA instructions live at docs.intellidwell.net/sprinkler, with open-source firmware at github.com/TannerNelson16/sprinkler_controller_public.