node-red-contrib-boolean-logic-ultimate
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -23,4 +23,13 @@ module.exports = function (RED) { | ||
node.send({ payload: false }); | ||
node.curPayload = false; | ||
} | ||
} | ||
if (msg.hasOwnProperty("interval")) { | ||
try { | ||
node.blinkfrequency = msg.interval; | ||
} catch (error) { | ||
node.blinkfrequency = 500; | ||
setNodeStatus({ fill: "red", shape: "dot", text: "Invalid interval received" }); | ||
} | ||
} | ||
@@ -27,0 +36,0 @@ }); |
@@ -7,3 +7,3 @@ # node-red-contrib-boolean-logic-ultimate | ||
<p> | ||
<b>Version 1.0.13</b><br/> | ||
<b>Version 1.0.14</b><br/> | ||
- NEW: added blinker node. Thanks to @Marco for the suggestion.</br> | ||
@@ -10,0 +10,0 @@ </p> |
{ | ||
"name": "node-red-contrib-boolean-logic-ultimate", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more", | ||
@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)", |
@@ -114,2 +114,3 @@ # node-red-contrib-boolean-logic-ultimate | ||
Pass <code>msg.payload = false</code> to stop blinking</br> | ||
Pass <code>msg.interval = 2000</code> to change the blinking interval</br> | ||
@@ -116,0 +117,0 @@ <img src='https://raw.githubusercontent.com/Supergiovane/node-red-contrib-boolean-logic-ultimate/master/img/blinker.png' width='60%'> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
248362
462
130