Release v1.15.0
New optional per-switch water-quality sources for ammonia (NH3/NH4) and
nitrite (NO2): "if these values rise, feed less" (from the feeder manual).
Each substance has two thresholds — a warn threshold that reduces the
daily amount (only in the feeding-amount control mode) and a max threshold
that blocks feeding entirely in every mode. The "when" and all other
blocks stay unchanged.
- main.js: ammonia/nitrite sources (sourceValue, setupSources, mirrors);
getBlockReason hard block above the max; waterQualityFactor() reduces the
amount in control mode; new isNum() helper; new states status.ammonia /
status.nitrite - lib/messages.js: blockAmmoniaHigh / blockNitriteHigh (11 languages)
- config/types/Settings: 11 new per-switch fields (sources, thresholds, reduce %)
- SwitchTab: new "Water quality (ammonia / nitrite)" section
- i18n: +11 keys x 11 languages (236 each)
- docs: documented in all 11 READMEs and the German PDF handbook
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com