node-red-contrib-looptimer-advanced 0.0.4 → 0.0.5
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 +3 -9
- package/looptimer_advanced.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,8 +52,8 @@ Setting the Max Loops and Max Timeout settings to high values can, for all inten
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
**0.0.4** - Issue #4 -> Added message when timeout reached
|
|
55
|
+
**0.0.5** - Re-added line removed accidentally
|
|
56
|
+
**0.0.4** - Issue #4 -> Added message when timeout reached
|
|
57
57
|
**0.0.1** - Initial Release
|
|
58
58
|
|
|
59
59
|
|
|
@@ -63,11 +63,5 @@ Setting the Max Loops and Max Timeout settings to high values can, for all inten
|
|
|
63
63
|
|
|
64
64
|
**To Do:**
|
|
65
65
|
|
|
66
|
-
- [ ] Mustache Template Support
|
|
67
|
-
|
|
66
|
+
- [ ] Mustache Template Support
|
|
68
67
|
- [ ] Example Flows
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
[](https://www.buymeacoffee.com/haxiboy)
|
package/looptimer_advanced.js
CHANGED
|
@@ -147,6 +147,7 @@ module.exports = function (RED) {
|
|
|
147
147
|
} else {
|
|
148
148
|
node.status({});
|
|
149
149
|
if ((data * node.nodeduration) <= node.nodemaxtimeout) {
|
|
150
|
+
node.send([cpmsg, null]);
|
|
150
151
|
timeout = null;
|
|
151
152
|
if (((data + 1) * node.nodeduration) > node.nodemaxtimeout) {
|
|
152
153
|
stopmsg = RED.util.cloneMessage(msg);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-looptimer-advanced",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Sends the msg through the first output, then continues to do so in a loop, once per the duration specified, until a payload of 'stop' or 'STOP' is received. Supports override with messages!",
|
|
5
5
|
"main": "looptimer_advanced.js",
|
|
6
6
|
"scripts": {},
|