Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
vor 5 Jahren
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # node-red-contrib-boolean-logic-ultimate
  2. ![Sample Node](img/logo.png)
  3. Set of enhanced logic nodes for your flows.
  4. [![NPM version][npm-version-image]][npm-url]
  5. [![NPM downloads per month][npm-downloads-month-image]][npm-url]
  6. [![NPM downloads total][npm-downloads-total-image]][npm-url]
  7. [![MIT License][license-image]][license-url]
  8. [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
  9. [![Donate via PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square)](https://www.paypal.me/techtoday)
  10. [![Donate via PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg?style=flat-square)](https://www.paypal.me/techtoday)
  11. <a href="http://eepurl.com/gJm095" target="_blank">Subscribe to my channel.</a> Only news about my nodes, no spam, no ads. I'm a github developer, not a merchant.
  12. > Wellcome! First of all thank you for your interest in my nodes. This is a set of logic nodes, to overcome the simplicity of the default node-red boolean logic nodes.
  13. Hope you enjoy that and if you're in trouble, please ask!
  14. ## CHANGELOG
  15. * See <a href="https://github.com/Supergiovane/node-red-contrib-boolean-logic-ultimate/blob/master/CHANGELOG.md">here the changelog</a>
  16. # BOOLEAN LOGIC
  17. The node performs Boolean logic on the incoming payloads.<br/>
  18. The node expects a fixed number of topics (configured in the settings) on which it will operate. It will only output a value
  19. when it has seen the expected number of topics. If it ever sees more than the configured number of topics it will log a message then reset its state and start over.<br/>
  20. The node performs 3 checks (<b>AND,OR,XOR</b>) on the incoming boolean payloads and outputs the result at the same time, as follow:<br/>
  21. - Output "AND": true or false<br/>
  22. - Output "OR": true or false<br/>
  23. - Output "XOR": true or false<br/>
  24. The node can have a persistent input: the input values are retained after a node-red reboot. That means, that if you reboot your node-red, you don't need to wait all inputs to arrive and initialize the node, before the node can output a payload.<br/>
  25. You can also set the default values of the topic inputs.
  26. ## CONFIGURATION
  27. **Number of different topics to evaluate**
  28. Set the number of different topics to be evaluated. The node will output a message to the flow, after this number of different topics arrives.<br/>
  29. *Remember: each input topic must be different. For example, if you set this field to 3, the node expects 3 different topics.*
  30. **Filter output result**
  31. - Output both 'true' and 'false' results: Standard behaviour, the node will output <b>true</b> and <b>false</b> whenever it receives an input and calculate the boolean logics as output.
  32. - Output only 'true' results: whenever the node receives an input, it outputs a payload <b>true</b> only if the result of the logic is true. <b>False</b> results are filtered out.
  33. **Trigger mode**
  34. - All topics: standard behaviour, the node will evaluate each input topic and ouputs the values. At each input change, it will output a msg on the flow.
  35. - Single topic + eval other inputs: the node evaluates all the input topics, but only whenever it receives a msg input with the **specified topic** (having payload **true**), it outputs a msg to the flow.
  36. **If input states are undefined**
  37. Every time you create a node or modify the node, all inputs are set to undefined. This means that the node will wait the arrive of all topics (for example 3 topics, if you've selected 3 topics in the option), before it can output a payload. This can be a problem if your logic must be operative as soon as you deploy the flow. To overcome this problem, you can "initialize" all the undefined inputs with True or False.
  38. - Leave undefined: Standard behaviour, the node will wait all the "undefined" topics to arrive, then starts a flow with the result.
  39. - True or False: The node is immediately operative, by force the initialization of the "undefined" inputs with "true" or "false".
  40. **Remember latest input values after reboot**
  41. If checked, the input values are retained after a node-red reboot. That means, that if you reboot your node-red, you don't need to wait all inputs to arrive and initialize the node, before the node can output a payload.<br/>
  42. Every time you modify the node's config, <b>the retained values are cleared</b>.<br/>
  43. # INTERRUPT FLOWS ULTIMATE
  44. Whenever this node receives a payload = false from a specific topic, it stops output messages to the flow. As soon it receives payload = true from this topic, the output messages start to flow out again.
  45. # INVERT ULTIMATE
  46. Outputs the inverted input. For example true -> false
  47. # FILTER ULTIMATE
  48. This node has 2 outputs.<br />
  49. If the input payload is true, the node will send <code>true</code> on output 1 and nothing on oputput 2<br />
  50. If the input payload is false, the node will send nothing on output 1, and <code>false</code> on oputput 2<br />
  51. [license-image]: https://img.shields.io/badge/license-MIT-blue.svg
  52. [license-url]: https://github.com/Supergiovane/node-red-contrib-boolean-logic-ultimate/master/LICENSE
  53. [npm-url]: https://npmjs.org/package/node-red-contrib-boolean-logic-ultimate
  54. [npm-version-image]: https://img.shields.io/npm/v/node-red-contrib-boolean-logic-ultimate.svg
  55. [npm-downloads-month-image]: https://img.shields.io/npm/dm/node-red-contrib-boolean-logic-ultimate.svg
  56. [npm-downloads-total-image]: https://img.shields.io/npm/dt/node-red-contrib-boolean-logic-ultimate.svg