---
title: "node-red-node-smooth • FlowFuse Integrations"
description: "FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time."
canonical_url: "https://flowfuse.com/integrations/node-red-node-smooth/"
meta:
  "og:description": "FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time."
  "og:title": "node-red-node-smooth • FlowFuse Integrations"
---

> Index of every page on this site: [llms.txt](https://flowfuse.com/llms.txt)

# **node-red-node-smooth**

A Node-RED node that provides several simple smoothing algorithms for incoming data values.

**Version:** 0.1.2**Weekly Downloads:** 2,551**Author:**Dave Conway-Jones**Updated:** Jun 21, 2022

# node-red-node-smooth

A [Node-RED](http://nodered.org) node that provides several simple smoothing algorithms for incoming data values. These include

- Minimum
- Maximum
- Mean
- Standard Deviation
- High Pass Smoothing
- Low Pass Smoothing

## Install

Run the following command in your Node-RED user directory - typically `~/.node-red`

```
npm install node-red-node-smooth
```

## Usage

A simple node to provide various functions across several previous values, including max, min, mean, standard deviation, high and low pass filters.

Max, Min, Mean and Standard Deviation work over a rolling window, based on a specified number of previous values.

The High and Low pass filters use a smoothing factor. The higher the number the more the smoothing. E.g. a value of 10 is similar to an α of 0.1. It is analogous to an RC time constant - but there is no time component to this as the code is based on events arriving.

If `msg.reset` is received (with any value), all the counters and intermediate values are reset to an initial state.

**Note:** This node only operates on **numbers**. Anything else will try to be made into a number and rejected if that fails.

## **Installation **

Install in Node-RED via the [**palette manager**](https://flowfuse.com/docs/node-red/getting-started/library/#using-the-palette-manager).

![Node-RED Palette Manager dialog with the node selected and the Install button visible.](https://flowfuse.com/images/integrations/palette-manager-install.png)

## **Quick Stats**

Current Version**0.1.2**

Weekly Downloads**2,551**

First Published**Sep 21, 2014**

Last Updated**Jun 21, 2022**

## **GitHub Stats**

[Open Issues ![GitHub Issues](https://img.shields.io/github/issues/node-red/node-red-nodes.svg?style=flat-square)](https://github.com/node-red/node-red-nodes/issues) [ Stars ![GitHub Stars](https://img.shields.io/github/stars/node-red/node-red-nodes.svg?style=flat-square)](https://github.com/node-red/node-red-nodes/stargazers) [ Forks ![GitHub Forks](https://img.shields.io/github/forks/node-red/node-red-nodes.svg?style=flat-square)](https://github.com/node-red/node-red-nodes/network/members)

## **External Resources**

[View on NPM](https://www.npmjs.com/package/node-red-node-smooth) [ View Repository](https://github.com/node-red/node-red-nodes/tree/master/function/smooth)

## **Need Help?**

Get professional support for your Node-RED projects with FlowFuse.

[**Contact Us**](https://flowfuse.com/contact-us/)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://flowfuse.com/#website","@type":"WebSite","description":"FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time.","inLanguage":"en","name":"FlowFuse","url":"https://flowfuse.com/","alternateName":["FlowForge","Flow Fuse"],"publisher":{"@id":"https://flowfuse.com/#identity"}},{"@id":"https://flowfuse.com/integrations/node-red-node-smooth/#webpage","@type":"WebPage","description":"FlowFuse builds your first industrial solution with your team, proves it at one plant, then helps you roll it out to every plant, faster each time.","name":"node-red-node-smooth","url":"https://flowfuse.com/integrations/node-red-node-smooth/","isPartOf":{"@id":"https://flowfuse.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://flowfuse.com/integrations/node-red-node-smooth/"]}],"primaryImageOfPage":{"@id":"https://flowfuse.com/#logo"}},{"@id":"https://flowfuse.com/#identity","@type":"Organization","legalName":"FlowFuse Inc.","name":"FlowFuse","url":"https://flowfuse.com","alternateName":["FlowForge","Flow Fuse"],"logo":{"@id":"https://flowfuse.com/#logo"},"sameAs":["https://twitter.com/FlowFuseinc","https://github.com/FlowFuse","https://www.linkedin.com/company/flowfuse/","https://www.facebook.com/FlowFuse/","https://www.youtube.com/channel/UCbBzP8NZbv3WDtlt4UouA-g"]},{"@id":"https://flowfuse.com/#logo","@type":"ImageObject","caption":"FlowFuse","contentUrl":"https://flowfuse.com/handbook/images/logos/ff-logo--square--dark.png","inLanguage":"en","url":"https://flowfuse.com/handbook/images/logos/ff-logo--square--dark.png"}]}
```

## Sitemap

See the full [sitemap](https://flowfuse.com/sitemap.md) for all pages.
