github OpenSprinkler/OpenSprinkler-Firmware 221(4)

one day ago

This is a minor firmware update. Build number updates (e.g., from 2.2.1(2) to 2.2.1(4)) will preserve all existing settings and programs. Dotted version updates (e.g., from 2.2.0 to 2.2.1) will trigger a factory reset, including WiFi settings. Before updating, please export a copy of your current configurations to ensure you can restore them in case a factory reset is triggered.

Main Changes

  • Support DC-powered OS 3.4 (USB-PD): Integrates CH224 USB-PD library and allows setting a target PD voltage.
  • Preemptive Running for Manual Actions: Manual station runs, Run-once programs, and manually started programs support user-specified queuing options (via the pre= parameter): 0: run after others (append), 1: run now and pause others (insert at front), 2: run now and stop others (i.e. replace, which is the default behavior in previous firmwares for the /mp and /cr endpoints).
  • OSPi GPIO Backend: Switch from libgpio to lgpio (simpler API; compatible with Raspbian Trixie; avoids libgpiod v2's breaking changes).
  • Smoother Current Readings: Add exponential moving average (EMA) for current sensing (addresses #379).
  • Weather Script URL: Support explicit http/https and custom port for the weather script path (facilitates local testing).
  • Smaller Static Pages: Serve AP homepage and firmware update pages as minified + compressed HTML.
  • Documentation Changes: Use mkdocs and GitHub Pages for documentation.

Don't miss a new OpenSprinkler-Firmware release

NewReleases is sending notifications on new releases.