Stage 2 of the battery work (ADR-013): FC16 over Solarman, allowlisted Time of Use and slot changes with stale/changed-state refusals, read-back and audit, app-side backup reserve (default 50 %, floor 30 %), backend endpoints and Bateria edit UI. Off until deyeCommands.enabled; no restore by design.
Stage 2 of the battery work (ADR-013): FC16 over Solarman, allowlisted Time of Use and slot changes with stale/changed-state refusals, read-back and audit, app-side backup reserve (default 50 %, floor 30 %), backend endpoints and Bateria edit UI. Off until deyeCommands.enabled; no restore by design.
Needed for the Deye's program table; works over Solarman V5 unchanged,
as the RTU frame wraps any PDU. The echo of address and count is checked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Token-protected /battery/schedule and /battery/reserve: allowlisted Time
of Use changes checked as a whole against a fresh reading and the live
registers, FC16 per range, read-back, audit, rate limit per register.
The reserve is an app setting kept in reserve.json.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
POST /api/battery/schedule and /api/battery/reserve with the same
guards as the other writes; /api/battery shows the reserve and whether
changes are possible.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reserve stepper with the API's bounds, schedule edit mode with a
confirmation summary and Polish results; hidden when not editable.
Stepper and Button move to ui.tsx for reuse.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Stage 2 of the battery work (ADR-013): FC16 over Solarman, allowlisted Time of Use and slot changes with stale/changed-state refusals, read-back and audit, app-side backup reserve (default 50 %, floor 30 %), backend endpoints and Bateria edit UI. Off until deyeCommands.enabled; no restore by design.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.