Massimo f058f07fd3 LTS + added Filter node | 5 роки тому | |
---|---|---|
boolean-logic-ultimate | 5 роки тому | |
.gitattributes | 5 роки тому | |
.gitignore | 5 роки тому | |
CHANGELOG.md | 5 роки тому | |
LICENSE | 5 роки тому | |
README.md | 5 роки тому | |
package-lock.json | 5 роки тому | |
package.json | 5 роки тому |
The node performs Boolean logic on the incoming payloads.
The node performs 3 checks (AND,OR,XOR) on the incoming boolean payloads and outputs the result at the same time, as follow:
The node can have a persistent input: the input values are retained after a node-red reboot. That means, that if you reboot your node-red, you don’t need to wait all inputs to arrive and initialize the node, before the node can output a payload.
The node expects a fixed number of topics (configured in the settings) on which it will operate. It will only output a value
when it has seen the expected number of topics. If it ever sees more than the configured number of topics it will log a message then reset its state and start over.
Changing the topic is usually only needed when chaining multiple boolean nodes after each other becuse the topics will then all be the same when delivered to the nodes further down the chain.
Filter output result
Invert Ultimate
Outputs the inverted input. For example true -> false
Filter Ultimate
This node has 2 outputs.
If the input payload is true, the node will send true
on output 1 and nothing on oputput 2
If the input payload is false, the node will send nothing on output 1, and false
on oputput 2