feat: setpoint changes are leases the backend renews (ADR-011) #72

Open
mariusz.pacek wants to merge 0 commits from mariusz.pacek/feat/setpoint-leases AGit into master
pull from: mariusz.pacek/feat/setpoint-leases
Owner

A lost backend or tunnel must not leave the house on boost or away settings: every change keeps a 15 min lease, the backend renews it every 5 min via POST /commands/renew, the gateway restores on lapse. Also records the approved limits.

A lost backend or tunnel must not leave the house on boost or away settings: every change keeps a 15 min lease, the backend renews it every 5 min via POST /commands/renew, the gateway restores on lapse. Also records the approved limits.
mariusz.pacek added 4 commits 2026-10-24 10:41:44 +00:00
A change now keeps a restore that runs at the earlier of its end time and a
15 minute lease; POST /commands/renew extends live leases. A lost backend or
tunnel can no longer leave boost or away settings on the controller.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without renewals the gateway restores every change after 15 minutes, so a
lost backend or tunnel never leaves the house on boost or away settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: ADR-011 setpoint leases, spec F3 limits decided, roadmap M4
CI / Check (gateway, backend, frontend) (push) Successful in 1m15s
ba8631b3c2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
CI / Check (gateway, backend, frontend) (push) Successful in 1m15s
This branch is already included in the target branch. There is nothing to merge.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin refs/pull/72/head:mariusz.pacek/feat/setpoint-leases
git checkout mariusz.pacek/feat/setpoint-leases
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mariusz.pacek/home-pump#72