@ncd-io/node-red-enterprise-sensors 1.4.5 → 1.4.6
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/lib/WirelessGateway.js +1776 -464
- package/package.json +1 -1
- package/wireless.html +181 -14
- package/wireless.js +50 -8
package/package.json
CHANGED
package/wireless.html
CHANGED
|
@@ -843,9 +843,9 @@
|
|
|
843
843
|
flow_addr_3_536:{value:0, validate: NCD_validators.number_range(0, 255)},
|
|
844
844
|
flow_addr_4_536:{value:0, validate: NCD_validators.number_range(0, 255)},
|
|
845
845
|
oxygen_rate_536_active:{value: ""},
|
|
846
|
-
oxygen_rate_536:{value:2, validate: NCD_validators.number_range(
|
|
846
|
+
oxygen_rate_536:{value:2, validate: NCD_validators.number_range(1, 100)},
|
|
847
847
|
oxygen_timeout_536_active:{value: ""},
|
|
848
|
-
oxygen_timeout_536:{value:5, validate: NCD_validators.number_range(
|
|
848
|
+
oxygen_timeout_536:{value:5, validate: NCD_validators.number_range(1, 10)},
|
|
849
849
|
oxygen_max_threshold_s1_536_active:{value: ""},
|
|
850
850
|
oxygen_max_threshold_s1_536:{value:12, validate: NCD_validators.number_range(0, 2000)},
|
|
851
851
|
oxygen_max_threshold_s2_536_active:{value: ""},
|
|
@@ -873,7 +873,24 @@
|
|
|
873
873
|
odr_p1_543_active: {value: ""},
|
|
874
874
|
odr_p1_543: {value:0},
|
|
875
875
|
full_scale_range_543_active: {value: ""},
|
|
876
|
-
full_scale_range_543: {value: 1}
|
|
876
|
+
full_scale_range_543: {value: 1},
|
|
877
|
+
sampling_duration_p1_543_active: {value: ""},
|
|
878
|
+
sampling_duration_p1_543: {value: 18, validate: NCD_validators.number_range(1, 50)},
|
|
879
|
+
|
|
880
|
+
sensor_length_29_active: {value: ""},
|
|
881
|
+
sensor_length_29: {value:500, validate: NCD_validators.number_range(1, 10000)},
|
|
882
|
+
|
|
883
|
+
tare_value_217_active: {value: ""},
|
|
884
|
+
tare_value_217: {value: 0, validate: NCD_validators.number_range(0, 4294967295)},
|
|
885
|
+
|
|
886
|
+
rtd_wire_type_ch2_54_active: {value: ""},
|
|
887
|
+
rtd_wire_type_ch2_54: {value:1},
|
|
888
|
+
rtd_range_ch2_54_active: {value: ""},
|
|
889
|
+
rtd_range_ch2_54: {value:1},
|
|
890
|
+
rtd_wire_type_ch3_55_active: {value: ""},
|
|
891
|
+
rtd_wire_type_ch3_55: {value:1},
|
|
892
|
+
rtd_range_ch3_55_active: {value: ""},
|
|
893
|
+
rtd_range_ch3_55: {value:1}
|
|
877
894
|
},
|
|
878
895
|
inputs: 0,
|
|
879
896
|
outputs: 1,
|
|
@@ -933,7 +950,8 @@
|
|
|
933
950
|
"51": "51 - 6 Channel Current Sensor",
|
|
934
951
|
"52": "52 - 2 Channel 4-20mA Receiver",
|
|
935
952
|
"53": "53 - Air Quality CO2 and PM Sensor",
|
|
936
|
-
"54": "54 -
|
|
953
|
+
"54": "54 - 2-Channel RTD Temperature Sensor",
|
|
954
|
+
"55": "55 - 3-Channel RTD Temperature Sensor",
|
|
937
955
|
"56": "56 - 2 Channel 0-10VDC Receiver",
|
|
938
956
|
"58": "58 - Tank Level v3",
|
|
939
957
|
"60": "60 - Air Velocity, Pressure, & Temperature Sensor",
|
|
@@ -982,7 +1000,7 @@
|
|
|
982
1000
|
"114": "114 - Standalone Smart Vibration Sensor v4",
|
|
983
1001
|
"117": "117 - Custom Vibration Sensor PPV",
|
|
984
1002
|
"118": "118 - Dual Pressure and Temperature Sensor",
|
|
985
|
-
"119": "119 -
|
|
1003
|
+
"119": "119 - Machine Runtime Hour Meter",
|
|
986
1004
|
"120": "120 - Wireless H2S Sensor",
|
|
987
1005
|
"121": "121 - Wireless Wood Moisture Sensor",
|
|
988
1006
|
"122": "122 - Wireless 4-20mA Current Splitter",
|
|
@@ -1244,7 +1262,8 @@
|
|
|
1244
1262
|
<option value="51">51 - 6 Channel Current Sensor</option>
|
|
1245
1263
|
<option value="52">52 - 2 Channel 4-20mA Receiver</option>
|
|
1246
1264
|
<option value="53">53 - Air Quality CO2 and PM Sensor</option>
|
|
1247
|
-
<option value="54">54 -
|
|
1265
|
+
<option value="54">54 - 2-Channel RTD Temperature Sensor</option>
|
|
1266
|
+
<option value="55">55 - 3-Channel RTD Temperature Sensor</option>
|
|
1248
1267
|
<option value="56">56 - 2 Channel 0-10VDC Receiver</option>
|
|
1249
1268
|
<option value="58">58 - Tank Level v3</option>
|
|
1250
1269
|
<option value="60">60 - Air Velocity and Precision Pressure & Temperature Sensor</option>
|
|
@@ -1295,7 +1314,7 @@
|
|
|
1295
1314
|
<option value="114">114 - Standalone Smart Vibration Sensor v4</option>
|
|
1296
1315
|
<option value="117">117 - Custom Vibration Sensor PPV</option>
|
|
1297
1316
|
<option value="118">118 - Dual Pressure and Temperature Sensor</option>
|
|
1298
|
-
<option value="119">119 -
|
|
1317
|
+
<option value="119">119 - Machine Runtime Hour Meter</option>
|
|
1299
1318
|
<option value="120">120 - Wireless H2S Sensor</option>
|
|
1300
1319
|
<option value="121">121 - Wireless Wood Moisture Sensor</option>
|
|
1301
1320
|
<option value="122">122 - Wireless 4-20mA Current Splitter</option>
|
|
@@ -1344,7 +1363,7 @@
|
|
|
1344
1363
|
<label for="node-input-auto_config"><i class="icon-tag"></i> Auto Config</label>
|
|
1345
1364
|
<input class="section-control" type="checkbox" id="node-input-auto_config" value="1">
|
|
1346
1365
|
</div>
|
|
1347
|
-
<div class="form-row ncd-dependent" data-sensor-4 data-sensor-12 data-sensor-21 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-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>
|
|
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>
|
|
1348
1367
|
<hr>
|
|
1349
1368
|
<label for="node-input-on_the_fly_enable"><i class="icon-tag"></i> OTF Config*</label>
|
|
1350
1369
|
<input type="checkbox" id="node-input-on_the_fly_enable" value="1">
|
|
@@ -2670,6 +2689,23 @@
|
|
|
2670
2689
|
</div>
|
|
2671
2690
|
</div>
|
|
2672
2691
|
<div class="ncd-dependent" data-sensor-108 data-sensor-119>
|
|
2692
|
+
<div class="form-row ncd-active-check">
|
|
2693
|
+
<strong>Enable Accelerometer</strong>
|
|
2694
|
+
<p class="caption">
|
|
2695
|
+
This setting toggles the accelerometer sensor on or off. Disabling it is recommended for applications that does not require accelerometer.
|
|
2696
|
+
</p>
|
|
2697
|
+
<div>
|
|
2698
|
+
<label for="node-input-deactivate_activate_accelero_108_active">Active:</label>
|
|
2699
|
+
<input type="checkbox" id="node-input-deactivate_activate_accelero_108_active" class="ncd-config-toggle" data-target-id="node-input-deactivate_activate_accelero_108" value="1">
|
|
2700
|
+
</div>
|
|
2701
|
+
<div>
|
|
2702
|
+
<label for="node-input-deactivate_activate_accelero_108"><i class="icon-tag"></i>Value:</label>
|
|
2703
|
+
<select id="node-input-deactivate_activate_accelero_108">
|
|
2704
|
+
<option value="0">Disabled</option>
|
|
2705
|
+
<option value="1" selected>Enabled</option>
|
|
2706
|
+
</select>
|
|
2707
|
+
</div>
|
|
2708
|
+
</div>
|
|
2673
2709
|
<div class="form-row ncd-active-check">
|
|
2674
2710
|
<strong>Enable Accelerometer</strong>
|
|
2675
2711
|
<p class="caption">
|
|
@@ -2719,6 +2755,22 @@
|
|
|
2719
2755
|
</div>
|
|
2720
2756
|
</div>
|
|
2721
2757
|
</div>
|
|
2758
|
+
<div class="ncd-dependent" data-sensor-108 data-sensor-119>
|
|
2759
|
+
<div class="form-row ncd-active-check">
|
|
2760
|
+
<strong>Set Accelerometer Threshold</strong>
|
|
2761
|
+
<p class="caption">
|
|
2762
|
+
Sets the threshold in multiples of 32mg in which an uptime will be detected. A value of 1 = 32mg, a value of 2 = 64mg etc.
|
|
2763
|
+
</p>
|
|
2764
|
+
<div>
|
|
2765
|
+
<label for="node-input-accelerometer_threshold_108_active">Active:</label>
|
|
2766
|
+
<input type="checkbox" id="node-input-accelerometer_threshold_108_active" class="ncd-config-toggle" data-target-id="node-input-accelerometer_threshold_108" value="1">
|
|
2767
|
+
</div>
|
|
2768
|
+
<div>
|
|
2769
|
+
<label for="node-input-accelerometer_threshold_108"><i class="icon-tag"></i>Value:</label>
|
|
2770
|
+
<input type="text" id="node-input-accelerometer_threshold_108" placeholder="10" value="10">
|
|
2771
|
+
</div>
|
|
2772
|
+
</div>
|
|
2773
|
+
</div>
|
|
2722
2774
|
<div class="ncd-dependent" data-sensor-33>
|
|
2723
2775
|
<div class="form-row ncd-active-check">
|
|
2724
2776
|
<label for="node-input-clear_counter_33"><i class="icon-tag"></i>Clear Counter Value</label>
|
|
@@ -2758,8 +2810,8 @@
|
|
|
2758
2810
|
<div>
|
|
2759
2811
|
<label for="node-input-clear_timers_119"><i class="icon-tag"></i>Value:</label>
|
|
2760
2812
|
<select id="node-input-clear_timers_119">
|
|
2761
|
-
<option value="
|
|
2762
|
-
<option value="
|
|
2813
|
+
<option value="2">Magnetometer</option>
|
|
2814
|
+
<option value="1">Accelerometer</option>
|
|
2763
2815
|
</select>
|
|
2764
2816
|
</div>
|
|
2765
2817
|
</div>
|
|
@@ -3138,9 +3190,9 @@
|
|
|
3138
3190
|
<label for="node-input-push_notification_119"><i class="icon-tag"></i>Value:</label>
|
|
3139
3191
|
<select id="node-input-push_notification_119">
|
|
3140
3192
|
<option value="0" selected>Disabled</option>
|
|
3141
|
-
<option value="
|
|
3142
|
-
<option value="
|
|
3143
|
-
<option value="
|
|
3193
|
+
<option value="3">Enable All</option>
|
|
3194
|
+
<option value="1">Enable on Accelerometer</option>
|
|
3195
|
+
<option value="2">Enable on Magnetometer</option>
|
|
3144
3196
|
</select>
|
|
3145
3197
|
</div>
|
|
3146
3198
|
</div>
|
|
@@ -3573,6 +3625,24 @@
|
|
|
3573
3625
|
</div>
|
|
3574
3626
|
</div>
|
|
3575
3627
|
</div>
|
|
3628
|
+
<div class="ncd-dependent" data-sensor-543>
|
|
3629
|
+
<div class="form-row ncd-active-check">
|
|
3630
|
+
<strong>Probe 1: Sampling Duration</strong>
|
|
3631
|
+
<p>
|
|
3632
|
+
Set the amount of time in seconds which the samples are taken.<br><br>
|
|
3633
|
+
Note: The sampling duration depends on the ODR.<br><br>
|
|
3634
|
+
Valid range: 1 - 50 Secodns.
|
|
3635
|
+
</p>
|
|
3636
|
+
<div>
|
|
3637
|
+
<label for="node-input-sampling_duration_p1_543_active">Active:</label>
|
|
3638
|
+
<input type="checkbox" id="node-input-sampling_duration_p1_543_active" class="ncd-config-toggle" data-target-id="node-input-sampling_duration_p1_543" value="1">
|
|
3639
|
+
</div>
|
|
3640
|
+
<div>
|
|
3641
|
+
<label for="node-input-sampling_duration_p1_543"><i class="icon-tag"></i>Value:</label>
|
|
3642
|
+
<input type="text" id="node-input-sampling_duration_p1_543">
|
|
3643
|
+
</div>
|
|
3644
|
+
</div>
|
|
3645
|
+
</div>
|
|
3576
3646
|
<div class="ncd-dependent" data-sensor-111>
|
|
3577
3647
|
<div class="form-row ncd-active-check">
|
|
3578
3648
|
<strong>Probe 2: Sampling Duration</strong>
|
|
@@ -4943,7 +5013,7 @@
|
|
|
4943
5013
|
</div>
|
|
4944
5014
|
-->
|
|
4945
5015
|
</div>
|
|
4946
|
-
<div class="ncd-dependent" data-sensor-39>
|
|
5016
|
+
<div class="ncd-dependent" data-sensor-39 data-sensor-54 data-sensor-55>
|
|
4947
5017
|
<div class="form-row ncd-active-check">
|
|
4948
5018
|
<strong>Set RTD Wire Type</strong>
|
|
4949
5019
|
<p>The wire type of RTD Sensor Probe to be connected.</p>
|
|
@@ -5356,6 +5426,19 @@
|
|
|
5356
5426
|
<input type="text" id="node-input-weight_calib_217" placeholder="0" value="0">
|
|
5357
5427
|
</div>
|
|
5358
5428
|
</div>
|
|
5429
|
+
<div class="form-row ncd-active-check">
|
|
5430
|
+
<div>
|
|
5431
|
+
<strong>Set Tare Value</strong>
|
|
5432
|
+
</div>
|
|
5433
|
+
<div>
|
|
5434
|
+
<label for="node-input-tare_value_217_active"><i class="icon-tag"></i>Active:</label>
|
|
5435
|
+
<input type="checkbox" id="node-input-tare_value_217_active" class="ncd-config-toggle" data-target-id="node-input-tare_value_217" value="1">
|
|
5436
|
+
</div>
|
|
5437
|
+
<div>
|
|
5438
|
+
<label for="node-input-tare_value_217"><i class="icon-tag"></i> Value</label>
|
|
5439
|
+
<input type="text" id="node-input-tare_value_217" placeholder="0" value="0">
|
|
5440
|
+
</div>
|
|
5441
|
+
</div>
|
|
5359
5442
|
</div>
|
|
5360
5443
|
<div class="ncd-dependent" data-sensor-26>
|
|
5361
5444
|
<div class="form-row ncd-active-check">
|
|
@@ -6276,6 +6359,90 @@
|
|
|
6276
6359
|
</p>
|
|
6277
6360
|
</div>
|
|
6278
6361
|
</div>
|
|
6362
|
+
<div class="ncd-dependent" data-sensor-29>
|
|
6363
|
+
<div class="form-row ncd-active-check">
|
|
6364
|
+
<strong>Set Sensor Length</strong>
|
|
6365
|
+
<p>Set the Length of the Linear Displacement Sensor in Millimeters.<br>
|
|
6366
|
+
Valid range: 1 - 10,000 mm</p>
|
|
6367
|
+
<div>
|
|
6368
|
+
<label for="node-input-sensor_length_29_active">Active:</label>
|
|
6369
|
+
<input type="checkbox" id="node-input-sensor_length_29_active" class="ncd-config-toggle" data-target-id="node-input-sensor_length_29" value="1">
|
|
6370
|
+
</div>
|
|
6371
|
+
<div>
|
|
6372
|
+
<label for="node-input-sensor_length_29"><i class="icon-tag"></i>Value:</label>
|
|
6373
|
+
<input type="text" id="node-input-sensor_length_29">
|
|
6374
|
+
</div>
|
|
6375
|
+
<p class="caption">
|
|
6376
|
+
Default value: 500 mm.
|
|
6377
|
+
</p>
|
|
6378
|
+
</div>
|
|
6379
|
+
</div>
|
|
6380
|
+
<div class="ncd-dependent" data-sensor-54 data-sensor-55>
|
|
6381
|
+
<div class="form-row ncd-active-check">
|
|
6382
|
+
<strong>Set RTD Wire Type - Channel 2</strong>
|
|
6383
|
+
<p>The wire type of RTD Sensor Probe to be connected in Channel 2.</p>
|
|
6384
|
+
<div>
|
|
6385
|
+
<label for="node-input-rtd_wire_type_ch2_54_active">Active:</label>
|
|
6386
|
+
<input type="checkbox" id="node-input-rtd_wire_type_ch2_54_active" class="ncd-config-toggle" data-target-id="node-input-rtd_wire_type_ch2_54" value="1">
|
|
6387
|
+
</div>
|
|
6388
|
+
<div>
|
|
6389
|
+
<label for="node-input-rtd_wire_type_ch2_54"><i class="icon-tag"></i>Value:</label>
|
|
6390
|
+
<select id="node-input-rtd_wire_type_ch2_54">
|
|
6391
|
+
<option selected="selected" value="0">2 Wires</option>
|
|
6392
|
+
<option value="1">3 Wires</option>
|
|
6393
|
+
<option value="2">4 Wires</option>
|
|
6394
|
+
</select>
|
|
6395
|
+
</div>
|
|
6396
|
+
</div>
|
|
6397
|
+
<div class="form-row ncd-active-check">
|
|
6398
|
+
<strong>Set RTD Range - Channel 2</strong>
|
|
6399
|
+
<p>Type of PT Sensor Probe to be connected in Channel 2.</p>
|
|
6400
|
+
<div>
|
|
6401
|
+
<label for="node-input-rtd_range_ch2_54_active">Active:</label>
|
|
6402
|
+
<input type="checkbox" id="node-input-rtd_range_ch2_54_active" class="ncd-config-toggle" data-target-id="node-input-rtd_range_ch2_54" value="1">
|
|
6403
|
+
</div>
|
|
6404
|
+
<div>
|
|
6405
|
+
<label for="node-input-rtd_range_ch2_54"><i class="icon-tag"></i>Value:</label>
|
|
6406
|
+
<select id="node-input-rtd_range_ch2_54">
|
|
6407
|
+
<option selected="selected" value="0">PT 100</option>
|
|
6408
|
+
<option value="1">PT 1000</option>
|
|
6409
|
+
</select>
|
|
6410
|
+
</div>
|
|
6411
|
+
</div>
|
|
6412
|
+
</div>
|
|
6413
|
+
<div class="ncd-dependent" data-sensor-55>
|
|
6414
|
+
<div class="form-row ncd-active-check">
|
|
6415
|
+
<strong>Set RTD Wire Type - Channel 3</strong>
|
|
6416
|
+
<p>The wire type of RTD Sensor Probe to be connected in Channel 3.</p>
|
|
6417
|
+
<div>
|
|
6418
|
+
<label for="node-input-rtd_wire_type_ch3_55_active">Active:</label>
|
|
6419
|
+
<input type="checkbox" id="node-input-rtd_wire_type_ch3_55_active" class="ncd-config-toggle" data-target-id="node-input-rtd_wire_type_ch3_55" value="1">
|
|
6420
|
+
</div>
|
|
6421
|
+
<div>
|
|
6422
|
+
<label for="node-input-rtd_wire_type_ch3_55"><i class="icon-tag"></i>Value:</label>
|
|
6423
|
+
<select id="node-input-rtd_wire_type_ch3_55">
|
|
6424
|
+
<option selected="selected" value="0">2 Wires</option>
|
|
6425
|
+
<option value="1">3 Wires</option>
|
|
6426
|
+
<option value="2">4 Wires</option>
|
|
6427
|
+
</select>
|
|
6428
|
+
</div>
|
|
6429
|
+
</div>
|
|
6430
|
+
<div class="form-row ncd-active-check">
|
|
6431
|
+
<strong>Set RTD Range - Channel 3</strong>
|
|
6432
|
+
<p>Type of PT Sensor Probe to be connected in Channel 3.</p>
|
|
6433
|
+
<div>
|
|
6434
|
+
<label for="node-input-rtd_range_ch3_55_active">Active:</label>
|
|
6435
|
+
<input type="checkbox" id="node-input-rtd_range_ch3_55_active" class="ncd-config-toggle" data-target-id="node-input-rtd_range_ch3_55" value="1">
|
|
6436
|
+
</div>
|
|
6437
|
+
<div>
|
|
6438
|
+
<label for="node-input-rtd_range_ch3_55"><i class="icon-tag"></i>Value:</label>
|
|
6439
|
+
<select id="node-input-rtd_range_ch3_55">
|
|
6440
|
+
<option selected="selected" value="0">PT 100</option>
|
|
6441
|
+
<option value="1">PT 1000</option>
|
|
6442
|
+
</select>
|
|
6443
|
+
</div>
|
|
6444
|
+
</div>
|
|
6445
|
+
</div>
|
|
6279
6446
|
</div>
|
|
6280
6447
|
</div>
|
|
6281
6448
|
</script>
|
package/wireless.js
CHANGED
|
@@ -1503,6 +1503,11 @@ module.exports = function(RED) {
|
|
|
1503
1503
|
promises.change_detection_ch3 = node.config_gateway.config_set_change_detection_ch3(mac, config.change_enabled_ch3 ? 1 : 0, parseInt(config.change_pr_ch3), parseInt(config.change_interval_ch3));
|
|
1504
1504
|
}
|
|
1505
1505
|
break;
|
|
1506
|
+
case 29:
|
|
1507
|
+
if(config.sensor_length_29_active){
|
|
1508
|
+
promises.sensor_length_29 = node.config_gateway.config_set_sensor_length_29(mac, parseInt(config.sensor_length_29));
|
|
1509
|
+
}
|
|
1510
|
+
break;
|
|
1506
1511
|
case 32:
|
|
1507
1512
|
if(config.sps_skip_samples_32_active){
|
|
1508
1513
|
promises.sps_skip_samples_32 = node.config_gateway.config_set_sps_skip_samples_32(mac, parseInt(config.sps_skip_samples_32));
|
|
@@ -1683,6 +1688,40 @@ module.exports = function(RED) {
|
|
|
1683
1688
|
promises.start_sps30_fan_cleaning_53 = node.config_gateway.config_set_start_sps30_fan_cleaning_53(mac);
|
|
1684
1689
|
}
|
|
1685
1690
|
break;
|
|
1691
|
+
case 54:
|
|
1692
|
+
if(config.rtd_type_39_active){
|
|
1693
|
+
promises.rtd_type_39 = node.config_gateway.config_set_rtd_type_39(mac, parseInt(config.rtd_type_39));
|
|
1694
|
+
}
|
|
1695
|
+
if(config.rtd_range_39_active){
|
|
1696
|
+
promises.rtd_range_39 = node.config_gateway.config_set_rtd_range_39(mac, parseInt(config.rtd_range_39));
|
|
1697
|
+
}
|
|
1698
|
+
if(config.rtd_wire_type_ch2_54_active){
|
|
1699
|
+
promises.rtd_wire_type_ch2_54 = node.config_gateway.config_set_rtd_wire_type_ch2_54(mac, parseInt(config.rtd_wire_type_ch2_54));
|
|
1700
|
+
}
|
|
1701
|
+
if(config.rtd_range_ch2_54_active){
|
|
1702
|
+
promises.rtd_range_ch2_54 = node.config_gateway.config_set_rtd_range_ch2_54(mac, parseInt(config.rtd_range_ch2_54));
|
|
1703
|
+
}
|
|
1704
|
+
break;
|
|
1705
|
+
case 55:
|
|
1706
|
+
if(config.rtd_type_39_active){
|
|
1707
|
+
promises.rtd_type_39 = node.config_gateway.config_set_rtd_type_39(mac, parseInt(config.rtd_type_39));
|
|
1708
|
+
}
|
|
1709
|
+
if(config.rtd_range_39_active){
|
|
1710
|
+
promises.rtd_range_39 = node.config_gateway.config_set_rtd_range_39(mac, parseInt(config.rtd_range_39));
|
|
1711
|
+
}
|
|
1712
|
+
if(config.rtd_wire_type_ch2_54_active){
|
|
1713
|
+
promises.rtd_wire_type_ch2_54 = node.config_gateway.config_set_rtd_wire_type_ch2_54(mac, parseInt(config.rtd_wire_type_ch2_54));
|
|
1714
|
+
}
|
|
1715
|
+
if(config.rtd_range_ch2_54_active){
|
|
1716
|
+
promises.rtd_range_ch2_54 = node.config_gateway.config_set_rtd_range_ch2_54(mac, parseInt(config.rtd_range_ch2_54));
|
|
1717
|
+
}
|
|
1718
|
+
if(config.rtd_wire_type_ch3_55_active){
|
|
1719
|
+
promises.rtd_wire_type_ch3_55 = node.config_gateway.config_set_rtd_wire_type_ch3_55(mac, parseInt(config.rtd_wire_type_ch3_55));
|
|
1720
|
+
}
|
|
1721
|
+
if(config.rtd_range_ch3_55_active){
|
|
1722
|
+
promises.rtd_range_ch3_55 = node.config_gateway.config_set_rtd_range_ch3_55(mac, parseInt(config.rtd_range_ch3_55));
|
|
1723
|
+
}
|
|
1724
|
+
break;
|
|
1686
1725
|
case 56:
|
|
1687
1726
|
if(config.sensor_boot_time_420ma_active){
|
|
1688
1727
|
promises.sensor_boot_time_420ma = node.config_gateway.config_set_sensor_boot_time_420ma(mac, parseInt(config.sensor_boot_time_420ma));
|
|
@@ -2778,9 +2817,9 @@ module.exports = function(RED) {
|
|
|
2778
2817
|
}
|
|
2779
2818
|
break;
|
|
2780
2819
|
case 119:
|
|
2781
|
-
if(config.accelerometer_state_108_active){
|
|
2782
|
-
|
|
2783
|
-
}
|
|
2820
|
+
// if(config.accelerometer_state_108_active){
|
|
2821
|
+
// promises.accelerometer_state_108 = node.config_gateway.config_set_accelerometer_state_108(mac, parseInt(config.accelerometer_state_108));
|
|
2822
|
+
// }
|
|
2784
2823
|
if(config.clear_timers_119_active){
|
|
2785
2824
|
promises.clear_timers_119 = node.config_gateway.config_set_clear_timers_108(mac, parseInt(config.clear_timers_119));
|
|
2786
2825
|
}
|
|
@@ -2796,9 +2835,9 @@ module.exports = function(RED) {
|
|
|
2796
2835
|
if(config.push_notification_119_active){
|
|
2797
2836
|
promises.push_notification_119 = node.config_gateway.config_set_push_notification_108(mac, parseInt(config.push_notification_119));
|
|
2798
2837
|
}
|
|
2799
|
-
if(config.deactivate_activate_accelero_108_active){
|
|
2800
|
-
|
|
2801
|
-
}
|
|
2838
|
+
// if(config.deactivate_activate_accelero_108_active){
|
|
2839
|
+
// promises.deactivate_activate_accelero_108 = node.config_gateway.config_set_deactivate_activate_accelero_108(mac, parseInt(config.deactivate_activate_accelero_108));
|
|
2840
|
+
// }
|
|
2802
2841
|
if(config.reset_timeout_108_active){
|
|
2803
2842
|
promises.reset_timeout_108 = node.config_gateway.config_set_reset_timeout_108(mac, parseInt(config.reset_timeout_108));
|
|
2804
2843
|
}
|
|
@@ -3127,6 +3166,9 @@ module.exports = function(RED) {
|
|
|
3127
3166
|
if(config.weight_calib_217_active){
|
|
3128
3167
|
promises.weight_calib_217 = node.config_gateway.config_set_weight_calib_217(mac, parseInt(config.weight_calib_217));
|
|
3129
3168
|
}
|
|
3169
|
+
if(config.tare_value_217_active){
|
|
3170
|
+
promises.tare_value_217 = node.config_gateway.config_set_tare_value_217(mac, parseInt(config.tare_value_217));
|
|
3171
|
+
}
|
|
3130
3172
|
break;
|
|
3131
3173
|
case 270:
|
|
3132
3174
|
// if(config.do_read_rate_270_active){
|
|
@@ -3478,8 +3520,8 @@ module.exports = function(RED) {
|
|
|
3478
3520
|
if(config.enable_filtering_110_active){
|
|
3479
3521
|
promises.enable_filtering_110 = node.config_gateway.config_set_enable_filtering_110(mac, parseInt(config.enable_filtering_110));
|
|
3480
3522
|
}
|
|
3481
|
-
if(config.
|
|
3482
|
-
promises.
|
|
3523
|
+
if(config.sampling_duration_p1_543_active){
|
|
3524
|
+
promises.sampling_duration_p1_543 = node.config_gateway.config_set_sampling_duration_p1_110(mac, parseInt(config.sampling_duration_p1_543));
|
|
3483
3525
|
}
|
|
3484
3526
|
if(config.sampling_interval_110_active){
|
|
3485
3527
|
promises.sampling_interval_110 = node.config_gateway.config_set_sampling_interval_101(mac, parseInt(config.sampling_interval_110));
|