From 76e33acae58da47b8bec4f85cfbbd067bd0b1fc0 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Wed, 24 May 2017 13:14:55 +0100 Subject: [PATCH] add ignore first message option to rue node --- function/rbe/locales/en-US/rbe.json | 2 ++ function/rbe/package.json | 2 +- function/rbe/rbe.html | 5 ++-- function/rbe/rbe.js | 8 +++--- test/function/rbe/rbe_spec.js | 40 +++++++++++++++++++++++++++++ 5 files changed, 51 insertions(+), 6 deletions(-) diff --git a/function/rbe/locales/en-US/rbe.json b/function/rbe/locales/en-US/rbe.json index 33690e05..d0d967bb 100644 --- a/function/rbe/locales/en-US/rbe.json +++ b/function/rbe/locales/en-US/rbe.json @@ -2,6 +2,7 @@ "rbe": { "label": { "func": "Mode", + "init": "Send initial value", "start": "Start value", "name": "Name" }, @@ -11,6 +12,7 @@ }, "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", diff --git a/function/rbe/package.json b/function/rbe/package.json index 320a72fd..4fb8a5d4 100644 --- a/function/rbe/package.json +++ b/function/rbe/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-rbe", - "version" : "0.1.8", + "version" : "0.1.9", "description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capability.", "dependencies" : { }, diff --git a/function/rbe/rbe.html b/function/rbe/rbe.html index 8edd50ec..6839c83f 100644 --- a/function/rbe/rbe.html +++ b/function/rbe/rbe.html @@ -4,6 +4,7 @@