Skip to content

Firmware 2.2.1(4)#381

Merged
rayshobby merged 35 commits into
masterfrom
dev/221_4
Nov 15, 2025
Merged

Firmware 2.2.1(4)#381
rayshobby merged 35 commits into
masterfrom
dev/221_4

Conversation

@rayshobby
Copy link
Copy Markdown
Member

Closes #379

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.

…d ch224 library code, add request_voltage_closest function
…es are scheduled in front of existing queued elements
…file to replace gpiod with lgpio following the same change in build.sh
@psmedley
Copy link
Copy Markdown

psmedley commented Nov 2, 2025

FWIW I updated a Pi to trixie, and installed this branch and it's working fine.

@rayshobby rayshobby merged commit 05ad383 into master Nov 15, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Increased idle current draw after update to 2.2.1(3)

2 participants