node-red-contrib-boolean-logic-ultimate 1.2.15 → 1.2.16
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/CHANGELOG.md +6 -0
- package/README.md +25 -16
- package/img/logo-supervibe.png +0 -0
- package/img/readmemain.png +0 -0
- package/package.json +14 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="img/logo-supervibe.png" alt="Boolean Logic Ultimate - Max Supervibe" width="380">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
## Logic and Utilities nodes for your flows
|
|
6
|
+
|
|
7
|
+
A set of Node-RED enhanced boolean logic and utility nodes, with persistent values after reboot. Compatible also with Homeassistant values.
|
|
8
|
+
|
|
9
|
+
<br/>
|
|
10
|
+
<br/>
|
|
11
|
+
<br/>
|
|
2
12
|
|
|
3
13
|
[![NPM version][npm-version-image]][npm-url]
|
|
4
14
|
[![NPM downloads per month][npm-downloads-month-image]][npm-url]
|
|
@@ -8,10 +18,9 @@
|
|
|
8
18
|
[](https://www.paypal.me/techtoday)
|
|
9
19
|
[![youtube][youtube-image]][youtube-url]
|
|
10
20
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<br/>
|
|
21
|
+
<p align="center">
|
|
22
|
+
<img src="img/readmemain.png" alt="Boolean Logic Ultimate for Node-RED — Max Supervibe" width="70%">
|
|
23
|
+
</p>
|
|
15
24
|
|
|
16
25
|
## CHANGELOG
|
|
17
26
|
|
|
@@ -131,7 +140,7 @@ The interrupt flows is able to stop the input messages to exiting the node.
|
|
|
131
140
|
| Property | Description |
|
|
132
141
|
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
133
142
|
| Trigger by topic | Whenever the node receives a payload = false from this 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. The node will output the current stored message plus an added property "isReplay = true", as soon as it receives a **_msg.play = true_** from this topic. The node will clear the current stored message, as soon as it receives a **_msg.reset = true_** from this topic. |
|
|
134
|
-
| Input
|
|
143
|
+
| Input | It's the msg property to be evaluated. _By default, it is "payload", but you can also specify other properties, for example "payload.value"_ |
|
|
135
144
|
| Then | This property, allow you to auto toggle the selected start state (pass or block) after a timer has elapsed. You can choose from some pre-defined delays. If you have, for example, an Homekit-Bridged nodeset with a thermostat node or security system node in your flow, once node-red restarts, these homekit nodes output a default message to the flow. Just put an InterruptFlow node with a "block at start" behaviour and a toggle delay enabled behind homekit nodes, to temporary stop the chained nodes to receive the unwanted startup message. |
|
|
136
145
|
|
|
137
146
|
<br/>
|
|
@@ -471,7 +480,7 @@ The railway switcher, redirect the incoming messages to one ot the avaiable outp
|
|
|
471
480
|
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
472
481
|
| Switcher topic | Whenever the node receives a payload from this **topic**, it redirects the input messages to a choosen output PIN. |
|
|
473
482
|
| Output pins | Number of output pins (outputs) to show. Default is 5, range is 1..10. |
|
|
474
|
-
| Input
|
|
483
|
+
| Input | It's the msg property to be evaluated. _By default, it is "payload", but you can also specify other properties, for example "payload.value"_ |
|
|
475
484
|
| Translator | Translates the incoming <code>payload</code> value. This allows the compatibility with, for example, **HomeAssistant** nodes. |
|
|
476
485
|
|
|
477
486
|
### Inputs
|
|
@@ -663,7 +672,7 @@ Gateway per sensori e dispositivi troppo “chiacchieroni”: limita burst e rim
|
|
|
663
672
|
| Max messages | Numero di messaggi ammessi nella finestra. |
|
|
664
673
|
| On limit | _Drop_ scarta i messaggi extra, _Queue last_ accoda l’ultimo e lo riproduce appena possibile. |
|
|
665
674
|
| Control topic | Topic dei messaggi di controllo (default `rate`). |
|
|
666
|
-
| Input
|
|
675
|
+
| Input | Proprietà del messaggio da monitorare (default `msg.payload`). |
|
|
667
676
|
| Stats every (s) | Ogni quanti secondi emettere un riepilogo statistico (0 = disattivato). |
|
|
668
677
|
| Translator | Nodo translator-config opzionale per adattare le stringhe d’ingresso a true/false. |
|
|
669
678
|
|
|
@@ -697,11 +706,11 @@ Example flow: [`examples/DebouncerUltimate.json`](examples/DebouncerUltimate.jso
|
|
|
697
706
|
|
|
698
707
|
### NODE CONFIGURATION
|
|
699
708
|
|
|
700
|
-
| Property | Description
|
|
701
|
-
| ------------- |
|
|
702
|
-
| Wait (ms) | Tempo di quiete richiesto prima di chiudere la finestra di debounce.
|
|
703
|
-
| Emit | Scegli se inviare subito il primo messaggio, solo l’ultimo dopo la pausa, oppure entrambi.
|
|
704
|
-
| Control topic | Topic dei messaggi di controllo (default `debouncer`).
|
|
709
|
+
| Property | Description |
|
|
710
|
+
| ------------- | ------------------------------------------------------------------------------------------ |
|
|
711
|
+
| Wait (ms) | Tempo di quiete richiesto prima di chiudere la finestra di debounce. |
|
|
712
|
+
| Emit | Scegli se inviare subito il primo messaggio, solo l’ultimo dopo la pausa, oppure entrambi. |
|
|
713
|
+
| Control topic | Topic dei messaggi di controllo (default `debouncer`). |
|
|
705
714
|
|
|
706
715
|
### OUTPUT
|
|
707
716
|
|
|
@@ -729,7 +738,7 @@ The purpose of this node is to replay a programmable sequence of messages in ord
|
|
|
729
738
|
| Loop sequence | Repeats the sequence when it reaches the end. |
|
|
730
739
|
| Random delays | Enables a random variation of the programmed delays. |
|
|
731
740
|
| Jitter (%) | Maximum percentage of variation applied when random delays are enabled. |
|
|
732
|
-
| Input
|
|
741
|
+
| Input | Message property to inspect for inline events (default `payload`). |
|
|
733
742
|
| Translator | Optional translator-config to convert incoming values. |
|
|
734
743
|
| Sequence | One JSON object per line, each containing at least `delay` (ms) plus the properties to output. |
|
|
735
744
|
|
|
@@ -759,7 +768,7 @@ The purpose of this node is to control staircase lighting with a timer, pre-off
|
|
|
759
768
|
| Warning offset (s) | Seconds before switch-off when the warning is sent. |
|
|
760
769
|
| Restart on trigger | Restarts the timer when a new trigger arrives while active. |
|
|
761
770
|
| Allow off input | Allows a `false` from the main input to switch off immediately. |
|
|
762
|
-
| Input
|
|
771
|
+
| Input | Message property evaluated as trigger (default `payload`). |
|
|
763
772
|
| Translator | Optional translator-config for true/false conversion. |
|
|
764
773
|
| On/Off payload | Values emitted on output 1 to turn the light on/off. |
|
|
765
774
|
| Warning payload | Value emitted on output 2 when the warning fires. |
|
|
@@ -790,7 +799,7 @@ Example flow: [`examples/HysteresisUltimate.json`](examples/HysteresisUltimate.j
|
|
|
790
799
|
| ON/OFF threshold | Hysteresis limits. |
|
|
791
800
|
| Initial state | Startup output state. |
|
|
792
801
|
| Emit only on change | If enabled, output 1 emits only on state transitions. |
|
|
793
|
-
| Input
|
|
802
|
+
| Input | Message property evaluated as numeric value (default `payload`). |
|
|
794
803
|
| Translator | Optional translator-config. |
|
|
795
804
|
| On/Off payload | Typed payloads sent on output 1. |
|
|
796
805
|
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-boolean-logic-ultimate",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "A set of Node-RED enhanced boolean logic and utility nodes, flow interruption, blinker, debouncer, invert, filter, toggle etc.., with persistent values after reboot. Compatible also with Homeassistant values.",
|
|
5
5
|
"author": "Supergiovane (https://github.com/Supergiovane)",
|
|
6
6
|
"dependencies": {
|
|
@@ -16,10 +16,21 @@
|
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"node-red",
|
|
19
|
+
"node-red-contrib",
|
|
19
20
|
"boolean",
|
|
21
|
+
"logic",
|
|
20
22
|
"gate",
|
|
21
23
|
"filter",
|
|
22
|
-
"
|
|
24
|
+
"debounce",
|
|
25
|
+
"toggle",
|
|
26
|
+
"blinker",
|
|
27
|
+
"comparator",
|
|
28
|
+
"hysteresis",
|
|
29
|
+
"rate-limiter",
|
|
30
|
+
"kalman",
|
|
31
|
+
"utility",
|
|
32
|
+
"home-assistant",
|
|
33
|
+
"home-automation"
|
|
23
34
|
],
|
|
24
35
|
"license": "MIT",
|
|
25
36
|
"repository": {
|
|
@@ -54,4 +65,4 @@
|
|
|
54
65
|
"scripts": {
|
|
55
66
|
"test": "mocha test/**/*.spec.js"
|
|
56
67
|
}
|
|
57
|
-
}
|
|
68
|
+
}
|