Derp Toggle
A wireless on/off switch that can bypass nodes remotely
- value
The Derp Toggle is the pack's boolean switch: a proper on/off toggle whose state is broadcast wirelessly, and which doubles as a remote bypass switch for default ComfyUI nodes. Part of xcp_derp-UI (search "xcp_derp-UI" in ComfyUI Manager, by lordwedggie), under derpNodes/ControlDeck.
Why you'd want it
Booleans are everywhere in ComfyUI - enable/disable a refinement branch, flip between two modes, gate a post-processing pass - and the default answer is a dropdown on the node, which you can't drive from elsewhere without converting the widget to an input (the mechanic the KB's comfyui-node-plumbing.md covers). Derp Toggle is the fancier answer: one switch on your control deck, and every receiver in the graph sees its state through the wireless registry. Build a dashboard of toggles docked to an Image Deck, and you're driving your workflow from a control surface instead of hunting through node properties.
How it works
The node is a pure virtual shell - the Python do_nothing returns None from its single value output (type BOOLEAN), and the actual state lives in the pack's wireless signal registry, broadcast when you flip it. The toggle is multi-purpose: by default it's labeled "Bypass Toggle," which hints at its party trick. The pack's Bypass Extender lets you assign a Derp Toggle to a default ComfyUI node's bypass - flip the toggle and the target node bypasses, no right-clicking, no digging through the menu. The changelog even shows it working on group context menus in the newer Vue/Node 2.0 frontend, so you can bypass whole groups remotely.
That's a genuinely useful idea: your expensive detailer branch, your upscaler, your second pass - one toggle, one place, no fumbling. It's the same spirit as the KB's comfyui-ecosystem.md note about quality-of-life packs that make big workflows drivable, except here the toggle is wireless, so you can park it on a docked control deck a mile from the node it controls.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/lordwedggie/xcp_derp-UI-Release
Restart ComfyUI. No pip requirements, no model downloads, no npm step. Manager users: search xcp_derp-UI.
Where people get burned
The usual derp-UI mental-model shift applies: the value output is delivered via wireless signal, so wiring it into a stock node and expecting the classic socket behavior will confuse you - it talks through the Router and Wireless Extenders. And remember the toggle is a broadcast, not a direct wire: if a receiver isn't updating, check that the Router is in the graph and the signal is routed.
Second, don't confuse the Derp Toggle's own bypass trick with default node bypassing - it needs the Bypass Extender setup to control stock nodes. Out of the box it's a wireless boolean switch; the remote-bypass wiring is a feature you opt into per node.
This is a young pack with no third-party documentation, so the bundled derp_docs/ and the changelog are the reference - and for a node this simple, they're enough. If you dock a few toggles next to a Derp Slider on an Image Deck, you'll have built a real control surface in about two minutes.
Inputs (0)
No inputs
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | BOOLEAN | β |