← Work

ha-operator

Platform · Active

The Kubernetes operator pattern, applied to my house.

A declarative home-automation controller that replaces brittle if-this-then-that rules with a reconciliation loop: behaviors are pure functions of a world snapshot, rendered to a desired state and diffed onto Home Assistant. Includes a weighted-evidence occupancy engine that fuses motion, BLE, and camera signals into per-room presence. Heavily typed, well-tested, and running my actual house.

Pure-function behaviors · reconciled desired state · weighted-evidence occupancy

Writing about this project

  • Reconcile My Living Room: A React for Home Assistant

    The lights in my house kept fighting each other. A few rooms of smart bulbs is a tiny distributed system with controllers stomping on shared state, so I stole the two patterns that fix this elsewhere (React render-and-diff, the Kubernetes reconcile loop) and pointed them at Home Assistant.

    February 15, 2026