Sprinkler and garage controller.

A 2018-era home sprinkler controller, a Raspberry Pi orchestrated by Jenkins, because Jenkins was already running on the home Xen cluster. Long since retired.

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

2018: JENKINS + A PIjenkinson a Xen VMraspberry pipython · GPIOrelay module4 zoneszones 1–4cronGPIO24V ACEach zone was a parameterized Jenkins job. Cron triggers ran them on schedule.Rain-day overrides were Jenkins parameter overrides: skip the job, or pass duration=0.Drawn dim because almost none of these parts still exist.

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.