node-red-contrib-boolean-logic-ultimate
Advanced tools
Comparing version 1.0.51 to 1.0.52
@@ -7,2 +7,7 @@ # node-red-contrib-boolean-logic-ultimate | ||
<p> | ||
<b>Version 1.0.52</b> Mai 2022<br/> | ||
- NEW: Railway Switcher Ultimate: new node to switch the input message to an output pin (https://youtu.be/1SjYE7d04u4).</br> | ||
- Updated README with samples of Railway Switch node. | ||
</p> | ||
<p> | ||
<b>Version 1.0.51</b> February 2022<br/> | ||
@@ -9,0 +14,0 @@ - Blinker Ultimate: fixed minor problem with an orphan timer.</br> |
{ | ||
"name": "node-red-contrib-boolean-logic-ultimate", | ||
"version": "1.0.51", | ||
"version": "1.0.52", | ||
"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 ON and OFF values.", | ||
@@ -34,5 +34,6 @@ "author": "Supergiovane (https://github.com/Supergiovane)", | ||
"SumUltimate": "boolean-logic-ultimate/SumUltimate.js", | ||
"toggleUltimate": "boolean-logic-ultimate/toggleUltimate.js" | ||
"toggleUltimate": "boolean-logic-ultimate/toggleUltimate.js", | ||
"RailwaySwitchUltimate": "boolean-logic-ultimate/RailwaySwitchUltimate.js" | ||
} | ||
} | ||
} | ||
} |
@@ -116,2 +116,4 @@ # node-red-contrib-boolean-logic-ultimate | ||
The interrupt flows is able to stop the input messages to exiting the node. | ||
**Trigger by topic** | ||
@@ -129,3 +131,3 @@ | ||
**INPUT MSG HWITH "TRIGGER" TOPIC** | ||
**INPUT MSG WITH "TRIGGER" TOPIC** | ||
@@ -375,4 +377,41 @@ Pass <code>msg.payload = true</code> to allow messages to pass through</br> | ||
<br/> | ||
<br/> | ||
<br/> | ||
<br/> | ||
<br/> | ||
# RAILWAY SWITCH ULTIMATE | ||
The railway switcher, switches the input msg flow to one ot the two output pins (upper or lower). | ||
<img src='https://raw.githubusercontent.com/Supergiovane/node-red-contrib-boolean-logic-ultimate/master/img/railroadSwitchScambio.png' width='80%'> | ||
**Switcher topic** | ||
Whenever the node receives a payload from this **topic**, it switches the input messages to an output PIN.<br/> | ||
**Then** | ||
This property, allow you to auto toggle the selected start state after some time.</br> | ||
</br> | ||
**INPUT MSG WITH "TRIGGER" TOPIC** | ||
Pass <code>msg.payload = false</code> switches the msg input to the UPPER PIN</br> | ||
Pass <code>msg.payload = true</code> switches the msg input to the LOWER PIN</br> | ||
</br> | ||
See the example below.<br/> | ||
<img src='https://raw.githubusercontent.com/Supergiovane/node-red-contrib-boolean-logic-ultimate/master/img/railwaySwitch.png' width='60%'> | ||
Copy and paste it into your flow | ||
```javascript | ||
[{"id":"a6993d5187f05c0a","type":"RailwaySwitchUltimate","z":"e5b506b72b42922e","name":"Railway Switch","triggertopic":"trigger","initializewith":"0","autoToggle":"0","x":490,"y":180,"wires":[["51e7df8da0bd8d67"],["7f33b14e12c91744"]]},{"id":"2e3014226290f678","type":"InjectUltimate","z":"e5b506b72b42922e","name":"Sample message","topic":"Train","curVal":true,"x":180,"y":140,"wires":[["a6993d5187f05c0a"],[],[]]},{"id":"f6f80cd77a65073e","type":"InjectUltimate","z":"e5b506b72b42922e","name":"Railway switcher","topic":"trigger","curVal":true,"x":180,"y":220,"wires":[[],[],["a6993d5187f05c0a"]]},{"id":"51e7df8da0bd8d67","type":"debug","z":"e5b506b72b42922e","name":"Upper railway","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","targetType":"full","statusVal":"topic","statusType":"msg","x":720,"y":140,"wires":[]},{"id":"7f33b14e12c91744","type":"debug","z":"e5b506b72b42922e","name":"Lower railway","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","targetType":"full","statusVal":"topic","statusType":"msg","x":720,"y":220,"wires":[]},{"id":"8716120e94a7b6ee","type":"comment","z":"e5b506b72b42922e","name":"Switch between railways","info":"","x":190,"y":80,"wires":[]}] | ||
``` | ||
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg | ||
@@ -379,0 +418,0 @@ [license-url]: https://github.com/Supergiovane/node-red-contrib-boolean-logic-ultimate/master/LICENSE |
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
1227584
45
1007
421