node-red-contrib-mobius-flow-base 2.5.86-beta.116 → 2.5.86-beta.119
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/dist/nodes/mobius-clear-resource.html +12 -3
- package/dist/nodes/mobius-clear-resource.js +1 -0
- package/dist/nodes/mobius-connection.js +1 -1
- package/dist/nodes/mobius-get-object.html +10 -2
- package/dist/nodes/mobius-get-object.js +1 -0
- package/dist/nodes/mobius-get-resource.html +11 -2
- package/dist/nodes/mobius-get-resource.js +1 -0
- package/dist/nodes/mobius-resource-cov.html +11 -2
- package/dist/nodes/mobius-resource-cov.js +1 -0
- package/dist/nodes/mobius-set-resource.html +11 -2
- package/dist/nodes/mobius-set-resource.js +1 -0
- package/package.json +1 -1
|
@@ -42,10 +42,18 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
42
42
|
<input type="checkbox" id="node-input-detailedOutput" style="display: inline-block; width: auto; vertical-align: top;">
|
|
43
43
|
<label for="node-input-detailedOutput" style="width: 70%;"> Use detailed outputs</label>
|
|
44
44
|
</div>
|
|
45
|
-
<hr>
|
|
45
|
+
<hr>
|
|
46
46
|
<div class="form-row">
|
|
47
|
-
<label for="node-input-
|
|
48
|
-
<
|
|
47
|
+
<label for="node-input-statusType" style="width: 125px;"><p><font color=##55aa88><i class="fa fa-square"></i></font> Status Display</p></label>
|
|
48
|
+
<select type="text" id="node-input-statusType" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
49
|
+
<option value="timeSinceLastActive">Show time since last active</option>
|
|
50
|
+
<option value="lastUri">Show last URI</option>
|
|
51
|
+
<option value="lastValue">Show last Value</option>
|
|
52
|
+
</select>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-row">
|
|
55
|
+
<label for="node-input-name" style="width: 125px;"><i class="fa fa-tag"></i> Name</label>
|
|
56
|
+
<input type="text" id="node-input-name" placeholder="Name" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
49
57
|
</div>
|
|
50
58
|
</script>
|
|
51
59
|
|
|
@@ -54,6 +62,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
54
62
|
category: 'mobius',
|
|
55
63
|
defaults: {
|
|
56
64
|
name: {value:""},
|
|
65
|
+
statusType: {value:"timeSinceLastActive"},
|
|
57
66
|
detailedOutput: {value:false},
|
|
58
67
|
resource: {value:"", validate:function(v) {
|
|
59
68
|
if(v === '') { return true; }
|
|
@@ -338,7 +338,7 @@ module.exports = function (RED) {
|
|
|
338
338
|
}
|
|
339
339
|
node.users[mobiusNode.id].lastActiveTime = 0;
|
|
340
340
|
node.users[mobiusNode.id].statusCheckLoop = setInterval(() => {
|
|
341
|
-
if (node.connected) {
|
|
341
|
+
if (node.connected && node.users[mobiusNode.id].statusType !== undefined) {
|
|
342
342
|
node.updateNodeStatus(mobiusNode);
|
|
343
343
|
}
|
|
344
344
|
}, 60000);
|
|
@@ -47,8 +47,15 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
47
47
|
</div>
|
|
48
48
|
<hr>
|
|
49
49
|
<div class="form-row">
|
|
50
|
-
<label for="node-input-
|
|
51
|
-
<
|
|
50
|
+
<label for="node-input-statusType" style="width: 125px;"><p><font color=##55aa88><i class="fa fa-square"></i></font> Status Display</p></label>
|
|
51
|
+
<select type="text" id="node-input-statusType" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
52
|
+
<option value="timeSinceLastActive">Show time since last active</option>
|
|
53
|
+
<option value="lastUri">Show last URI</option>
|
|
54
|
+
</select>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="form-row">
|
|
57
|
+
<label for="node-input-name" style="width: 125px;"><i class="fa fa-tag"></i> Name</label>
|
|
58
|
+
<input type="text" id="node-input-name" placeholder="Name" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
52
59
|
</div>
|
|
53
60
|
</script>
|
|
54
61
|
|
|
@@ -58,6 +65,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
58
65
|
color: "#8abff5",
|
|
59
66
|
defaults: {
|
|
60
67
|
name: {value: ""},
|
|
68
|
+
statusType: {value:"timeSinceLastActive"},
|
|
61
69
|
detailedOutput: {value:false},
|
|
62
70
|
format: {value: "name", required: true},
|
|
63
71
|
mobject: {value: "", validate:function(v) {
|
|
@@ -40,8 +40,16 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
40
40
|
</div>
|
|
41
41
|
<hr>
|
|
42
42
|
<div class="form-row">
|
|
43
|
-
<label for="node-input-
|
|
44
|
-
<
|
|
43
|
+
<label for="node-input-statusType" style="width: 125px;"><p><font color=##55aa88><i class="fa fa-square"></i></font> Status Display</p></label>
|
|
44
|
+
<select type="text" id="node-input-statusType" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
45
|
+
<option value="timeSinceLastActive">Show time since last active</option>
|
|
46
|
+
<option value="lastUri">Show last URI</option>
|
|
47
|
+
<option value="lastValue">Show last Value</option>
|
|
48
|
+
</select>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="form-row">
|
|
51
|
+
<label for="node-input-name" style="width: 125px;"><i class="fa fa-tag"></i> Name</label>
|
|
52
|
+
<input type="text" id="node-input-name" placeholder="Name" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
45
53
|
</div>
|
|
46
54
|
</script>
|
|
47
55
|
|
|
@@ -51,6 +59,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
51
59
|
color:"#8abff5",
|
|
52
60
|
defaults: {
|
|
53
61
|
name: {value:""},
|
|
62
|
+
statusType: {value:"timeSinceLastActive"},
|
|
54
63
|
detailedOutput: {value:false},
|
|
55
64
|
resource: {value:"", validate:function(v) {
|
|
56
65
|
if(v === '') { return true; }
|
|
@@ -40,8 +40,16 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
40
40
|
</div>
|
|
41
41
|
<hr>
|
|
42
42
|
<div class="form-row">
|
|
43
|
-
<label for="node-input-
|
|
44
|
-
<
|
|
43
|
+
<label for="node-input-statusType" style="width: 125px;"><p><font color=##55aa88><i class="fa fa-square"></i></font> Status Display</p></label>
|
|
44
|
+
<select type="text" id="node-input-statusType" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
45
|
+
<option value="timeSinceLastActive">Show time since last active</option>
|
|
46
|
+
<option value="lastUri">Show last URI</option>
|
|
47
|
+
<option value="lastValue">Show last Value</option>
|
|
48
|
+
</select>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="form-row">
|
|
51
|
+
<label for="node-input-name" style="width: 125px;"><i class="fa fa-tag"></i> Name</label>
|
|
52
|
+
<input type="text" id="node-input-name" placeholder="Name" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
45
53
|
</div>
|
|
46
54
|
</script>
|
|
47
55
|
|
|
@@ -50,6 +58,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
50
58
|
category: 'mobius',
|
|
51
59
|
defaults: {
|
|
52
60
|
name: {value:""},
|
|
61
|
+
statusType: {value:"timeSinceLastActive"},
|
|
53
62
|
detailedOutput: {value:false},
|
|
54
63
|
resource: {value:"", required:true, validate:function(v) {
|
|
55
64
|
let parts = v.split('/');
|
|
@@ -44,8 +44,16 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
44
44
|
</div>
|
|
45
45
|
<hr>
|
|
46
46
|
<div class="form-row">
|
|
47
|
-
<label for="node-input-
|
|
48
|
-
<
|
|
47
|
+
<label for="node-input-statusType" style="width: 125px;"><p><font color=##55aa88><i class="fa fa-square"></i></font> Status Display</p></label>
|
|
48
|
+
<select type="text" id="node-input-statusType" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
49
|
+
<option value="timeSinceLastActive">Show time since last active</option>
|
|
50
|
+
<option value="lastUri">Show last URI</option>
|
|
51
|
+
<option value="lastValue">Show last Value</option>
|
|
52
|
+
</select>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-row">
|
|
55
|
+
<label for="node-input-name" style="width: 125px;"><i class="fa fa-tag"></i> Name</label>
|
|
56
|
+
<input type="text" id="node-input-name" placeholder="Name" style="display: inline-block; width: 65%; vertical-align: right;">
|
|
49
57
|
</div>
|
|
50
58
|
</script>
|
|
51
59
|
|
|
@@ -54,6 +62,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
54
62
|
category: 'mobius',
|
|
55
63
|
defaults: {
|
|
56
64
|
name: {value:""},
|
|
65
|
+
statusType: {value:"timeSinceLastActive"},
|
|
57
66
|
detailedOutput: {value:false},
|
|
58
67
|
resource: {value:"", validate:function(v) {
|
|
59
68
|
if(v === '') { return true; }
|