PowerManager v1.0.0
First release of PowerManager by @intermittech — an advanced power switching usermod for WLED, grown from the built-in multi_relay usermod by blazoncek (settings migrate automatically).
Install
[env:my_build]
extends = env:esp32dev
custom_usermods = https://github.com/intermittech/wled-usermod-powermanager.gitSee the README for all options and examples/platformio_override.ini for complete environments. The optional segment-card UI integration lives in ui-patch/ and is applied to the WLED tree before building.
Highlights
- Segment coupling — relays/MOSFET outputs follow a segment's on/off state, cutting that section's actual supply power (stock WLED "off" only sends black)
- Named relays — up to 16 outputs on GPIO, PCF8574 or AW9523(B) expanders, named after your physical ports
- Master AC relay — dedicated relay-0 slot for the PSU trigger: on while any segment is on, always last to cut, with PSU stabilization time and optional main-power sync
- Power sequencing — separate on/off delays per relay, fade-aware power-off, anti-flash black frames around power-on, fade-up restart when power is ready, minimum off-time against rapid-cycle flashes
- Take over all relays — optionally keep unconfigured relays off until given a role
- Segment-card "Power relays" menu (optional UI patch) — link relays right where you control segments, with live assignment hints
- Home Assistant / MQTT — external relays appear as named HA switches; relay states publish on the familiar
.../relay/Ntopics - Preset-carried links (advanced) — presets can re-map relay links for layout-switching setups
Licensed EUPL-1.2, like WLED itself.