@mschaeffler/node-red-logic 4.3.1 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script type="text/javascript">
|
|
2
|
-
RED.nodes.registerType('
|
|
2
|
+
RED.nodes.registerType('lowpass',{
|
|
3
3
|
category: 'logic',
|
|
4
4
|
color: "#C0DEED",
|
|
5
5
|
defaults: {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
});
|
|
39
39
|
</script>
|
|
40
40
|
|
|
41
|
-
<script type="text/html" data-template-name="
|
|
41
|
+
<script type="text/html" data-template-name="lowpass">
|
|
42
42
|
<div class="form-row">
|
|
43
43
|
<label for="node-input-name"><i class="fa fa-tag"></i> name</label>
|
|
44
44
|
<input type="text" id="node-input-name" placeholder="Name">
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
</div>
|
|
89
89
|
</script>
|
|
90
90
|
|
|
91
|
-
<script type="text/html" data-help-name="
|
|
91
|
+
<script type="text/html" data-help-name="lowpass">
|
|
92
92
|
|
|
93
93
|
<p>Filter the values of one or more data streams wuth an adaptive Kalman filter.</p>
|
|
94
94
|
<p>If the msg property <code>invalid</code> is present in the message, all nodes ignore the message.</p>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module.exports = function(RED) {
|
|
2
2
|
var tools = require('./tools.js');
|
|
3
3
|
|
|
4
|
-
function
|
|
4
|
+
function LowPassNode(config) {
|
|
5
5
|
RED.nodes.createNode(this,config);
|
|
6
6
|
//this.config = config;
|
|
7
7
|
var node = this;
|
|
@@ -147,5 +147,5 @@ module.exports = function(RED) {
|
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
RED.nodes.registerType("
|
|
150
|
+
RED.nodes.registerType("lowpass",LowPassNode);
|
|
151
151
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mschaeffler/node-red-logic",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "nodes for simple operations.",
|
|
5
5
|
"license": "LGPL-2.1",
|
|
6
6
|
"homepage": "https://github.com/m-schaeffler/node-red-my-nodes/tree/main/node-red-logic",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"threePoint": "math_3point.js",
|
|
34
34
|
"statistics": "math_statistics.js",
|
|
35
35
|
"mean": "math_mean.js",
|
|
36
|
-
"
|
|
36
|
+
"lowpass": "math_lowpass.js"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"author": {
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
"url": "https://github.com/m-schaeffler"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
|
-
"test": "mocha \"test/
|
|
44
|
+
"test": "mocha \"test/math_lowpass_spec.js\""
|
|
45
45
|
}
|
|
46
46
|
}
|