Need RBE opposite

looking for a node that does the opposite as
RBE. I am looking for a node that will only pass if the last two messages are the same.
Does anyone Know of any such NODE?

If just comparing a simple payload then the switch node can do a compare with previous value.

How do i Maintain the previous message?


If using the switch would do you then you don't need to...
If you want to write your own function then see the storing data section here - Writing Functions : Node-RED

what node is that?

got it i will check it out thanks!

The switch node…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.