@ncd-io/node-red-enterprise-sensors 1.0.4 → 1.0.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/examples/Type 108 - Machine Uptime Monitoring Sensor/Quick Start Dashboard.json +653 -783
- package/lib/WirelessGateway.js +306 -34
- package/package.json +1 -1
- package/wireless.html +172 -20
- package/wireless.js +19 -2
- package/examples/Type 108 - Machine Uptime Monitoring Sensor/Dashboard.json +0 -1146
package/wireless.html
CHANGED
|
@@ -202,13 +202,13 @@
|
|
|
202
202
|
change_interval: {value: "0", validate: NCD_validators.number_range(0, 16712198)},
|
|
203
203
|
|
|
204
204
|
current_calibration_13_active: {value: ""},
|
|
205
|
-
current_calibration_13: {value: "606", validate: NCD_validators.number_range(0,
|
|
205
|
+
current_calibration_13: {value: "606", validate: NCD_validators.number_range(0, 42949672)},
|
|
206
206
|
|
|
207
207
|
current_calibration_ch2_19_active: {value: ""},
|
|
208
|
-
current_calibration_ch2_19: {value: "606", validate: NCD_validators.number_range(0,
|
|
208
|
+
current_calibration_ch2_19: {value: "606", validate: NCD_validators.number_range(0, 42949672)},
|
|
209
209
|
|
|
210
210
|
current_calibration_ch3_28_active: {value: ""},
|
|
211
|
-
current_calibration_ch3_28: {value: "606", validate: NCD_validators.number_range(0,
|
|
211
|
+
current_calibration_ch3_28: {value: "606", validate: NCD_validators.number_range(0, 42949672)},
|
|
212
212
|
|
|
213
213
|
bp_altitude: {value: "0", validate: NCD_validators.number_range(0, 65535)},
|
|
214
214
|
bp_pressure: {value: "0", validate: NCD_validators.number_range(0, 14000)},
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
sub_device_type_539:{value: 10, validate: NCD_validators.number_range(0, 255)},
|
|
413
413
|
|
|
414
414
|
number_of_regs_to_rd_539_active:{value:""},
|
|
415
|
-
number_of_regs_to_rd_539:{value: 1, validate: NCD_validators.number_range(0,
|
|
415
|
+
number_of_regs_to_rd_539:{value: 1, validate: NCD_validators.number_range(0, 32)},
|
|
416
416
|
|
|
417
417
|
register_value_0_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
418
418
|
register_value_1_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
@@ -424,6 +424,35 @@
|
|
|
424
424
|
register_value_7_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
425
425
|
register_value_8_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
426
426
|
register_value_9_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
427
|
+
register_value_10_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
428
|
+
register_value_11_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
429
|
+
register_value_12_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
430
|
+
register_value_13_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
431
|
+
register_value_14_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
432
|
+
register_value_15_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
433
|
+
register_value_16_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
434
|
+
register_value_17_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
435
|
+
register_value_18_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
436
|
+
register_value_19_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
437
|
+
register_value_20_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
438
|
+
register_value_21_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
439
|
+
register_value_22_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
440
|
+
register_value_23_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
441
|
+
register_value_24_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
442
|
+
register_value_25_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
443
|
+
register_value_26_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
444
|
+
register_value_27_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
445
|
+
register_value_28_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
446
|
+
register_value_29_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
447
|
+
register_value_30_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
448
|
+
register_value_31_539: {value: 0, validate: NCD_validators.number_range(0, 65535)},
|
|
449
|
+
|
|
450
|
+
number_of_read_retries_539_active:{value:""},
|
|
451
|
+
number_of_read_retries_539:{value: 1, validate: NCD_validators.number_range(1, 3)},
|
|
452
|
+
|
|
453
|
+
read_parameter_539_active:{value:""},
|
|
454
|
+
read_parameter_539:{value: 3},
|
|
455
|
+
|
|
427
456
|
//config_set_reg_active_539:{value:""},
|
|
428
457
|
//config_set_reg_539:{value:50, validate: NCD_validators.number_range(0, 65534)},
|
|
429
458
|
|
|
@@ -443,7 +472,20 @@
|
|
|
443
472
|
smart_interval_110: {value: 0, validate: NCD_validators.number_range(0, 255)},
|
|
444
473
|
|
|
445
474
|
smart_threshold_110_active:{value:""},
|
|
446
|
-
smart_threshold_110: {value:0, validate: NCD_validators.number_range(0, 65534)}
|
|
475
|
+
smart_threshold_110: {value:0, validate: NCD_validators.number_range(0, 65534)},
|
|
476
|
+
|
|
477
|
+
rx485_timeout_1011_active:{value:""},
|
|
478
|
+
rx485_timeout_1011:{value: 0, validate: NCD_validators.number_range(0, 255)},
|
|
479
|
+
|
|
480
|
+
mode_1011_active:{value:""},
|
|
481
|
+
mode_1011:{value: 0},
|
|
482
|
+
|
|
483
|
+
auto_address_timeout_1011_active:{value:""},
|
|
484
|
+
auto_address_timeout_1011:{value:0, validate: NCD_validators.number_range(0, 65534)},
|
|
485
|
+
|
|
486
|
+
mode_531_active: {value: ""},
|
|
487
|
+
mode_531: {value: 0}
|
|
488
|
+
|
|
447
489
|
},
|
|
448
490
|
inputs: 0,
|
|
449
491
|
outputs: 1,
|
|
@@ -505,6 +547,7 @@
|
|
|
505
547
|
"53": "53 - Air Quality CO2 and PM Sensor",
|
|
506
548
|
"54": "54 - 3 Channel RTD",
|
|
507
549
|
"56": "56 - 2 Channel 0-10VDC Receiver",
|
|
550
|
+
"58": "58 - Tank Level v3",
|
|
508
551
|
"60": "60 - Air Velocity, Pressure, & Temperature Sensor",
|
|
509
552
|
"61": "61 - pH Temperature Sensor",
|
|
510
553
|
"62": "62 - ORP Temperature Sensor",
|
|
@@ -793,6 +836,7 @@
|
|
|
793
836
|
<option value="53">53 - Air Quality CO2 and PM Sensor</option>
|
|
794
837
|
<option value="54">54 - 3 Channel RTD</option>
|
|
795
838
|
<option value="56">56 - 2 Channel 0-10VDC Receiver</option>
|
|
839
|
+
<option value="58">58 - Tank Level v3</option>
|
|
796
840
|
<option value="60">60 - Air Velocity and Precision Pressure & Temperature Sensor</option>
|
|
797
841
|
<option value="61">61 - pH Temperature Sensor</option>
|
|
798
842
|
<option value="62">62 - ORP Temperature Sensor</option>
|
|
@@ -868,7 +912,7 @@
|
|
|
868
912
|
<label for="node-input-auto_config"><i class="icon-tag"></i> Auto Config</label>
|
|
869
913
|
<input class="section-control" type="checkbox" id="node-input-auto_config" value="1">
|
|
870
914
|
</div>
|
|
871
|
-
<div class="form-row ncd-dependent" data-sensor-23 data-sensor-26 data-sensor-39 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-76 data-sensor-78 data-sensor-79 data-sensor-80 data-sensor-81 data-sensor-82 data-sensor-84 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-91 data-sensor-101 data-sensor-102 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-108 data-sensor-110 data-sensor-111 data-sensor-112 data-sensor-114 data-sensor-180 data-sensor-181 data-sensor-519 data-sensor-520 data-sensor-521 data-sensor-531 data-sensor-535 data-sensor-537 data-sensor-538 data-sensor-539 data-sensor-540 data-sensor-1010 data-sensor-1011>
|
|
915
|
+
<div class="form-row ncd-dependent" data-sensor-23 data-sensor-26 data-sensor-39 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-58 data-sensor-76 data-sensor-78 data-sensor-79 data-sensor-80 data-sensor-81 data-sensor-82 data-sensor-84 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-91 data-sensor-101 data-sensor-102 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-108 data-sensor-110 data-sensor-111 data-sensor-112 data-sensor-114 data-sensor-180 data-sensor-181 data-sensor-519 data-sensor-520 data-sensor-521 data-sensor-531 data-sensor-535 data-sensor-537 data-sensor-538 data-sensor-539 data-sensor-540 data-sensor-1010 data-sensor-1011>
|
|
872
916
|
<hr>
|
|
873
917
|
<label for="node-input-on_the_fly_enable"><i class="icon-tag"></i> OTF Config*</label>
|
|
874
918
|
<input type="checkbox" id="node-input-on_the_fly_enable" value="1">
|
|
@@ -993,7 +1037,7 @@
|
|
|
993
1037
|
<input type="checkbox" id="node-input-current_calibration_13_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_13_active" value="1">
|
|
994
1038
|
</div>
|
|
995
1039
|
<div>
|
|
996
|
-
<label for="node-input-current_calibration_13"><i class="icon-tag"></i>
|
|
1040
|
+
<label for="node-input-current_calibration_13"><i class="icon-tag"></i> Value:</label>
|
|
997
1041
|
<input type="text" id="node-input-current_calibration_13">
|
|
998
1042
|
</div>
|
|
999
1043
|
</div>
|
|
@@ -1006,7 +1050,7 @@
|
|
|
1006
1050
|
<input type="checkbox" id="node-input-current_calibration_ch2_19_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_ch2_19_active" value="1">
|
|
1007
1051
|
</div>
|
|
1008
1052
|
<div>
|
|
1009
|
-
<label for="node-input-current_calibration_ch2_19"><i class="icon-tag"></i>
|
|
1053
|
+
<label for="node-input-current_calibration_ch2_19"><i class="icon-tag"></i> Value:</label>
|
|
1010
1054
|
<input type="text" id="node-input-current_calibration_ch2_19">
|
|
1011
1055
|
</div>
|
|
1012
1056
|
</div>
|
|
@@ -1019,7 +1063,7 @@
|
|
|
1019
1063
|
<input type="checkbox" id="node-input-current_calibration_ch3_28_active" class="ncd-config-toggle" data-target-id="node-input-current_calibration_ch3_28_active" value="1">
|
|
1020
1064
|
</div>
|
|
1021
1065
|
<div>
|
|
1022
|
-
<label for="node-input-current_calibration_ch3_28"><i class="icon-tag"></i>
|
|
1066
|
+
<label for="node-input-current_calibration_ch3_28"><i class="icon-tag"></i> Value:</label>
|
|
1023
1067
|
<input type="text" id="node-input-current_calibration_ch3_28">
|
|
1024
1068
|
</div>
|
|
1025
1069
|
</div>
|
|
@@ -2028,7 +2072,7 @@
|
|
|
2028
2072
|
</div>
|
|
2029
2073
|
</div>
|
|
2030
2074
|
<div class="form-row ncd-active-check">
|
|
2031
|
-
<strong>Set
|
|
2075
|
+
<strong>Set Contact Closure Detection</strong>
|
|
2032
2076
|
<div>
|
|
2033
2077
|
<label for="node-input-input_one_108_active">Active:</label>
|
|
2034
2078
|
<input type="checkbox" id="node-input-input_one_108_active" class="ncd-config-toggle" data-target-id="node-input-input_one_108" value="1">
|
|
@@ -2036,13 +2080,13 @@
|
|
|
2036
2080
|
<div>
|
|
2037
2081
|
<label for="node-input-input_one_108"><i class="icon-tag"></i>Value:</label>
|
|
2038
2082
|
<select id="node-input-input_one_108">
|
|
2039
|
-
<option value="0">Falling Edge
|
|
2040
|
-
<option value="1">Rising Edge
|
|
2083
|
+
<option value="0">Falling Edge Trigger</option>
|
|
2084
|
+
<option value="1" selected>Rising Edge Trigger</option>
|
|
2041
2085
|
</select>
|
|
2042
2086
|
</div>
|
|
2043
2087
|
</div>
|
|
2044
2088
|
<div class="form-row ncd-active-check">
|
|
2045
|
-
<strong>Set
|
|
2089
|
+
<strong>Set Current Transducer Detection</strong>
|
|
2046
2090
|
<div>
|
|
2047
2091
|
<label for="node-input-input_two_108_active">Active:</label>
|
|
2048
2092
|
<input type="checkbox" id="node-input-input_two_108_active" class="ncd-config-toggle" data-target-id="node-input-input_two_108" value="1">
|
|
@@ -2050,13 +2094,13 @@
|
|
|
2050
2094
|
<div>
|
|
2051
2095
|
<label for="node-input-input_two_108"><i class="icon-tag"></i>Value:</label>
|
|
2052
2096
|
<select id="node-input-input_two_108">
|
|
2053
|
-
<option value="0">Falling Edge
|
|
2054
|
-
<option value="1">Rising Edge
|
|
2097
|
+
<option value="0">Falling Edge Trigger</option>
|
|
2098
|
+
<option value="1" selected>Rising Edge Trigger</option>
|
|
2055
2099
|
</select>
|
|
2056
2100
|
</div>
|
|
2057
2101
|
</div>
|
|
2058
2102
|
<div class="form-row ncd-active-check">
|
|
2059
|
-
<strong>Set
|
|
2103
|
+
<strong>Set Wet Contact/Optical Sensor Detection</strong>
|
|
2060
2104
|
<div>
|
|
2061
2105
|
<label for="node-input-input_three_108_active">Active:</label>
|
|
2062
2106
|
<input type="checkbox" id="node-input-input_three_108_active" class="ncd-config-toggle" data-target-id="node-input-input_three_108" value="1">
|
|
@@ -2064,8 +2108,8 @@
|
|
|
2064
2108
|
<div>
|
|
2065
2109
|
<label for="node-input-input_three_108"><i class="icon-tag"></i>Value:</label>
|
|
2066
2110
|
<select id="node-input-input_three_108">
|
|
2067
|
-
<option value="0">Falling Edge
|
|
2068
|
-
<option value="1">Rising Edge
|
|
2111
|
+
<option value="0" selected>Falling Edge Trigger</option>
|
|
2112
|
+
<option value="1">Rising Edge Trigger</option>
|
|
2069
2113
|
</select>
|
|
2070
2114
|
</div>
|
|
2071
2115
|
</div>
|
|
@@ -2211,6 +2255,8 @@
|
|
|
2211
2255
|
</select>
|
|
2212
2256
|
</div>
|
|
2213
2257
|
</div>
|
|
2258
|
+
</div>
|
|
2259
|
+
<div class="ncd-dependent" data-sensor-539>
|
|
2214
2260
|
<div class="form-row ncd-active-check">
|
|
2215
2261
|
<strong>Set Rx Timeout</strong>
|
|
2216
2262
|
<div>
|
|
@@ -2222,8 +2268,47 @@
|
|
|
2222
2268
|
<input type="text" id="node-input-rx_timeout_539" placeholder="10" value="10">
|
|
2223
2269
|
</div>
|
|
2224
2270
|
</div>
|
|
2225
|
-
</div>
|
|
2226
|
-
<div class="ncd-dependent" data-sensor-
|
|
2271
|
+
</div>
|
|
2272
|
+
<div class="ncd-dependent" data-sensor-1011>
|
|
2273
|
+
<div class="form-row ncd-active-check">
|
|
2274
|
+
<strong>Set rs485 Timeout</strong>
|
|
2275
|
+
<div>
|
|
2276
|
+
<label for="node-input-rx485_timeout_1011_active">Active:</label>
|
|
2277
|
+
<input type="checkbox" id="node-input-rx485_timeout_1011_active" class="ncd-config-toggle" data-target-id="node-input-rx485_timeout_1011" value="1">
|
|
2278
|
+
</div>
|
|
2279
|
+
<div>
|
|
2280
|
+
<label for="node-input-rx485_timeout_1011"><i class="icon-tag"></i>Value:</label>
|
|
2281
|
+
<input type="text" id="node-input-rx485_timeout_1011" placeholder="10" value="10">
|
|
2282
|
+
</div>
|
|
2283
|
+
</div>
|
|
2284
|
+
<div class="form-row ncd-active-check">
|
|
2285
|
+
<strong>Set Mode</strong>
|
|
2286
|
+
<div>
|
|
2287
|
+
<label for="node-input-mode_1011_active">Active:</label>
|
|
2288
|
+
<input type="checkbox" id="node-input-mode_1011_active" class="ncd-config-toggle" data-target-id="node-input-mode_1011" value="1">
|
|
2289
|
+
</div>
|
|
2290
|
+
<div>
|
|
2291
|
+
<label for="node-input-mode_1011"><i class="icon-tag"></i>Value:</label>
|
|
2292
|
+
<select id="node-input-mode_1011">
|
|
2293
|
+
<option selected="selected" value="0">Auto Encoder</option>
|
|
2294
|
+
<option value="1">Transparent</option>
|
|
2295
|
+
<option value="2">NCD Emulator</option>
|
|
2296
|
+
</select>
|
|
2297
|
+
</div>
|
|
2298
|
+
</div>
|
|
2299
|
+
<div class="form-row ncd-active-check">
|
|
2300
|
+
<strong>Set Auto Address Timeout</strong>
|
|
2301
|
+
<div>
|
|
2302
|
+
<label for="node-input-auto_address_timeout_1011_active">Active:</label>
|
|
2303
|
+
<input type="checkbox" id="node-input-auto_address_timeout_1011_active" class="ncd-config-toggle" data-target-id="node-input-rauto_address_timeout_1011" value="1">
|
|
2304
|
+
</div>
|
|
2305
|
+
<div>
|
|
2306
|
+
<label for="node-input-auto_address_timeout_1011"><i class="icon-tag"></i>Value:</label>
|
|
2307
|
+
<input type="text" id="node-input-auto_address_timeout_1011" placeholder="10" value="10">
|
|
2308
|
+
</div>
|
|
2309
|
+
</div>
|
|
2310
|
+
</div>
|
|
2311
|
+
<div class="ncd-dependent" data-sensor-539>
|
|
2227
2312
|
<div class="form-row ncd-active-check">
|
|
2228
2313
|
<strong>Set Bootup Time</strong>
|
|
2229
2314
|
<div>
|
|
@@ -2257,6 +2342,34 @@
|
|
|
2257
2342
|
<input type="text" id="node-input-sub_device_type_539" placeholder="10" value="10">
|
|
2258
2343
|
</div>
|
|
2259
2344
|
</div>
|
|
2345
|
+
<div class="form-row ncd-active-check">
|
|
2346
|
+
<strong>Set Number of Read Retries</strong>
|
|
2347
|
+
<p class="caption">
|
|
2348
|
+
Range: 1 to 3.
|
|
2349
|
+
</p>
|
|
2350
|
+
<div>
|
|
2351
|
+
<label for="node-input-number_of_read_retries_539_active">Active:</label>
|
|
2352
|
+
<input type="checkbox" id="node-input-number_of_read_retries_539_active" class="ncd-config-toggle" data-target-id="node-input-number_of_read_retries_539" value="1">
|
|
2353
|
+
</div>
|
|
2354
|
+
<div>
|
|
2355
|
+
<label for="node-input-number_of_read_retries_539"><i class="icon-tag"></i>Value:</label>
|
|
2356
|
+
<input type="text" id="node-input-number_of_read_retries_539" placeholder="1" value="1">
|
|
2357
|
+
</div>
|
|
2358
|
+
</div>
|
|
2359
|
+
<div class="form-row ncd-active-check">
|
|
2360
|
+
<strong>Set Read Parameter</strong>
|
|
2361
|
+
<div>
|
|
2362
|
+
<label for="node-input-read_parameter_539_active">Active:</label>
|
|
2363
|
+
<input type="checkbox" id="node-input-read_parameter_539_active" class="ncd-config-toggle" data-target-id="node-input-read_parameter_539" value="1">
|
|
2364
|
+
</div>
|
|
2365
|
+
<div>
|
|
2366
|
+
<label for="node-input-read_parameter_539"><i class="icon-tag"></i>Value:</label>
|
|
2367
|
+
<select id="node-input-read_parameter_539">
|
|
2368
|
+
<option selected="selected" value="3">Read Holding Register 0x03</option>
|
|
2369
|
+
<option value="4">Read Input Register 0x04</option>
|
|
2370
|
+
</select>
|
|
2371
|
+
</div>
|
|
2372
|
+
</div>
|
|
2260
2373
|
<div class="form-row ncd-active-check">
|
|
2261
2374
|
<strong>Set Read Registers</strong>
|
|
2262
2375
|
<p class="caption">
|
|
@@ -2280,6 +2393,27 @@
|
|
|
2280
2393
|
<option value="8">8</option>
|
|
2281
2394
|
<option value="9">9</option>
|
|
2282
2395
|
<option value="10">10</option>
|
|
2396
|
+
<option value="11">11</option>
|
|
2397
|
+
<option value="12">12</option>
|
|
2398
|
+
<option value="13">13</option>
|
|
2399
|
+
<option value="14">14</option>
|
|
2400
|
+
<option value="15">15</option>
|
|
2401
|
+
<option value="16">16</option>
|
|
2402
|
+
<option value="17">17</option>
|
|
2403
|
+
<option value="18">18</option>
|
|
2404
|
+
<option value="19">19</option>
|
|
2405
|
+
<option value="20">20</option>
|
|
2406
|
+
<option value="21">21</option>
|
|
2407
|
+
<option value="22">22</option>
|
|
2408
|
+
<option value="23">23</option>
|
|
2409
|
+
<option value="24">24</option>
|
|
2410
|
+
<option value="25">25</option>
|
|
2411
|
+
<option value="26">26</option>
|
|
2412
|
+
<option value="27">27</option>
|
|
2413
|
+
<option value="28">28</option>
|
|
2414
|
+
<option value="29">29</option>
|
|
2415
|
+
<option value="30">30</option>
|
|
2416
|
+
<option value="31">31</option>
|
|
2283
2417
|
</select>
|
|
2284
2418
|
</div>
|
|
2285
2419
|
<hr>
|
|
@@ -2418,6 +2552,24 @@
|
|
|
2418
2552
|
</div>
|
|
2419
2553
|
</div>
|
|
2420
2554
|
</div>
|
|
2555
|
+
<div class="ncd-dependent" data-sensor-531>
|
|
2556
|
+
<hr>
|
|
2557
|
+
<div class="form-row ncd-active-check">
|
|
2558
|
+
<strong>Mode</strong>
|
|
2559
|
+
<p>WARNING: If Mode is set to Raw it is recommended to also set the Destination Address configuration to the address of your Receiver/Gateway.</p>
|
|
2560
|
+
<div>
|
|
2561
|
+
<label for="node-input-mode_531_active"><i class="icon-tag"></i>Active:</label>
|
|
2562
|
+
<input type="checkbox" id="node-input-mode_531_active" class="ncd-config-toggle" data-target-id="node-input-mode_531" value="1">
|
|
2563
|
+
</div>
|
|
2564
|
+
<div>
|
|
2565
|
+
<label for="node-input-mode_531"><i class="icon-tag"></i>Value:</label>
|
|
2566
|
+
<select id="node-input-mode_531">
|
|
2567
|
+
<option selected="selected" value="0">Processed</option>
|
|
2568
|
+
<option value="1">Raw</option>
|
|
2569
|
+
</select>
|
|
2570
|
+
</div>
|
|
2571
|
+
</div>
|
|
2572
|
+
</div>
|
|
2421
2573
|
</div>
|
|
2422
2574
|
</div>
|
|
2423
2575
|
</script>
|
package/wireless.js
CHANGED
|
@@ -1877,6 +1877,11 @@ module.exports = function(RED) {
|
|
|
1877
1877
|
promises.set_rtc_101 = node.config_gateway.config_set_rtc_101(mac);
|
|
1878
1878
|
}
|
|
1879
1879
|
break;
|
|
1880
|
+
case 531:
|
|
1881
|
+
if(config.mode_531_active){
|
|
1882
|
+
promises.mode_531 = node.config_gateway.config_set_operation_mode_531(mac, parseInt(config.mode_531));
|
|
1883
|
+
}
|
|
1884
|
+
break;
|
|
1880
1885
|
case 535:
|
|
1881
1886
|
if(config.force_calibration_co2_535_active){
|
|
1882
1887
|
promises.force_calibration_co2_535 = node.config_gateway.config_set_sensor_forced_calibration_535(mac);
|
|
@@ -2007,6 +2012,12 @@ module.exports = function(RED) {
|
|
|
2007
2012
|
if(config.sub_device_type_539_active){
|
|
2008
2013
|
promises.sub_device_type_539 = node.config_gateway.config_set_sub_device_type_539(mac, parseInt(config.sub_device_type_539));
|
|
2009
2014
|
}
|
|
2015
|
+
if(config.number_of_read_retries_539_active){
|
|
2016
|
+
promises.number_of_read_retries_539 = node.config_gateway.config_set_number_of_read_retries_539(mac, parseInt(config.number_of_read_retries_539));
|
|
2017
|
+
}
|
|
2018
|
+
if(config.read_parameter_539_active){
|
|
2019
|
+
promises.read_parameter_539 = node.config_gateway.config_set_read_parameter_539(mac, parseInt(config.read_parameter_539));
|
|
2020
|
+
}
|
|
2010
2021
|
if(config.number_of_regs_to_rd_539_active){
|
|
2011
2022
|
let register_array = [];
|
|
2012
2023
|
for(let ind = 0; ind < config.number_of_regs_to_rd_539; ind++){
|
|
@@ -2061,8 +2072,14 @@ module.exports = function(RED) {
|
|
|
2061
2072
|
if(config.baudrate_539_active){
|
|
2062
2073
|
promises.baudrate_539 = node.config_gateway.config_set_baudrate_539(mac, parseInt(config.baudrate_539));
|
|
2063
2074
|
}
|
|
2064
|
-
if(config.
|
|
2065
|
-
promises.
|
|
2075
|
+
if(config.rx485_timeout_1011_active){
|
|
2076
|
+
promises.rx485_timeout_1011 = node.config_gateway.config_set_rx485_timeout_1011(mac, parseInt(config.rx485_timeout_1011));
|
|
2077
|
+
}
|
|
2078
|
+
if(config.mode_1011_active){
|
|
2079
|
+
promises.mode_1011 = node.config_gateway.config_set_mode_1011(mac, parseInt(config.mode_1011));
|
|
2080
|
+
}
|
|
2081
|
+
if(config.auto_address_timeout_1011_active){
|
|
2082
|
+
promises.auto_address_timeout_1011 = node.config_gateway.config_set_auto_address_timeout_1011(mac, parseInt(config.auto_address_timeout_1011));
|
|
2066
2083
|
}
|
|
2067
2084
|
break;
|
|
2068
2085
|
}
|