mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Pull in RBE node and push out tail
This commit is contained in:
40
packages/node_modules/@node-red/nodes/locales/de/function/rbe.html
vendored
Normal file
40
packages/node_modules/@node-red/nodes/locales/de/function/rbe.html
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<script type="text/html" data-help-name="rbe">
|
||||
<p>Report by Exception (RBE) - Daten-Weiterleitung nur bei Änderung der Nutzdaten (Payload).
|
||||
Der Node kann auch blockieren oder weiterleiten, wenn die Wertänderung eine Grenze überschreitet (Totband- und Nahband-Modus).</p>
|
||||
<h3>Eingangsdaten</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload
|
||||
<span class="property-type">number | string | (object)</span>
|
||||
</dt>
|
||||
<dd>Der RBE-Modus mit Prüfung auf Wertänderung akzeptiert Zahlen (numbers), Zeichenfolgen (string) und einfache Objekte (object).
|
||||
Bei den anderen wertvergleichenden Modies müssen analysierbare (parseable) Zahlenwerte übergeben werden.</dd>
|
||||
<dt class="optional">topic <span class="property-type">string</span>
|
||||
</dt>
|
||||
<dd>Wenn vorgegeben erfolgt die Auswertung separat für jedes Topic</dd>
|
||||
<dt class="optional">reset<span class="property-type">any</span></dt>
|
||||
<dd>Wenn gesetzt wird/werden der/die gespeicherte(n) Wert(e) rückgesetzt</dd>
|
||||
</dl>
|
||||
<h3>Ausgangsdaten</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload
|
||||
<span class="property-type">wie Eingangsdaten</span>
|
||||
</dt>
|
||||
<dd>Wenn Bedingung erfüllt, sind die Ausgangsdaten gleich den Eingangsdaten</dd>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>Im <i>RBE</i>-Modus mit Prüfung auf Wertänderung blockiert dieser Node die Datenweitergabe bis
|
||||
<code>msg.payload</code> (oder die eingestellte Eigenschaft) verändert ist gegenüber dessen vorherigen Wert.
|
||||
Wenn benötigt, wird der Anfangswert ignoriert, sodass beim Start nichts gesendet wird.</p>
|
||||
<p>In den <i>Totband</i>-Modies werden die Eingangswerte geblockt,
|
||||
<i>bis</i> die Wertänderung größer oder größer-gleich ist als ± des Bandes um den voherigen Wert.</p>
|
||||
<p>In den <i>Nahband</i>-Modies werden die Eingangswerte geblockt,
|
||||
<i>wenn</i> die Wertänderung größer oder größer-gleich ist als ± des Bandes um den voherigen Wert.
|
||||
Dies ist beispielsweise nützlich, um Ausreißer eines fehlerhaften Sensors zu ignorieren.</p>
|
||||
<p>In den Totband und Nahband-Modies müssen die Eingangswerte analysierbare (parseable) Zahlenwerte sein und
|
||||
beide unterstützen auch % (prozentuale Angabe), d.h. der Node sendet nur, wenn der Eingangswert mehr als x% vom vorherigen Wert abweicht.</p>
|
||||
<p>Die Totband- und Nahband-Modies erlauben den Vergleich entweder gegen den letzten gültigen Ausgangswert,
|
||||
dieses zum Ignorieren von Werten außerhalb des gültigen Bereichs, oder gegen den des vorherigen Eingangswertes,
|
||||
welches den Sollwert rücksetzt, was einen allmähligen Drift (Totband) oder einen eine schrittweise Veränderung (Nahband) ermöglicht.</p>
|
||||
<p><b>Hinweis</b>: Dieser Node arbeitet auf per-<code>msg.topic</code>-Basis.
|
||||
Dies bedeutet, dass ein einzelner rbe-Node mehrere verschiedene Topics parallel bearbeiten kann.</p>
|
||||
</script>
|
||||
@@ -1000,5 +1000,32 @@
|
||||
"too-many": "Zu viele anstehende Nachrichten im <span style=\"background-color:Gainsboro\">batch</span>-Node",
|
||||
"unexpected": "Unerwarteter Modus",
|
||||
"no-parts": "Keine parts-Eigenschaft in Nachricht"
|
||||
},
|
||||
"rbe": {
|
||||
"rbe": "filter",
|
||||
"label": {
|
||||
"func": "Modus",
|
||||
"init": "Sende Anfangswert",
|
||||
"start": "Startwert",
|
||||
"name": "Name",
|
||||
"septopics": "Modus für jedes msg.topic separat anwenden"
|
||||
},
|
||||
"placeholder":{
|
||||
"bandgap": "z.B. 10 oder 5%",
|
||||
"start": "Leer lassen, um erste empfangenen Daten zu nutzen"
|
||||
},
|
||||
"opts": {
|
||||
"rbe": "Blockieren bis Wertänderung",
|
||||
"rbei": "Blockieren bis Wertänderung (Anfangswert ignorieren)",
|
||||
"deadband": "Blockieren bis Wertänderung ist größer als",
|
||||
"deadbandEq": "Blockieren bis Wertänderung ist größer-gleich",
|
||||
"narrowband": "Blockieren wenn Wertänderung ist größer als",
|
||||
"narrowbandEq": "Blockieren wenn Wertänderung ist größer-gleich",
|
||||
"in": "verglichen mit letzten Eingangswert",
|
||||
"out": "verglichen mit letzten gültigen Ausgangswert"
|
||||
},
|
||||
"warn": {
|
||||
"nonumber": "Keine Zahl gefunden in den Nutzdaten (Payload)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
41
packages/node_modules/@node-red/nodes/locales/en-US/function/rbe.html
vendored
Normal file
41
packages/node_modules/@node-red/nodes/locales/en-US/function/rbe.html
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<script type="text/html" data-help-name="rbe">
|
||||
<p>Report by Exception (RBE) node - only passes on data if the payload has changed.
|
||||
It can also block unless, or ignore if the value changes by a specified amount (Dead- and Narrowband mode).</p>
|
||||
<h3>Inputs</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload
|
||||
<span class="property-type">number | string | (object)</span>
|
||||
</dt>
|
||||
<dd>RBE mode will accept numbers, strings, and simple objects.
|
||||
Other modes must provide a parseable number.</dd>
|
||||
<dt class="optional">topic <span class="property-type">string</span>
|
||||
</dt>
|
||||
<dd>if specified the function will work on a per topic basis. This property can be set by configuration.</dd>
|
||||
<dt class="optional">reset<span class="property-type">any</span></dt>
|
||||
<dd>if set clears the stored value for the specified msg.topic, or
|
||||
all topics if msg.topic is not specified.</dd>
|
||||
</dl>
|
||||
<h3>Outputs</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload
|
||||
<span class="property-type">as per input</span>
|
||||
</dt>
|
||||
<dd>If triggered the output will be the same as the input.</dd>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>In RBE mode this node will block until the <code>msg.payload</code>,
|
||||
(or selected property) value is different to the previous one.
|
||||
If required it can ignore the intial value, so as not to send anything at start.</p>
|
||||
<p>The <a href="https://en.wikipedia.org/wiki/Deadband" target="_blank">Deadband</a> modes will block the incoming value
|
||||
<i>unless</i> its change is greater or greater-equal than ± the band gap away from a previous value.</p>
|
||||
<p>The Narrowband modes will block the incoming value,
|
||||
<i>if</i> its change is greater or greater-equal than ± the band gap away from the previous value.
|
||||
It is useful for ignoring outliers from a faulty sensor for example.</p>
|
||||
<p>Both in Deadband and Narrowband modes the incoming value must contain a parseable number and
|
||||
both also supports % - only sends if/unless the input differs by more than x% of the original value.</p>
|
||||
<p>Both Deadband and Narrowband allow comparison against either the previous valid output value, thus
|
||||
ignoring any values out of range, or the previous input value, which resets the set point, thus allowing
|
||||
gradual drift (deadband), or a step change (narrowband).</p>
|
||||
<p><b>Note:</b> This works on a per <code>msg.topic</code> basis, though this can be changed to another property if desired.
|
||||
This means that a single rbe node can handle multiple different topics at the same time.</p>
|
||||
</script>
|
||||
@@ -1001,5 +1001,32 @@
|
||||
"too-many" : "too many pending messages in batch node",
|
||||
"unexpected" : "unexpected mode",
|
||||
"no-parts" : "no parts property in message"
|
||||
},
|
||||
"rbe": {
|
||||
"rbe": "filter",
|
||||
"label": {
|
||||
"func": "Mode",
|
||||
"init": "Send initial value",
|
||||
"start": "Start value",
|
||||
"name": "Name",
|
||||
"septopics": "Apply mode separately for each "
|
||||
},
|
||||
"placeholder":{
|
||||
"bandgap": "e.g. 10 or 5%",
|
||||
"start": "leave blank to use first data received"
|
||||
},
|
||||
"opts": {
|
||||
"rbe": "block unless value changes",
|
||||
"rbei": "block unless value changes (ignore initial value)",
|
||||
"deadband": "block unless value change is greater than",
|
||||
"deadbandEq": "block unless value change is greater or equal to",
|
||||
"narrowband": "block if value change is greater than",
|
||||
"narrowbandEq": "block if value change is greater or equal to",
|
||||
"in": "compared to last input value",
|
||||
"out": "compared to last valid output value"
|
||||
},
|
||||
"warn": {
|
||||
"nonumber": "no number found in payload"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
31
packages/node_modules/@node-red/nodes/locales/ja/function/rbe.html
vendored
Normal file
31
packages/node_modules/@node-red/nodes/locales/ja/function/rbe.html
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<!-- Source revision: https://github.com/node-red/node-red-nodes/commit/467907776088422882076f46d85e25601449564d -->
|
||||
|
||||
<script type="text/html" data-help-name="rbe">
|
||||
<p>Report by Exception(例外データの報告)ノード - ペイロードの値が変化した場合だけデータを送信。</p>
|
||||
<p>値が指定した量変化するまでブロックすることもできます- 不感帯(deadband)モード。</p>
|
||||
<h3>入力</h3> <dl class="message-properties">
|
||||
<dt>payload
|
||||
<span class="property-type">数値 | 文字列 | (オブジェクト)</span>
|
||||
</dt>
|
||||
<dd>RBEモードでは数値、文字列、シンプルなオブジェクトを受け付けます。他のモードではパース可能な数値を指定します。</dd>
|
||||
<dt class="optional">topic <span class="property-type">文字列</span>
|
||||
</dt>
|
||||
<dd>指定すると、トピックごとに動作します。</dd>
|
||||
<dt class="optional">reset<span class="property-type">任意</span></dt>
|
||||
<dd>値を設定すると、保存した値をクリアします。msg.topicを指定した場合は対応する値、指定しなければ全てのトピックが対象となります。</dd>
|
||||
</dl>
|
||||
<h3>出力</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload
|
||||
<span class="property-type">入力と同じ</span>
|
||||
</dt>
|
||||
<dd>トリガー条件を満たした場合、入力を出力として送信。</dd>
|
||||
</dl>
|
||||
<h3>詳細</h3>
|
||||
<p>RBEモードでは、<code>msg.payload</code>が前の値から変化するまでブロックします。</p>
|
||||
<p>不感帯モードでは、入力データはパース可能な数値でなければなりません。以前の入力値に対する差分が指定値より大きな場合にのみメッセージを出力します。</p>
|
||||
<p>不感帯モードでは%による指定もサポートしています。入力と前の値の差分がX%より大きな場合に出力を行います。</p>
|
||||
<p>狭帯域(narrowband)モードでは、前の値に対する差分が一定値より大きな場合に入力ペイロードをブロックします。このモードは、故障したセンサから発生する外れ値を無視する時などに有用です。</p>
|
||||
<p>不感帯モードと狭帯域モードでは、以前の有効出力値、もしくは、以前の入力値との比較ができます。有効出力値を用いると範囲外の値を無視することが、入力値を用いると設定点がリセットされるため漸次的変化(不感帯モード)もしくは段階的変化(狭帯域モード)が可能です。</p>
|
||||
<p><b>注:</b> このノードは<code>msg.topic</code>毎に動作します。そのため、ひとつのrbeノードで複数の異なるトピックを同時に扱うことができます。</p>
|
||||
</script>
|
||||
@@ -999,5 +999,30 @@
|
||||
"too-many": "batchノード内で保持しているメッセージが多すぎます",
|
||||
"unexpected": "想定外のモード",
|
||||
"no-parts": "メッセージにpartsプロパティがありません"
|
||||
},
|
||||
"rbe": {
|
||||
"label": {
|
||||
"func": "動作",
|
||||
"init": "初期値を送付",
|
||||
"start": "初期値",
|
||||
"name": "名前"
|
||||
},
|
||||
"placeholder": {
|
||||
"bandgap": "例:10、5%",
|
||||
"start": "最初に受け取った値を用いる場合は空欄"
|
||||
},
|
||||
"opts": {
|
||||
"rbe": "値が変化した時のみメッセージを中継",
|
||||
"rbei": "値が変化した時のみメッセージを中継(初期値を無視)",
|
||||
"deadband": "値が指定した変化量を超える時のみメッセージを中継",
|
||||
"deadbandEq": "値が指定した変化量以上の時のみメッセージを中継",
|
||||
"narrowband": "値が指定した変化量を超えない時のみメッセージを中継",
|
||||
"narrowbandEq": "値が指定した変化量以上でない時のみメッセージを中継",
|
||||
"in": "最後の入力値と比較",
|
||||
"out": "最後の出力値と比較"
|
||||
},
|
||||
"warn": {
|
||||
"nonumber": "ペイロードに数値が含まれていません"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user