node-red-contrib-rate-avg 0.0.3

An average producing rate-limiter for node-red

npm install node-red-contrib-rate-avg


A Node-Red ( node that offers a rate limiter that produces averages and offers configurable rounding


I looked everywhere for this functionality, the closest I came was node-red-contrib-calculate ( by Gustaf Ridderstolpe. Sadly he didn't want to add the rounding code I offered, opting to keep things simple, so I created my own. I borrowed some ideas and mechanisms from him. If you don't need rounding but do need median and min/max calculation, have a look at his node!

Getting started

To install, search for this module in the pallete, or execute: npm install node-red-contrib-rate-avg Then, add the node and edit its settings: select rate type (time or msg count), specify time or number of msg, and pick a rounding. The info dot in the flow shows grey with a number of messages currently queued, or green when an average calculation was sent out.

Node Info

Version: 0.0.3
Updated 1 year, 7 months ago
License: MIT
Rating: 5.0 1




105 in the last week


  • rate-avg


  • node-red
  • average
  • rate
  • ratelimit
  • ratelimiter
  • delay
  • count
  • round