I have a UDP packet that is broadcast to a particular port about every second. Node-Red has no problem receiving the packet. I would however only like to process a packet every 5 or 10 seconds. (maybe longer depending on the application.) Using the Delay function doesn't seem to work in the scenario unless I am missing something. If I delay on time it just buffers the packets for a particular period of time and them forwards them on to the next node. If I rate delay it still seems to buffer them and only sends them on at the rate requested. I assume at some point I will run out of memory using the rate delay.Is there some other way to handle this?
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/lI5NlY1oesc/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to node-red+u...@googlegroups.com.
I often use the node-red-contrib-throttle node. E.g. it has an "on time" option: if you set it to 5 seconds, it will pass only one message during every 5 seconds.
I assume that could also have solved your issue?
Kind regards,
Bart Butenaers