Payload change scan

Hi guys. I'm looking for a solution in which the value of payload is sent to the debug node if there's a change in value. Otherwise, nothing is sent to the debug node.

Check the filter/rbe node, or the switch node set to != previous

1 Like

Thank you

Now I have to filter false payloads out. I'd like to have the payload values at the output If the payload value did not change over a period of time, e.g. on a 100 ms period or longer, otherwise nothing at the output, Can you please let me know how?

You can do that with a Filter node followed by a Trigger node.

[{"id":"b3a5827c1d8e0c08","type":"rbe","z":"bdd7be38.d3b55","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":290,"y":2560,"wires":[["8846cd57dfd88dcf"]]},{"id":"8846cd57dfd88dcf","type":"trigger","z":"bdd7be38.d3b55","name":"","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"100","extend":true,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":460,"y":2560,"wires":[["03ae2eb3172f3f16"]]},{"id":"03ae2eb3172f3f16","type":"debug","z":"bdd7be38.d3b55","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":630,"y":2560,"wires":[]}]
1 Like

Thank you so much

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