@ncd-io/node-red-enterprise-sensors 1.4.7 → 1.6.0
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/data/configuration_map.json +5320 -0
- package/data/sensor_configs.json +1 -0
- package/data/sensor_type_map.json +1117 -0
- package/lib/WirelessGateway.js +961 -584
- package/package.json +1 -1
- package/wireless.html +424 -86
- package/wireless.js +1014 -62
package/wireless.html
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
.ncd-active-check strong{
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
.form-row.ncd-active-check{
|
|
6
|
+
margin: 12px 0px;
|
|
7
|
+
border: 1px solid #eee;
|
|
8
|
+
padding: 12px;
|
|
9
|
+
border-radius: 8px;
|
|
10
|
+
}
|
|
11
|
+
.form-row.ncd-active-check > div{
|
|
12
|
+
padding: 4px;
|
|
13
|
+
}
|
|
14
|
+
.form-row.ncd-active-check > div > input[type='checkbox']{
|
|
15
|
+
width: inherit;
|
|
16
|
+
}
|
|
17
|
+
.form-row .caption{
|
|
18
|
+
font-size: .95em;
|
|
19
|
+
padding-left: 1em;
|
|
20
|
+
margin-top: .25em;
|
|
21
|
+
}
|
|
22
|
+
#register_list_539 > div{
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
#gas_type_list_545 > div{
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
29
|
+
|
|
1
30
|
<script type="text/javascript">
|
|
2
31
|
RED.nodes.registerType('ncd-gateway-node',{
|
|
3
32
|
category: 'NCD',
|
|
@@ -64,32 +93,6 @@
|
|
|
64
93
|
</div>
|
|
65
94
|
</script>
|
|
66
95
|
|
|
67
|
-
<style>
|
|
68
|
-
.ncd-active-check strong{
|
|
69
|
-
width: 100%;
|
|
70
|
-
}
|
|
71
|
-
.form-row.ncd-active-check{
|
|
72
|
-
margin: 12px 0px;
|
|
73
|
-
border: 1px solid #eee;
|
|
74
|
-
padding: 12px;
|
|
75
|
-
border-radius: 8px;
|
|
76
|
-
}
|
|
77
|
-
.form-row.ncd-active-check > div{
|
|
78
|
-
padding: 4px;
|
|
79
|
-
}
|
|
80
|
-
.form-row.ncd-active-check > div > input[type='checkbox']{
|
|
81
|
-
width: inherit;
|
|
82
|
-
}
|
|
83
|
-
.form-row .caption{
|
|
84
|
-
font-size: .95em;
|
|
85
|
-
padding-left: 1em;
|
|
86
|
-
margin-top: .25em;
|
|
87
|
-
}
|
|
88
|
-
#register_list_539 > div{
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
91
|
-
</style>
|
|
92
|
-
|
|
93
96
|
<script type="text/x-red" data-help-name="ncd-gateway-node">
|
|
94
97
|
<h3>Gateway Node</h3>
|
|
95
98
|
<p>This node is primarily useful for debugging and configuring sensors. This node is equipped with a button on the flow that switches the modem between configuration and listening mode.</p>
|
|
@@ -128,6 +131,39 @@
|
|
|
128
131
|
</pre>
|
|
129
132
|
</script>
|
|
130
133
|
|
|
134
|
+
<script type="text/javascript">
|
|
135
|
+
RED.nodes.registerType('ncd-api-configuration-node',{
|
|
136
|
+
category: 'NCD',
|
|
137
|
+
color: '#a6bbcf',
|
|
138
|
+
icon: "serial.png",
|
|
139
|
+
paletteLabel: "API Configuration",
|
|
140
|
+
outputLabels: ["Parsed","Unknown"],
|
|
141
|
+
defaults: {
|
|
142
|
+
name: {value: ""},
|
|
143
|
+
connection: {value: "", type: "ncd-gateway-config"},
|
|
144
|
+
outputs:{value:1}
|
|
145
|
+
},
|
|
146
|
+
inputs: 1,
|
|
147
|
+
outputs: 1,
|
|
148
|
+
label: function() {
|
|
149
|
+
return this.name || "API Configuration";
|
|
150
|
+
},
|
|
151
|
+
});
|
|
152
|
+
</script>
|
|
153
|
+
<script type="text/x-red" data-template-name="ncd-api-configuration-node">
|
|
154
|
+
<div class="form-row">
|
|
155
|
+
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
|
|
156
|
+
<input type="text" id="node-input-name" placeholder="Name">
|
|
157
|
+
</div>
|
|
158
|
+
<div class="form-row">
|
|
159
|
+
<label for="node-input-connection"><i class="icon-tag"></i> Serial Device</label>
|
|
160
|
+
<select id="node-input-connection"></select>
|
|
161
|
+
</div>
|
|
162
|
+
</script>
|
|
163
|
+
|
|
164
|
+
<script type="text/x-red" data-help-name="ncd-api-configuration-node">
|
|
165
|
+
TODO PLACEHOLDER TEXT
|
|
166
|
+
</script>
|
|
131
167
|
|
|
132
168
|
<script type="text/javascript">
|
|
133
169
|
NCD_validators = {
|
|
@@ -522,9 +558,9 @@
|
|
|
522
558
|
smart_interval_110: {value: 0, validate: NCD_validators.number_range(0, 255)},
|
|
523
559
|
|
|
524
560
|
smart_threshold_110_active:{value:""},
|
|
525
|
-
smart_threshold_110: {value: 1, validate: NCD_validators.number_range(1,
|
|
561
|
+
smart_threshold_110: {value: 1, validate: NCD_validators.number_range(1, 40, 10, "smart_threshold_110")},
|
|
526
562
|
smart_threshold_p2_110_active:{value:""},
|
|
527
|
-
smart_threshold_p2_110: {value: 1, validate: NCD_validators.number_range(1,
|
|
563
|
+
smart_threshold_p2_110: {value: 1, validate: NCD_validators.number_range(1, 40, 10, "smart_threshold_110")},
|
|
528
564
|
|
|
529
565
|
rx485_timeout_1011_active:{value:""},
|
|
530
566
|
rx485_timeout_1011:{value: 0, validate: NCD_validators.number_range(0, 255)},
|
|
@@ -890,7 +926,32 @@
|
|
|
890
926
|
rtd_wire_type_ch3_55_active: {value: ""},
|
|
891
927
|
rtd_wire_type_ch3_55: {value:1},
|
|
892
928
|
rtd_range_ch3_55_active: {value: ""},
|
|
893
|
-
rtd_range_ch3_55: {value:1}
|
|
929
|
+
rtd_range_ch3_55: {value:1},
|
|
930
|
+
|
|
931
|
+
max_num_motion_103_active: {value: ""},
|
|
932
|
+
max_num_motion_103: {value: 1, validate: NCD_validators.number_range(1, 255)},
|
|
933
|
+
acc_output_data_rate_103_active: {value: ""},
|
|
934
|
+
acc_output_data_rate_103: {value: 1},
|
|
935
|
+
|
|
936
|
+
temperature_unit_545_active: {value: ""},
|
|
937
|
+
temperature_unit_545: {value: 1},
|
|
938
|
+
flow_unit_545_active: {value: ""},
|
|
939
|
+
flow_unit_545: {value: 1},
|
|
940
|
+
gas_type_545_active: {value: ""},
|
|
941
|
+
gas_type_545: {value: 1},
|
|
942
|
+
|
|
943
|
+
number_of_gas_type_545_active:{value:""},
|
|
944
|
+
number_of_gas_type_545: {value: 2, validate: NCD_validators.number_range(2, 5)},
|
|
945
|
+
percentage_value_0_545: {value: 20, validate: NCD_validators.number_range(1, 100)},
|
|
946
|
+
percentage_value_1_545: {value: 20, validate: NCD_validators.number_range(1, 100)},
|
|
947
|
+
percentage_value_2_545: {value: 20, validate: NCD_validators.number_range(1, 100)},
|
|
948
|
+
percentage_value_3_545: {value: 20, validate: NCD_validators.number_range(1, 100)},
|
|
949
|
+
percentage_value_4_545: {value: 20, validate: NCD_validators.number_range(1, 100)},
|
|
950
|
+
gas_type_0_545:{value: 0, validate: NCD_validators.number_range(0, 11)},
|
|
951
|
+
gas_type_1_545:{value: 0, validate: NCD_validators.number_range(0, 11)},
|
|
952
|
+
gas_type_2_545:{value: 0, validate: NCD_validators.number_range(0, 11)},
|
|
953
|
+
gas_type_3_545:{value: 0, validate: NCD_validators.number_range(0, 11)},
|
|
954
|
+
gas_type_4_545:{value: 0, validate: NCD_validators.number_range(0, 11)}
|
|
894
955
|
},
|
|
895
956
|
inputs: 0,
|
|
896
957
|
outputs: 1,
|
|
@@ -1034,6 +1095,7 @@
|
|
|
1034
1095
|
"541": "541 - Custom Inline Flow Sensor",
|
|
1035
1096
|
"542": "542 - Custom LWGY Flow Sensor",
|
|
1036
1097
|
"543": "543 - Custom Seismic Vibration Sensor",
|
|
1098
|
+
"545": "545 - Fox Thermal Flow Sensor",
|
|
1037
1099
|
"1010": "1010 - RS232 Wireless Converter 1010",
|
|
1038
1100
|
"1011": "1011 - RS485 Wireless Converter 1011",
|
|
1039
1101
|
"10000": "10000 - 4-Channel Relay",
|
|
@@ -1065,6 +1127,11 @@
|
|
|
1065
1127
|
$('#register_list_539 > div:nth-child(-n+'+registers+')').show();
|
|
1066
1128
|
$('#register_list_539 > div:nth-last-child(-n+'+(32-registers)+')').hide();
|
|
1067
1129
|
});
|
|
1130
|
+
$('#node-input-number_of_gas_type_545').change(function(){
|
|
1131
|
+
let gas_type = $(this).val();
|
|
1132
|
+
$('#gas_type_list_545 > div:nth-child(-n+'+gas_type+')').show();
|
|
1133
|
+
$('#gas_type_list_545 > div:nth-last-child(-n+'+(5-gas_type)+')').hide();
|
|
1134
|
+
});
|
|
1068
1135
|
// $('#node-input-number_of_regs_to_rd_539_active').change(function(){
|
|
1069
1136
|
// if($(this).prop('checked')){
|
|
1070
1137
|
// if($(this).data('target-id')){
|
|
@@ -1348,6 +1415,7 @@
|
|
|
1348
1415
|
<option value="541">541 - Custom Inline Flow Sensor</option>
|
|
1349
1416
|
<option value="542">542 - Custom LWGY Flow Sensor</option>
|
|
1350
1417
|
<option value="543">543 - Custom Seismic Vibration Sensor</option>
|
|
1418
|
+
<option value="545">545 - Fox Thermal Flow Sensor</option>
|
|
1351
1419
|
<option value="1010">1010 - RS232 Wireless Converter 1010</option>
|
|
1352
1420
|
<option value="1011">1011 - RS485 Wireless Converter 1011</option>
|
|
1353
1421
|
<option value="10000">10000 - 4-Channel Relay</option>
|
|
@@ -1363,7 +1431,7 @@
|
|
|
1363
1431
|
<label for="node-input-auto_config"><i class="icon-tag"></i> Auto Config</label>
|
|
1364
1432
|
<input class="section-control" type="checkbox" id="node-input-auto_config" value="1">
|
|
1365
1433
|
</div>
|
|
1366
|
-
<div class="form-row ncd-dependent" data-sensor-4 data-sensor-12 data-sensor-21 data-sensor-29 data-sensor-23 data-sensor-26 data-sensor-32 data-sensor-33 data-sensor-39 data-sensor-44 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-53 data-sensor-54 data-sensor-55 data-sensor-56 data-sensor-58 data-sensor-74 data-sensor-76 data-sensor-78 data-sensor-79 data-sensor-80 data-sensor-81 data-sensor-82 data-sensor-84 data-sensor-87 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-97 data-sensor-98 data-sensor-91 data-sensor-101 data-sensor-102 data-sensor-103 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-108 data-sensor-109 data-sensor-110 data-sensor-111 data-sensor-112 data-sensor-114 data-sensor-117 data-sensor-118 data-sensor-119 data-sensor-120 data-sensor-121 data-sensor-122 data-sensor-123 data-sensor-124 data-sensor-180 data-sensor-181 data-sensor-202 data-sensor-211 data-sensor-217 data-sensor-270 data-sensor-519 data-sensor-520 data-sensor-521 data-sensor-531 data-sensor-535 data-sensor-536 data-sensor-537 data-sensor-538 data-sensor-539 data-sensor-540 data-sensor-541 data-sensor-542 data-sensor-543 data-sensor-1010 data-sensor-1011>
|
|
1434
|
+
<div class="form-row ncd-dependent" data-sensor-4 data-sensor-12 data-sensor-21 data-sensor-29 data-sensor-23 data-sensor-26 data-sensor-32 data-sensor-33 data-sensor-39 data-sensor-44 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-53 data-sensor-54 data-sensor-55 data-sensor-56 data-sensor-58 data-sensor-74 data-sensor-76 data-sensor-78 data-sensor-79 data-sensor-80 data-sensor-81 data-sensor-82 data-sensor-84 data-sensor-87 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-97 data-sensor-98 data-sensor-91 data-sensor-101 data-sensor-102 data-sensor-103 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-108 data-sensor-109 data-sensor-110 data-sensor-111 data-sensor-112 data-sensor-114 data-sensor-117 data-sensor-118 data-sensor-119 data-sensor-120 data-sensor-121 data-sensor-122 data-sensor-123 data-sensor-124 data-sensor-180 data-sensor-181 data-sensor-202 data-sensor-211 data-sensor-217 data-sensor-270 data-sensor-519 data-sensor-520 data-sensor-521 data-sensor-531 data-sensor-535 data-sensor-536 data-sensor-537 data-sensor-538 data-sensor-539 data-sensor-540 data-sensor-541 data-sensor-542 data-sensor-543 data-sensor-545 data-sensor-1010 data-sensor-1011>
|
|
1367
1435
|
<hr>
|
|
1368
1436
|
<label for="node-input-on_the_fly_enable"><i class="icon-tag"></i> OTF Config*</label>
|
|
1369
1437
|
<input type="checkbox" id="node-input-on_the_fly_enable" value="1">
|
|
@@ -1474,23 +1542,21 @@
|
|
|
1474
1542
|
<input type="text" id="node-input-current_calibration_13">
|
|
1475
1543
|
</div>
|
|
1476
1544
|
</div>
|
|
1477
|
-
|
|
1478
|
-
<
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
<
|
|
1485
|
-
|
|
1486
|
-
<input type="checkbox" id="node-input-current_calibration_13_dep_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_13_dep" value="1">
|
|
1487
|
-
</div>
|
|
1488
|
-
<div>
|
|
1489
|
-
<label for="node-input-current_calibration_13_dep"><i class="icon-tag"></i> Value:</label>
|
|
1490
|
-
<input type="text" id="node-input-current_calibration_13_dep">
|
|
1491
|
-
</div>
|
|
1545
|
+
<div class="form-row ncd-active-check">
|
|
1546
|
+
<strong>Deprecated: Channel 1 Current Calibration Value</strong>
|
|
1547
|
+
<p class="caption">
|
|
1548
|
+
**Only for use with sensors with firmware versions 2 or lower.<br><br>
|
|
1549
|
+
New calibration value = ((current_read_by_meter/current_read_by_sensor)*last_stored_calibration_value)*100
|
|
1550
|
+
</p>
|
|
1551
|
+
<div>
|
|
1552
|
+
<label for="node-input-current_calibration_13_dep_active">Active:</label>
|
|
1553
|
+
<input type="checkbox" id="node-input-current_calibration_13_dep_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_13_dep" value="1">
|
|
1492
1554
|
</div>
|
|
1493
|
-
|
|
1555
|
+
<div>
|
|
1556
|
+
<label for="node-input-current_calibration_13_dep"><i class="icon-tag"></i> Value:</label>
|
|
1557
|
+
<input type="text" id="node-input-current_calibration_13_dep">
|
|
1558
|
+
</div>
|
|
1559
|
+
</div>
|
|
1494
1560
|
</div>
|
|
1495
1561
|
<div class="ncd-dependent" data-sensor-19 data-sensor-28>
|
|
1496
1562
|
<div class="form-row ncd-active-check">
|
|
@@ -1507,23 +1573,21 @@
|
|
|
1507
1573
|
<input type="text" id="node-input-current_calibration_ch2_19">
|
|
1508
1574
|
</div>
|
|
1509
1575
|
</div>
|
|
1510
|
-
|
|
1511
|
-
<
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
<
|
|
1518
|
-
|
|
1519
|
-
<input type="checkbox" id="node-input-current_calibration_ch2_19_dep_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_ch2_19_dep" value="1">
|
|
1520
|
-
</div>
|
|
1521
|
-
<div>
|
|
1522
|
-
<label for="node-input-current_calibration_ch2_19_dep"><i class="icon-tag"></i> Value:</label>
|
|
1523
|
-
<input type="text" id="node-input-current_calibration_ch2_19_dep">
|
|
1524
|
-
</div>
|
|
1576
|
+
<div class="form-row ncd-active-check">
|
|
1577
|
+
<strong>Deprecated: Channel 2 Current Calibration Value</strong>
|
|
1578
|
+
<p class="caption">
|
|
1579
|
+
**Only for use with sensors with firmware versions 2 or lower.<br><br>
|
|
1580
|
+
New calibration value = ((current_read_by_meter/current_read_by_sensor)*last_stored_calibration_value)*100
|
|
1581
|
+
</p>
|
|
1582
|
+
<div>
|
|
1583
|
+
<label for="node-input-current_calibration_ch2_19_dep_active">Active:</label>
|
|
1584
|
+
<input type="checkbox" id="node-input-current_calibration_ch2_19_dep_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_ch2_19_dep" value="1">
|
|
1525
1585
|
</div>
|
|
1526
|
-
|
|
1586
|
+
<div>
|
|
1587
|
+
<label for="node-input-current_calibration_ch2_19_dep"><i class="icon-tag"></i> Value:</label>
|
|
1588
|
+
<input type="text" id="node-input-current_calibration_ch2_19_dep">
|
|
1589
|
+
</div>
|
|
1590
|
+
</div>
|
|
1527
1591
|
</div>
|
|
1528
1592
|
<div class="ncd-dependent" data-sensor-28>
|
|
1529
1593
|
<div class="form-row ncd-active-check">
|
|
@@ -1540,23 +1604,21 @@
|
|
|
1540
1604
|
<input type="text" id="node-input-current_calibration_ch3_28">
|
|
1541
1605
|
</div>
|
|
1542
1606
|
</div>
|
|
1543
|
-
|
|
1544
|
-
<
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
<
|
|
1551
|
-
|
|
1552
|
-
<input type="checkbox" id="node-input-current_calibration_ch3_28_dep_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_ch3_28_dep" value="1">
|
|
1553
|
-
</div>
|
|
1554
|
-
<div>
|
|
1555
|
-
<label for="node-input-current_calibration_ch3_28_dep"><i class="icon-tag"></i> Value:</label>
|
|
1556
|
-
<input type="text" id="node-input-current_calibration_ch3_28_dep">
|
|
1557
|
-
</div>
|
|
1607
|
+
<div class="form-row ncd-active-check">
|
|
1608
|
+
<strong>Deprecated: Channel 3 Current Calibration Value</strong>
|
|
1609
|
+
<p class="caption">
|
|
1610
|
+
**Only for use with sensors with firmware versions 2 or lower.<br><br>
|
|
1611
|
+
New calibration value = ((current_read_by_meter/current_read_by_sensor)*last_stored_calibration_value)*100
|
|
1612
|
+
</p>
|
|
1613
|
+
<div>
|
|
1614
|
+
<label for="node-input-current_calibration_ch3_28_dep_active">Active:</label>
|
|
1615
|
+
<input type="checkbox" id="node-input-current_calibration_ch3_28_dep_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_ch3_28_dep" value="1">
|
|
1558
1616
|
</div>
|
|
1559
|
-
|
|
1617
|
+
<div>
|
|
1618
|
+
<label for="node-input-current_calibration_ch3_28_dep"><i class="icon-tag"></i> Value:</label>
|
|
1619
|
+
<input type="text" id="node-input-current_calibration_ch3_28_dep">
|
|
1620
|
+
</div>
|
|
1621
|
+
</div>
|
|
1560
1622
|
</div>
|
|
1561
1623
|
<div class="ncd-dependent" data-sensor-3 data-sensor-10 data-sensor-13 data-sensor-19 data-sensor-28>
|
|
1562
1624
|
<div class="form-row ncd-active-check">
|
|
@@ -5458,10 +5520,15 @@
|
|
|
5458
5520
|
<label for="node-input-sampling_duration_103"><i class="icon-tag"></i>Value:</label>
|
|
5459
5521
|
<input type="text" id="node-input-sampling_duration_103">
|
|
5460
5522
|
</div>
|
|
5523
|
+
<p class="caption">
|
|
5524
|
+
Default value: 20 miliseconds.
|
|
5525
|
+
</p>
|
|
5461
5526
|
</div>
|
|
5462
5527
|
<div class="form-row ncd-active-check">
|
|
5463
5528
|
<strong>Set Acceleration Threshold</strong>
|
|
5464
|
-
<p>
|
|
5529
|
+
<p>Set a motion detection threshold for the sensor to trigger a data transmission. This is an interrupt-based configuration.<br>
|
|
5530
|
+
The transmitted message will have a msg_type property of 'motion'.<br><br>
|
|
5531
|
+
Sets the threshold in multiples of 32mg. A value of 1 = 32mg, a value of 2 = 64mg etc.</p>
|
|
5465
5532
|
<div>
|
|
5466
5533
|
<label for="node-input-acc_threshold_103_active">Active:</label>
|
|
5467
5534
|
<input type="checkbox" id="node-input-acc_threshold_103_active" class="ncd-config-toggle" data-target-id="node-input-acc_threshold_103" value="1">
|
|
@@ -5470,9 +5537,32 @@
|
|
|
5470
5537
|
<label for="node-input-acc_threshold_103"><i class="icon-tag"></i>Value:</label>
|
|
5471
5538
|
<input type="text" id="node-input-acc_threshold_103">
|
|
5472
5539
|
</div>
|
|
5540
|
+
<p class="caption">
|
|
5541
|
+
Default value: 320mg.
|
|
5542
|
+
</p>
|
|
5473
5543
|
</div>
|
|
5474
5544
|
<div class="form-row ncd-active-check">
|
|
5475
|
-
<strong>Set
|
|
5545
|
+
<strong>Set Accelerometer ODR</strong>
|
|
5546
|
+
<div>
|
|
5547
|
+
<label for="node-input-acc_output_data_rate_103_active"><i class="icon-tag"></i>Active:</label>
|
|
5548
|
+
<input type="checkbox" id="node-input-acc_output_data_rate_103_active" class="ncd-config-toggle" data-target-id="node-input-acc_output_data_rate_103" value="1">
|
|
5549
|
+
</div>
|
|
5550
|
+
<div>
|
|
5551
|
+
<label for="node-input-acc_output_data_rate_103"><i class="icon-tag"></i>Value:</label>
|
|
5552
|
+
<select id="node-input-acc_output_data_rate_103">
|
|
5553
|
+
<option value="0">8000Hz</option>
|
|
5554
|
+
<option value="1">4000Hz</option>
|
|
5555
|
+
<option value="2">2000Hz</option>
|
|
5556
|
+
<option value="3">1000Hz</option>
|
|
5557
|
+
<option value="4">100Hz</option>
|
|
5558
|
+
</select>
|
|
5559
|
+
</div>
|
|
5560
|
+
<p class="caption">
|
|
5561
|
+
Default value: 1000Hz.
|
|
5562
|
+
</p>
|
|
5563
|
+
</div>
|
|
5564
|
+
<div class="form-row ncd-active-check">
|
|
5565
|
+
<strong>Set Gyroscope ODR</strong>
|
|
5476
5566
|
<div>
|
|
5477
5567
|
<label for="node-input-output_data_rate_103_active"><i class="icon-tag"></i>Active:</label>
|
|
5478
5568
|
<input type="checkbox" id="node-input-output_data_rate_103_active" class="ncd-config-toggle" data-target-id="node-input-output_data_rate_103" value="1">
|
|
@@ -5481,11 +5571,14 @@
|
|
|
5481
5571
|
<label for="node-input-output_data_rate_103"><i class="icon-tag"></i>Value:</label>
|
|
5482
5572
|
<select id="node-input-output_data_rate_103">
|
|
5483
5573
|
<option value="0">125Hz</option>
|
|
5484
|
-
<option value="1"
|
|
5574
|
+
<option value="1">250Hz</option>
|
|
5485
5575
|
<option value="2">500Hz</option>
|
|
5486
5576
|
<option value="3">1000Hz</option>
|
|
5487
5577
|
</select>
|
|
5488
5578
|
</div>
|
|
5579
|
+
<p class="caption">
|
|
5580
|
+
Default value: 1000Hz.
|
|
5581
|
+
</p>
|
|
5489
5582
|
</div>
|
|
5490
5583
|
<div class="form-row ncd-active-check">
|
|
5491
5584
|
<strong>Enable Sensor</strong>
|
|
@@ -5496,11 +5589,14 @@
|
|
|
5496
5589
|
<div>
|
|
5497
5590
|
<label for="node-input-enable_sensor_103"><i class="icon-tag"></i>Value:</label>
|
|
5498
5591
|
<select id="node-input-enable_sensor_103">
|
|
5592
|
+
<option value="0">Accelerometer only</option>
|
|
5499
5593
|
<option value="1">Gyroscope only</option>
|
|
5500
|
-
<option value="2">
|
|
5501
|
-
<option value="3"selected>All enabled</option>
|
|
5594
|
+
<option value="2"selected>Both enabled</option>
|
|
5502
5595
|
</select>
|
|
5503
5596
|
</div>
|
|
5597
|
+
<p class="caption">
|
|
5598
|
+
Default value: Both enabled.
|
|
5599
|
+
</p>
|
|
5504
5600
|
</div>
|
|
5505
5601
|
<div class="form-row ncd-active-check">
|
|
5506
5602
|
<strong>Set HP Filter Cutoff</strong>
|
|
@@ -5523,6 +5619,9 @@
|
|
|
5523
5619
|
<option value="6">0.00000238</option>
|
|
5524
5620
|
</select>
|
|
5525
5621
|
</div>
|
|
5622
|
+
<p class="caption">
|
|
5623
|
+
Default value: Disabled.
|
|
5624
|
+
</p>
|
|
5526
5625
|
</div>
|
|
5527
5626
|
<div class="form-row ncd-active-check">
|
|
5528
5627
|
<strong>Set Gyroscope FSR</strong>
|
|
@@ -5539,6 +5638,9 @@
|
|
|
5539
5638
|
<option value="3">3000dps</option>
|
|
5540
5639
|
</select>
|
|
5541
5640
|
</div>
|
|
5641
|
+
<p class="caption">
|
|
5642
|
+
Default value: 250 dsp.
|
|
5643
|
+
</p>
|
|
5542
5644
|
</div>
|
|
5543
5645
|
<div class="form-row ncd-active-check">
|
|
5544
5646
|
<strong>Set Accelerometer FSR</strong>
|
|
@@ -5549,11 +5651,33 @@
|
|
|
5549
5651
|
<div>
|
|
5550
5652
|
<label for="node-input-adxl_fsr_103"><i class="icon-tag"></i>Value:</label>
|
|
5551
5653
|
<select id="node-input-adxl_fsr_103">
|
|
5552
|
-
<option value="0" selected>
|
|
5553
|
-
<option value="1">
|
|
5554
|
-
<option value="2">
|
|
5654
|
+
<option value="0" selected>15g</option>
|
|
5655
|
+
<option value="1">30g</option>
|
|
5656
|
+
<option value="2">60g</option>
|
|
5555
5657
|
</select>
|
|
5556
5658
|
</div>
|
|
5659
|
+
<p class="caption">
|
|
5660
|
+
Default value: 15g.
|
|
5661
|
+
</p>
|
|
5662
|
+
</div>
|
|
5663
|
+
<div class="form-row ncd-active-check">
|
|
5664
|
+
<strong>Set Max Number Motion Tx Per Interval</strong>
|
|
5665
|
+
<p>
|
|
5666
|
+
Set Number of times it will send data due to motion triggers.<br><br>
|
|
5667
|
+
**Only applies to sensor with firmware version 2 and above.
|
|
5668
|
+
</p>
|
|
5669
|
+
<div>
|
|
5670
|
+
<label for="node-input-max_num_motion_103_active">Active:</label>
|
|
5671
|
+
<input type="checkbox" id="node-input-max_num_motion_103_active" class="ncd-config-toggle" data-target-id="node-input-max_num_motion_103" value="35">
|
|
5672
|
+
</div>
|
|
5673
|
+
<div>
|
|
5674
|
+
<label for="node-input-max_num_motion_103"><i class="icon-tag"></i>Value:</label>
|
|
5675
|
+
<input type="text" id="node-input-max_num_motion_103">
|
|
5676
|
+
</div>
|
|
5677
|
+
<p class="caption">
|
|
5678
|
+
Default value: 1<br>
|
|
5679
|
+
<i>Note: Setting this to a higher value will drain the battery.</i>
|
|
5680
|
+
</p>
|
|
5557
5681
|
</div>
|
|
5558
5682
|
</div>
|
|
5559
5683
|
<div class="ncd-dependent" data-sensor-270>
|
|
@@ -6412,6 +6536,220 @@
|
|
|
6412
6536
|
</div>
|
|
6413
6537
|
</div>
|
|
6414
6538
|
</div>
|
|
6539
|
+
<div class="ncd-dependent" data-sensor-545>
|
|
6540
|
+
<div class="form-row ncd-active-check">
|
|
6541
|
+
<strong>Set Temperature Unit</strong>
|
|
6542
|
+
<div>
|
|
6543
|
+
<label for="node-input-temperature_unit_545_active">Active:</label>
|
|
6544
|
+
<input type="checkbox" id="node-input-temperature_unit_545_active" class="ncd-config-toggle" data-target-id="node-input-temperature_unit_545" value="1">
|
|
6545
|
+
</div>
|
|
6546
|
+
<div>
|
|
6547
|
+
<label for="node-input-temperature_unit_545"><i class="icon-tag"></i>Value:</label>
|
|
6548
|
+
<select id="node-input-temperature_unit_545">
|
|
6549
|
+
<option value="0">Fahrenheit</option>
|
|
6550
|
+
<option value="1">celsius</option>
|
|
6551
|
+
</select>
|
|
6552
|
+
</div>
|
|
6553
|
+
</div>
|
|
6554
|
+
<div class="form-row ncd-active-check">
|
|
6555
|
+
<strong>Set Flow Unit</strong>
|
|
6556
|
+
<div>
|
|
6557
|
+
<label for="node-input-flow_unit_545_active">Active:</label>
|
|
6558
|
+
<input type="checkbox" id="node-input-flow_unit_545_active" class="ncd-config-toggle" data-target-id="node-input-flow_unit_545" value="1">
|
|
6559
|
+
</div>
|
|
6560
|
+
<div>
|
|
6561
|
+
<label for="node-input-flow_unit_545"><i class="icon-tag"></i>Value:</label>
|
|
6562
|
+
<select id="node-input-flow_unit_545">
|
|
6563
|
+
<option value="0">scf_m</option>
|
|
6564
|
+
<option value="1">scf_h</option>
|
|
6565
|
+
<option value="2">nm3_h</option>
|
|
6566
|
+
<option value="3">nm3_m</option>
|
|
6567
|
+
<option value="4">kg_h</option>
|
|
6568
|
+
<option value="5">kg_m</option>
|
|
6569
|
+
<option value="6">kg_s</option>
|
|
6570
|
+
<option value="7">lbs_h</option>
|
|
6571
|
+
<option value="8">lbs_m</option>
|
|
6572
|
+
<option value="9">lbs_s</option>
|
|
6573
|
+
<option value="10">nlp_h</option>
|
|
6574
|
+
<option value="11">nlp_m</option>
|
|
6575
|
+
<option value="12">mmscf_d</option>
|
|
6576
|
+
<option value="13">lbs_d</option>
|
|
6577
|
+
<option value="14">slp_m</option>
|
|
6578
|
+
<option value="15">nlp_s</option>
|
|
6579
|
+
<option value="16">mscf_d</option>
|
|
6580
|
+
<option value="17">sm3_h</option>
|
|
6581
|
+
<option value="18">mt_h</option>
|
|
6582
|
+
<option value="19">nm3_d</option>
|
|
6583
|
+
<option value="20">mmscf_m</option>
|
|
6584
|
+
<option value="21">scf_d</option>
|
|
6585
|
+
<option value="22">mcf_d</option>
|
|
6586
|
+
<option value="23">sm3_m</option>
|
|
6587
|
+
<option value="24">sm3_d</option>
|
|
6588
|
+
</select>
|
|
6589
|
+
</div>
|
|
6590
|
+
</div>
|
|
6591
|
+
<div class="form-row ncd-active-check">
|
|
6592
|
+
<strong>Set Gas Type</strong>
|
|
6593
|
+
<div>
|
|
6594
|
+
<label for="node-input-gas_type_545_active">Active:</label>
|
|
6595
|
+
<input type="checkbox" id="node-input-gas_type_545_active" class="ncd-config-toggle" data-target-id="node-input-gas_type_545" value="1">
|
|
6596
|
+
</div>
|
|
6597
|
+
<div>
|
|
6598
|
+
<label for="node-input-gas_type_545"><i class="icon-tag"></i>Value:</label>
|
|
6599
|
+
<select id="node-input-gas_type_545">
|
|
6600
|
+
<option value="0">Methane</option>
|
|
6601
|
+
<option value="1">CO₂</option>
|
|
6602
|
+
<option value="2">Nitrogen</option>
|
|
6603
|
+
<option value="3">Air</option>
|
|
6604
|
+
<option value="4">Natural Gas</option>
|
|
6605
|
+
<option value="5">Argon</option>
|
|
6606
|
+
<option value="6">Propane</option>
|
|
6607
|
+
<option value="7">Helium</option>
|
|
6608
|
+
<option value="8">Oxygen</option>
|
|
6609
|
+
<option value="9">Butane</option>
|
|
6610
|
+
<option value="10">Hydrogen</option>
|
|
6611
|
+
<option value="11">Ethane</option>
|
|
6612
|
+
</select>
|
|
6613
|
+
</div>
|
|
6614
|
+
</div>
|
|
6615
|
+
<div class="form-row ncd-active-check">
|
|
6616
|
+
<strong>Set Gas Type Mixture</strong>
|
|
6617
|
+
<p class="caption">
|
|
6618
|
+
Set up a mixture that can consist of anywhere from 2 up to 5 distinct gases. The total concentration of all components must sum to 100%.
|
|
6619
|
+
</p>
|
|
6620
|
+
<div>
|
|
6621
|
+
<label for="node-input-number_of_gas_type_545_active">Active:</label>
|
|
6622
|
+
<input type="checkbox" id="node-input-number_of_gas_type_545_active" class="ncd-config-toggle" data-target-id="node-input-number_of_gas_type_545" data-target-class="gas_type_mix_545" value="1">
|
|
6623
|
+
</div>
|
|
6624
|
+
<div>
|
|
6625
|
+
<label for="node-input-number_of_gas_type_545"><i class="icon-tag"></i>Gas Type Reads:</label>
|
|
6626
|
+
<select id="node-input-number_of_gas_type_545">
|
|
6627
|
+
<option value="2">2</option>
|
|
6628
|
+
<option value="3">3</option>
|
|
6629
|
+
<option value="4">4</option>
|
|
6630
|
+
<option value="5">5</option>
|
|
6631
|
+
</select>
|
|
6632
|
+
</div>
|
|
6633
|
+
<br>
|
|
6634
|
+
<div id="gas_type_list_545">
|
|
6635
|
+
<div class="form-row ncd-active-check">
|
|
6636
|
+
<div>
|
|
6637
|
+
<label for="node-input-gas_type_0_545"><i class="icon-tag"></i>Gas Type 1:</label>
|
|
6638
|
+
<select id="node-input-gas_type_0_545" class="gas_type_mix_545">
|
|
6639
|
+
<option value="0">Methane</option>
|
|
6640
|
+
<option value="1">CO₂</option>
|
|
6641
|
+
<option value="2">Nitrogen</option>
|
|
6642
|
+
<option value="3">Air</option>
|
|
6643
|
+
<option value="4">Natural Gas</option>
|
|
6644
|
+
<option value="5">Argon</option>
|
|
6645
|
+
<option value="6">Propane</option>
|
|
6646
|
+
<option value="7">Helium</option>
|
|
6647
|
+
<option value="8">Oxygen</option>
|
|
6648
|
+
<option value="9">Butane</option>
|
|
6649
|
+
<option value="10">Hydrogen</option>
|
|
6650
|
+
<option value="11">Ethane</option>
|
|
6651
|
+
</select>
|
|
6652
|
+
</div>
|
|
6653
|
+
<div>
|
|
6654
|
+
<label for="node-input-percentage_value_0_545"><i class="icon-tag"></i>Percentage 1:</label>
|
|
6655
|
+
<input type="text" id="node-input-percentage_value_0_545" class="gas_type_mix_545" placeholder="50" value="10">
|
|
6656
|
+
</div>
|
|
6657
|
+
</div>
|
|
6658
|
+
<div class="form-row ncd-active-check">
|
|
6659
|
+
<div>
|
|
6660
|
+
<label for="node-input-gas_type_1_545"><i class="icon-tag"></i>Gas Type 2:</label>
|
|
6661
|
+
<select id="node-input-gas_type_1_545" class="gas_type_mix_545">
|
|
6662
|
+
<option value="0">Methane</option>
|
|
6663
|
+
<option value="1">CO₂</option>
|
|
6664
|
+
<option value="2">Nitrogen</option>
|
|
6665
|
+
<option value="3">Air</option>
|
|
6666
|
+
<option value="4">Natural Gas</option>
|
|
6667
|
+
<option value="5">Argon</option>
|
|
6668
|
+
<option value="6">Propane</option>
|
|
6669
|
+
<option value="7">Helium</option>
|
|
6670
|
+
<option value="8">Oxygen</option>
|
|
6671
|
+
<option value="9">Butane</option>
|
|
6672
|
+
<option value="10">Hydrogen</option>
|
|
6673
|
+
<option value="11">Ethane</option>
|
|
6674
|
+
</select>
|
|
6675
|
+
</div>
|
|
6676
|
+
<div>
|
|
6677
|
+
<label for="node-input-percentage_value_1_545"><i class="icon-tag"></i>Percentage 2:</label>
|
|
6678
|
+
<input type="text" id="node-input-percentage_value_1_545" class="gas_type_mix_545" placeholder="50" value="10">
|
|
6679
|
+
</div>
|
|
6680
|
+
</div>
|
|
6681
|
+
<div class="form-row ncd-active-check">
|
|
6682
|
+
<div>
|
|
6683
|
+
<label for="node-input-gas_type_2_545"><i class="icon-tag"></i>Gas Type 3:</label>
|
|
6684
|
+
<select id="node-input-gas_type_2_545" class="gas_type_mix_545">
|
|
6685
|
+
<option value="0">Methane</option>
|
|
6686
|
+
<option value="1">CO₂</option>
|
|
6687
|
+
<option value="2">Nitrogen</option>
|
|
6688
|
+
<option value="3">Air</option>
|
|
6689
|
+
<option value="4">Natural Gas</option>
|
|
6690
|
+
<option value="5">Argon</option>
|
|
6691
|
+
<option value="6">Propane</option>
|
|
6692
|
+
<option value="7">Helium</option>
|
|
6693
|
+
<option value="8">Oxygen</option>
|
|
6694
|
+
<option value="9">Butane</option>
|
|
6695
|
+
<option value="10">Hydrogen</option>
|
|
6696
|
+
<option value="11">Ethane</option>
|
|
6697
|
+
</select>
|
|
6698
|
+
</div>
|
|
6699
|
+
<div>
|
|
6700
|
+
<label for="node-input-percentage_value_2_545"><i class="icon-tag"></i>Percentage 3:</label>
|
|
6701
|
+
<input type="text" id="node-input-percentage_value_2_545" class="gas_type_mix_545" placeholder="10" value="10">
|
|
6702
|
+
</div>
|
|
6703
|
+
</div>
|
|
6704
|
+
<div class="form-row ncd-active-check">
|
|
6705
|
+
<div>
|
|
6706
|
+
<label for="node-input-gas_type_3_545"><i class="icon-tag"></i>Gas Type 4:</label>
|
|
6707
|
+
<select id="node-input-gas_type_3_545" class="gas_type_mix_545">
|
|
6708
|
+
<option value="0">Methane</option>
|
|
6709
|
+
<option value="1">CO₂</option>
|
|
6710
|
+
<option value="2">Nitrogen</option>
|
|
6711
|
+
<option value="3">Air</option>
|
|
6712
|
+
<option value="4">Natural Gas</option>
|
|
6713
|
+
<option value="5">Argon</option>
|
|
6714
|
+
<option value="6">Propane</option>
|
|
6715
|
+
<option value="7">Helium</option>
|
|
6716
|
+
<option value="8">Oxygen</option>
|
|
6717
|
+
<option value="9">Butane</option>
|
|
6718
|
+
<option value="10">Hydrogen</option>
|
|
6719
|
+
<option value="11">Ethane</option>
|
|
6720
|
+
</select>
|
|
6721
|
+
</div>
|
|
6722
|
+
<div>
|
|
6723
|
+
<label for="node-input-percentage_value_3_545"><i class="icon-tag"></i>Percentage 4:</label>
|
|
6724
|
+
<input type="text" id="node-input-percentage_value_3_545" class="gas_type_mix_545" placeholder="10" value="10">
|
|
6725
|
+
</div>
|
|
6726
|
+
</div>
|
|
6727
|
+
<div class="form-row ncd-active-check">
|
|
6728
|
+
<div>
|
|
6729
|
+
<label for="node-input-gas_type_4_545"><i class="icon-tag"></i>Gas Type 5:</label>
|
|
6730
|
+
<select id="node-input-gas_type_4_545" class="gas_type_mix_545">
|
|
6731
|
+
<option value="0">Methane</option>
|
|
6732
|
+
<option value="1">CO₂</option>
|
|
6733
|
+
<option value="2">Nitrogen</option>
|
|
6734
|
+
<option value="3">Air</option>
|
|
6735
|
+
<option value="4">Natural Gas</option>
|
|
6736
|
+
<option value="5">Argon</option>
|
|
6737
|
+
<option value="6">Propane</option>
|
|
6738
|
+
<option value="7">Helium</option>
|
|
6739
|
+
<option value="8">Oxygen</option>
|
|
6740
|
+
<option value="9">Butane</option>
|
|
6741
|
+
<option value="10">Hydrogen</option>
|
|
6742
|
+
<option value="11">Ethane</option>
|
|
6743
|
+
</select>
|
|
6744
|
+
</div>
|
|
6745
|
+
<div>
|
|
6746
|
+
<label for="node-input-percentage_value_4_545"><i class="icon-tag"></i>Percentage 5:</label>
|
|
6747
|
+
<input type="text" id="node-input-percentage_value_4_545" class="gas_type_mix_545" placeholder="10" value="10">
|
|
6748
|
+
</div>
|
|
6749
|
+
</div>
|
|
6750
|
+
</div>
|
|
6751
|
+
</div>
|
|
6752
|
+
</div>
|
|
6415
6753
|
</div>
|
|
6416
6754
|
</div>
|
|
6417
6755
|
</script>
|