Skip to content

Instantly share code, notes, and snippets.

View sgalke's full-sized avatar

Sven Galke sgalke

  • 21:30 (UTC +02:00)
View GitHub Profile
@sgalke
sgalke / README.md
Last active October 16, 2023 07:24
A Node-Red subflow acting as a gate valve for messages.

The "Gate valve" subflow operates in one of two states: pass- or blocking. In pass state every input message is passed unmodified, in blocking state incoming messages are not passed thru.

Input

state is set via control messages. control messages are input messages with payloads of either {"pass": true} or {"pass": false}.