A Node-RED gate node that controls message flow by opening or closing a gate. Current stable version is 0.5.2, released with support for asynchronous context stores and improved persistence. Key differentiators: allows user-defined control topic and command strings, supports toggle and status commands, and can restore state from persistent context stores if available. Cannot queue messages; for queuing, use the companion node-red-contrib-queue-gate package. Compatible with Node-RED 0.18+.
npm install node-red-contrib-simple-gateVerified import paths — ran on the pinned version, not inferred.
Shows that the package is a Node-RED node requiring installation and palette usage, not code imports.
Upgrade to 0.5.0 or later and configure appropriate context store in Node-RED settings.
Use version 0.5.2 or later.
Upgrade Node-RED to 0.18+ or use a different gate node.
Use node-red-contrib-queue-gate if you need queuing.
Ensure control message payloads are strings, or verify numerical equivalence.
Navigate to your Node-RED user directory (typically ~/.node-red) and run: npm install node-red-contrib-simple-gate
Restart Node-RED and check the palette manager. If still missing, try installing via Manage Palette in the editor.
Upgrade Node-RED to version 0.18 or higher.