1.1.0 • Published 12 months ago

node-red-contrib-cistern v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
12 months ago

node-red-contrib-cistern

This package contains node-red nodes for usage with cisterns. Best for usage with an ultrasound module like the HC-SR04.

Node - Outlier

A node that removes/gets outliers of incoming values, specified by numberOfSamples or directly by an array.

npm.io

Input mode

  • Batch - samples: Evaluates input once the amount of input values are equal to the given numberOfSamples. Afterwards the node awaits again numberOfSamples or an array.

  • Array: Evaluates the incoming array and ignores numberOfSamples.

Outlier mode

Outliers are values outside of 1.5 times the interquartile range. https://mathworld.wolfram.com/Outlier.html)

  • Remove: Outliers are removed and not passed on.
  • Get: Outliers only are passed on.

Output mode

  • Median: Median value of the remaining values is given as output: (1 1 2 8) -> 3
  • Mean: Mean value of remaining values: (1 1 2 8) -> 1.5
  • Mode: Mode value of remaining values: (1 1 2 8) -> 1
  • Array: The filtered values are passed on.

Max interquartile range

Maximum range between 1st quartile and 3rd quartile to be allowed for a valid output. In case the range is wider than defined here: No output is passed on.

Node - Cistern

A node for easy calculation of liters and percentage in a cylindrical cistern.

npm.io

  • Radius: radius of the cylindrical cistern.
  • Input: measured distance from top to water level.
  • maxDistance: distance from top to bottom of the cistern.
  • minDistance: distance from top to max water level.
1.1.0

12 months ago

1.0.9

12 months ago

1.0.8

1 year ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago