Massimo f058f07fd3 LTS + added Filter node | hace 5 años | |
---|---|---|
boolean-logic-ultimate | hace 5 años | |
.gitattributes | hace 5 años | |
.gitignore | hace 5 años | |
CHANGELOG.md | hace 5 años | |
LICENSE | hace 5 años | |
README.md | hace 5 años | |
package-lock.json | hace 5 años | |
package.json | hace 5 años |
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