Reputation: 675
in my node-red flow , i have a mqtt output node that is subscribing to a topic .Actually for every 5 seconds a message is being published to that toipc from other client.my intension is to check if the message is not arrived for every 5 seconds ,then trigger an event . is there any node that checks if an mqtt node is getting message for every certain period of time
Upvotes: 0
Views: 533
Reputation: 443
I can't think of any built-in node that does that. You can use the trigger node that does just that as @hardillb pointed it out in his answer.
One workaround could have been:
Upvotes: 1
Reputation: 59751
The core Trigger node can be reset by a new incoming message and will only send it's timeout if a new message does not arrive after that time.
Upvotes: 1