# Adding a "reduce" option to the Smooth node

**URL:** <https://discourse.nodered.org/t/adding-a-reduce-option-to-the-smooth-node/15180>\
**Category:** Feature Requests\
**Created:** [5 September 2019 22:59 UTC](https://discourse.nodered.org/t/adding-a-reduce-option-to-the-smooth-node/15180 "2019-09-05T22:59:17Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [6 September 2019 15:23 UTC](https://discourse.nodered.org/t/adding-a-reduce-option-to-the-smooth-node/15180/19 "2019-09-06T15:23:18Z")

</div>

> [@Colin](#):
>
> I am having difficulty thinking of an application where this feature would be useful. Can you suggest an example?

I currently use node-red-contrib-aggregator to achieve same effect in my pool temp monitor.

The pool sends readings every sec and I average the readings over 60 secs and then pass that on to rest of flow

I wouldn't want to just send a single value to represent the 60 readings as it may be an outlier - I use the average (actually the median value) instead

---

_[View the full topic](https://discourse.nodered.org/t/adding-a-reduce-option-to-the-smooth-node/15180)._
