Repository navigation
AutoSwg % — v0.1.1 (njsPC) — patch for v0.1.0 testers
Pre-releaseThis is a small follow-up to autoswg-v0.1.0, njsPC only — dashPanel and REM are unchanged, keep using their existing autoswg-v0.1.0 tag and fix/relay-shutdown branch alongside this one.
What changed
Fixed the "projected current FC" calculation to properly account for multiple manual SWG % changes made since your last PoolMath FC reading.
Previously, if you changed the SWG % by hand more than once between FC readings, the projection would assume your latest % had been running for the entire elapsed time since the last reading — silently backdating it over any earlier % that was actually in effect for part of that period. This could skew both the "Projected current FC" figure and the resulting recommendation. It's now credited piecewise: each % change is counted only for the actual run-window hours it was in effect, the same way the longer-term consumption averaging already worked.
No other behavior changes in this update.
Upgrading from v0.1.0
git fetch --tags
git checkout autoswg-v0.1.1
npm install
npm run build
Then restart njsPC as usual. dashPanel and REM don't need any changes for this update.
See also: nodejs-poolController wiki for the full AutoSwg % writeup, and the autoswg-v0.1.0 release for the original testing instructions and issue-reporting guide (both still apply).