Need some advice on the direction that I need to search for.
I have a MQTT node with msg.payload ON that stays ON for 3 sec and then goes OFF until MQTT sends out a new message. (Motion sensor)
Sometimes when the sun is shining harder the motion sensor is triggered and I get false messages.
So I would like to delay or trigger or gate or Queue. I don't know.
So only when MQTT sends longer than 5 seconds there has to be an output otherwise the message needs to be skipped.
Delay works but does not skip when message is lower than 5 seconds.
Any ideas?

