A home sprinkler controller built because my old one died, and I wanted an excuse. It was running in the garage for a few years, and I retired it when I moved. The pattern, relays driven by a small board, got reused for the garage doors, which talk to Home Assistant. The sprinkler never did, and that part is gone.
Architecture
Why Jenkins
The home lab at the time was a small Xen cluster running the always-on services I cared about: off-site backups, dynamic-DNS updates. Jenkins handled all my cron jobs.
- Each zone was a parameterized Jenkins job.
- The job body was a one-liner, run on the Pi over SSH, that flipped a relay GPIO on, slept, and flipped it off.
- The schedule was a Jenkins cron trigger.