-
Notifications
You must be signed in to change notification settings - Fork 0
Change Log
intermittech edited this page Jul 18, 2026
·
5 revisions
2021-04
- First implementation.
2021-11
- Added information about dynamic configuration options
- Added button support.
2023-05
- Added support for PCF8574 I2C port expander (multiple)
2023-11
- @chrisburrows Added support for compile time defaults for setting DELAY, EXTERNAL, INVERTS and HA discovery
2026-07 - Changed to PowerManager
- Added support for the AW9523(B) 16-port I2C expander (expander type selector replaces the PCF8574 checkbox; legacy configs migrate automatically)
- Maximum number of relays raised from 8 to 16
- Added segment coupling: a relay can follow a segment's on/off state (incl. "any segment" master mode) to cut power to individual LED sections
- Added relay names (settings page or
POWERMANAGER_NAMES), used in the segment "Power relays" menu, Info page and HA discovery - Split
delay-sinto per-relaydelay-on-sanddelay-off-s(legacy configs migrate to both) - Added anti-flash power-on: black frames around energising a coupled port (
black-pre-ms/black-post-ms) - Added
stabilize-sPSU stabilization for any-segment master relays: sections wait after the main supply powers on - Relay 0 is now the dedicated Master AC relay slot (enable checkbox on the settings page; the any-segment role is reserved for it)
- Added optional main power sync: main power follows the Master AC relay (off when everything is off, restored by switching a segment on)
- Presets can carry relay links (
PowerManagerblock with optional"save":falsefor RAM-only application) - Renamed from Multi Relay to Power Manager and split off as a standalone external usermod; configuration from a previous multi_relay installation migrates automatically (original multi_relay by @blazoncek remains part of WLED)
2026-07 - v1.1.0
- The segment-card "Power relays" menu now ships inside the usermod: it is served by the device at
/um.jsand injected into the main web UI at runtime (addUIInjectCode(), UI-injection mechanism designed by @blazoncek and proposed for WLED mainline in wled/WLED#5741) - The WLED tree patch shrank accordingly: instead of the PowerManager-specific menu code, only the small usermod-agnostic injection hook is applied (4 core files, insertions only; unnecessary once WLED merges the mechanism upstream)
- Updated
ui-patch/tooling and documentation for the new hook
2026-07 - v1.1.1
- Hardened the injection hook after review feedback on wled/WLED#5741: injected usermod JS now runs inside a try/catch shield (
umInjectSafe()- a throwing usermod script can no longer abort the UI's state rendering or trigger its retry loop), and the first render after script load reuses the already-fetched state instead of refetching/json/si - Usermod code unchanged - only the
ui-patch/tooling and documentation
This page is generated from the usermod's in-tree readme (usermods/PowerManager/readme.md) by sync_wiki.py - edit there, not here.