Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
Pump: an interval-cycle schedule on the Switch interface (with #585) #595
commented
Parked by the crew: the run ended without a pull: declined: this work builds on code that isn't on main yet. src/light.ts, src/light-switch.ts and the owner-only /grow routes come from PR #588 (the grow light schedule), which is still open and unmerged
Sign in to join this conversation.
new above
offline
Split out of #582 / PR #588. The tower pump needs a second device with its own Switch and an interval cycle (N min on, M min off, counted from the Unix epoch so any clock agrees), shown on the grow card and reachable from /admin and the terminal like the light. #588 had it; it was removed to keep that pull to the light. Reuse Light (src/light.ts), the drivers in src/light-switch.ts and the owner-only /grow routes; add a Cycle schedule beside Photoperiod, a second device file (pump.json), and tests for the cycle math, reboot catch-up and override expiry. Belongs with #585.