@bldgblocks/node-red-contrib-control 0.1.23 → 0.1.25

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.
package/README.md CHANGED
@@ -32,7 +32,7 @@ The help section of every node describes the expected msg.context (data tag) for
32
32
  An 'and' block set to 4 slots must recieve `true` values on each inX at some point to evaluate to a `true` output. Where as, an 'or' block set to 4 inputs could have any input trigger a `true` evaluation. However, a remaining `true` would prevent evaluating to `false`. So the flow may look like 4 small tagging nodes configured in1,in2,in3,in4 connecting to the 'and' block and just wiring your branches of logic to those inputs. You can also negate or have multiple connected to an input and you can watch as each comes in to evaluate. Just try to keep it clean.
33
33
 
34
34
  ## Install
35
- ##### Via NodeRED Palette Manager (Not Yet Available)
35
+ ##### Via NodeRED Palette Manager
36
36
 
37
37
  Search for the package name and add to your project.
38
38
 
@@ -137,7 +137,7 @@ module.exports = function(RED) {
137
137
  send(msg);
138
138
 
139
139
  // Start filter period if applicable
140
- if (period > 0) {
140
+ if (node.runtime.period > 0) {
141
141
  node.runtime.blockTimer = setTimeout(() => {
142
142
  node.runtime.blockTimer = null;
143
143
  if (node.runtime.pendingMsg) {
@@ -161,7 +161,7 @@ module.exports = function(RED) {
161
161
  } else {
162
162
  node.status({});
163
163
  }
164
- }, period);
164
+ }, node.runtime.period);
165
165
  }
166
166
  } else {
167
167
  node.status({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bldgblocks/node-red-contrib-control",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "Sedona-inspired control nodes for Node-RED",
5
5
  "keywords": [ "node-red", "sedona", "control", "hvac" ],
6
6
  "files": ["nodes/*.js", "nodes/*.html"],