node-red-contrib-boolean-logic-ultimate
Advanced tools
Comparing version 1.0.58 to 1.0.59
@@ -92,2 +92,14 @@ module.exports = function (RED) { | ||
// 26/01/2023 you can change the input count from msg | ||
if (msg.hasOwnProperty("inputcount")) { | ||
setTimeout(() => { | ||
setNodeStatus({ fill: "grey", shape: "dot", text: "Input count changed to " + msg.inputcount }); | ||
}, 500); | ||
try { | ||
node.config.inputCount = Number(msg.inputcount); | ||
} catch (error) { | ||
} | ||
} | ||
// 15/11/2021 inform user about undefined topic or payload | ||
@@ -99,3 +111,2 @@ if (!msg.hasOwnProperty("topic") || msg.topic === undefined || msg.topic === null) { | ||
var topic = msg.topic; | ||
@@ -102,0 +113,0 @@ const utils = require("./utils.js"); |
@@ -7,2 +7,7 @@ # node-red-contrib-boolean-logic-ultimate | ||
<p> | ||
<b>Version 1.0.59</b> January 2023<br/> | ||
- NEW: added msg.gatecount property, to dinamically change the gate input count.</br> | ||
- Updated the README</br> | ||
</p> | ||
<p> | ||
<b>Version 1.0.58</b> December 2022<br/> | ||
@@ -9,0 +14,0 @@ - NEW: added string conversion from "home", "not_home" to boolean.</br> |
{ | ||
"name": "node-red-contrib-boolean-logic-ultimate", | ||
"version": "1.0.58", | ||
"version": "1.0.59", | ||
"description": "A set of Node-RED enhanced boolean logic and utility nodes, flow interruption, blinker, invert, filter, toggle etc.., with persistent values after reboot. Compatible also with Homeassistant values.", | ||
@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)", |
@@ -99,7 +99,9 @@ # node-red-contrib-boolean-logic-ultimate | ||
<code> | ||
msg.reset = true; | ||
</code> | ||
Resets all inputs to undefined. | ||
|Input msg|Description| | ||
|--|--| | ||
| msg.reset = true | Resets all saved input values to undefined | | ||
| msg.inputcount | Changes the inputs count property. For example, <b>msg.inputcount = 3</b> Whenever you lower the inputcount from a higher number to a lower one, for example from 3 to 2, it's suggested to do a <b>msg.reset=true</b> to reset all stored input values. | | ||
<br/> | ||
@@ -106,0 +108,0 @@ <br/> |
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
1241393
955
489