@ncd-io/node-red-enterprise-sensors 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ncd-io/node-red-enterprise-sensors",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -38,6 +38,6 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "ncd-red-comm": "2.0.0"
41
+ "ncd-red-comm": "2.0.3"
42
42
  }
43
43
  }
package/wireless.html CHANGED
@@ -506,7 +506,6 @@
506
506
  auto_raw_destination_110_active:{value:""},
507
507
  auto_raw_destination_110: {value: '0000FFFF', validate: NCD_validators.number_range(0, 0xFFFFFFFF, 16)},//(0 - 0xFFFFFFFF)
508
508
 
509
- clear_probe_uptimers_110_active:{value:""},
510
509
  clear_probe_uptimers_110: {value:0},
511
510
 
512
511
  smart_interval_110_active:{value:""},
@@ -514,6 +513,8 @@
514
513
 
515
514
  smart_threshold_110_active:{value:""},
516
515
  smart_threshold_110: {value: 1, validate: NCD_validators.number_range(1, 65534, 10, "smart_threshold_110")},
516
+ smart_threshold_p2_110_active:{value:""},
517
+ smart_threshold_p2_110: {value: 1, validate: NCD_validators.number_range(1, 65534, 10, "smart_threshold_110")},
517
518
 
518
519
  rx485_timeout_1011_active:{value:""},
519
520
  rx485_timeout_1011:{value: 0, validate: NCD_validators.number_range(0, 255)},
@@ -560,8 +561,6 @@
560
561
  sampling_interval_110_active:{value: ""},
561
562
  sampling_interval_110: {value: 1, validate: NCD_validators.number_range(0, 8)},
562
563
 
563
- qos_108_active:{value: ""},
564
- qos_108: {value: 0},
565
564
  deactivate_activate_accelero_108_active: {value: ""},
566
565
  deactivate_activate_accelero_108: {value: 0},
567
566
  reset_timeout_108_active:{value: ""},
@@ -586,7 +585,38 @@
586
585
  rtd_type_39:{value:0},
587
586
 
588
587
  rtd_range_39_active:{value: ""},
589
- rtd_range_39:{value:0}
588
+ rtd_range_39:{value:0},
589
+
590
+ pressure_sensor_fs_ch1_118_active:{value: ""},
591
+ pressure_sensor_fs_ch1_118:{value:0},
592
+ pressure_sensor_fs_ch2_118_active:{value: ""},
593
+ pressure_sensor_fs_ch2_118:{value:0},
594
+ auto_check_interval_118_active:{value: ""},
595
+ auto_check_interval_118:{value: 0, validate: NCD_validators.number_range(0, 65000)},
596
+ press_auto_check_percent_118_active:{value: ""},
597
+ press_auto_check_percent_118:{value: 0, validate: NCD_validators.number_range(0, 100)},
598
+ temp_auto_check_percent_118_active:{value: ""},
599
+ temp_auto_check_percent_118:{value: 0, validate: NCD_validators.number_range(0, 100)},
600
+
601
+ raw_length_97_active:{value: ""},
602
+ raw_length_97:{value:3, validate: NCD_validators.number_range(0, 3)},
603
+ raw_timeout_97_active:{value: ""},
604
+ raw_timeout_97:{value: 0, validate: NCD_validators.number_range(0, 10)},
605
+ fly_rate_97_active:{value: ""},
606
+ fly_rate_97:{value: 0},
607
+ boot_up_time_97_active:{value: ""},
608
+ boot_up_time_97:{value: 0, validate: NCD_validators.number_range(0, 255)},
609
+
610
+ filter_thermocouple_active:{value: ""},
611
+ filter_thermocouple:{value:0},
612
+ cold_junction_thermocouple_active:{value: ""},
613
+ cold_junction_thermocouple:{value:0},
614
+ sample_resolution_thermocouple_active:{value: ""},
615
+ sample_resolution_thermocouple:{value:0},
616
+ number_of_samples_thermocouple_active:{value: ""},
617
+ number_of_samples_thermocouple:{value:0},
618
+ measurement_type_thermocouple_active:{value: ""},
619
+ measurement_type_thermocouple:{value:0}
590
620
  },
591
621
  inputs: 0,
592
622
  outputs: 1,
@@ -661,7 +691,7 @@
661
691
  // "70": "70 - 2 Channel Soil Moisture Temperature and EC Sensor",
662
692
  "71": "71 - 3 Channel Soil Moisture Temperature and EC Sensor",
663
693
  "72": "72 - SDI Soil Moisture Temperature Moisture Probe",
664
- "74": "74 - Wireless Temp Humidity Pressure Air quality Sensor",
694
+ "74": "74 - Wireless Temp Humidity Pressure Air quality Sensor V2",
665
695
  "75": "75 - Siemens Air Velocity Probe",
666
696
  "76": "76 - Wireless CO Gas Sensor",
667
697
  "77": "77 - 3 Channel SDI Soil Moisture Temperature Moisture Probe",
@@ -679,6 +709,8 @@
679
709
  "92": "92 - Sound Sensor",
680
710
  "95": "95 - 16-Bit 1-Channel 0-24VDC Receiver",
681
711
  "96": "96 - 16-Bit 1-Channel 0-48VDC Receiver",
712
+ "97": "97 - One channel Dynamic Ultrasound vibration Sensor",
713
+ "98": "98 - Two channel Dynamic Ultrasound vibration Sensor",
682
714
  "101": "101 - Pro Vibration",
683
715
  "102": "102 - Strain Gauge",
684
716
  "105": "105 - 1 Channel Automatic Luber With Ultrasound Vibration Sensor",
@@ -689,6 +721,7 @@
689
721
  "111": "111 - Two Channel Vibration Plus v4",
690
722
  "112": "112 - Condition Based/Predictive Maintenance Sensor v4",
691
723
  "114": "114 - Standalone Smart Vibration Sensor v4",
724
+ "118": "118 - Dual Pressure and Temperature Sensor",
692
725
  "180": "180 - C1D2 One Channel Vibration Plus",
693
726
  "181": "181 - C1D2 Two Channel Vibration Plus",
694
727
  "200": "200 - 4-20mA Pass Through",
@@ -955,7 +988,7 @@
955
988
  -->
956
989
  <option value="71">71 - 3 Channel Soil Moisture Temperature and EC Sensor</option>
957
990
  <option value="72">72 - SDI-12 Wireless</option>
958
- <option value="74">74 - Wireless Temp Humidity Pressure Air quality Sensor</option>
991
+ <option value="74">74 - Wireless Temp Humidity Pressure Air quality Sensor V2</option>
959
992
  <option value="75">75 - Siemens Air Velocity Probe</option>
960
993
  <option value="76">76 - Wireless CO Gas Sensor</option>
961
994
  <option value="77">77 - 3 Channel SDI Soil Moisture Temperature Moisture Probe</option>
@@ -973,6 +1006,8 @@
973
1006
  <option value="92">92 - Sound Sensor</option>
974
1007
  <option value="95">95 - 16-Bit 1-Channel 0-24VDC Receiver</option>
975
1008
  <option value="96">96 - 16-Bit 1-Channel 0-48VDC Receiver</option>
1009
+ <option value="97">97 - One channel Dynamic Ultrasound vibration Sensor</option>
1010
+ <option value="98">98 - Two channel Dynamic Ultrasound vibration Sensor</option>
976
1011
  <option value="101">101 - Pro Vibration</option>
977
1012
  <option value="102">102 - Strain Gauge</option>
978
1013
  <option value="105">105 - 1 Channel Automatic Luber With Ultrasound Vibration Sensor</option>
@@ -983,6 +1018,7 @@
983
1018
  <option value="111">111 - Two Channel Vibration Plus v4</option>
984
1019
  <option value="112">112 - Condition Based/Predictive Maintenance Sensor v4</option>
985
1020
  <option value="114">114 - Standalone Smart Vibration Sensor v4</option>
1021
+ <option value="118">118 - Dual Pressure and Temperature Sensor</option>
986
1022
  <option value="180">180 - C1D2 One Channel Vibration Plus</option>
987
1023
  <option value="181">181 - C1D2 Two Channel Vibration Plus</option>
988
1024
  <option value="200">200 - 4-20mA Pass Through</option>
@@ -1019,7 +1055,7 @@
1019
1055
  <label for="node-input-auto_config"><i class="icon-tag"></i> Auto Config</label>
1020
1056
  <input class="section-control" type="checkbox" id="node-input-auto_config" value="1">
1021
1057
  </div>
1022
- <div class="form-row ncd-dependent" 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-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-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-202 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>
1058
+ <div class="form-row ncd-dependent" 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-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-105 data-sensor-106 data-sensor-107 data-sensor-108 data-sensor-110 data-sensor-111 data-sensor-112 data-sensor-114 data-sensor-118 data-sensor-180 data-sensor-181 data-sensor-202 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>
1023
1059
  <hr>
1024
1060
  <label for="node-input-on_the_fly_enable"><i class="icon-tag"></i> OTF Config*</label>
1025
1061
  <input type="checkbox" id="node-input-on_the_fly_enable" value="1">
@@ -1214,7 +1250,7 @@
1214
1250
  </div>
1215
1251
  -->
1216
1252
  </div>
1217
- <div class="ncd-dependent" data-sensor-3 data-sensor-10 data-sensor-13 data-sensor-28>
1253
+ <div class="ncd-dependent" data-sensor-3 data-sensor-10 data-sensor-13 data-sensor-19 data-sensor-28>
1218
1254
  <div class="form-row ncd-active-check">
1219
1255
  <strong>Percentage Change Detection - Channel 1</strong>
1220
1256
  <div>
@@ -1235,7 +1271,7 @@
1235
1271
  </div>
1236
1272
  </div>
1237
1273
  </div>
1238
- <div class="ncd-dependent" data-sensor-28>
1274
+ <div class="ncd-dependent" data-sensor-28 data-sensor-19>
1239
1275
  <div class="form-row ncd-active-check">
1240
1276
  <strong>Percentage Change Detection - Channel 2</strong>
1241
1277
  <div>
@@ -1255,6 +1291,8 @@
1255
1291
  <input type="text" id="node-input-change_interval_ch2" class="change_detection_ch2">
1256
1292
  </div>
1257
1293
  </div>
1294
+ </div>
1295
+ <div class="ncd-dependent" data-sensor-28>
1258
1296
  <div class="form-row ncd-active-check">
1259
1297
  <strong>Percentage Change Detection - Channel 3</strong>
1260
1298
  <div>
@@ -2138,7 +2176,7 @@
2138
2176
  </div>
2139
2177
  </div>
2140
2178
 
2141
- <div class="ncd-dependent" data-sensor-14 data-sensor-15 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-56 data-sensor-85 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-95 data-sensor-96 data-sensor-98 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-540>
2179
+ <div class="ncd-dependent" data-sensor-14 data-sensor-15 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-56 data-sensor-85 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-95 data-sensor-96 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-540>
2142
2180
  <div class="form-row ncd-active-check">
2143
2181
  <strong>Sensor Boot Time</strong>
2144
2182
  <p class="caption">
@@ -2156,7 +2194,7 @@
2156
2194
  </div>
2157
2195
  </div>
2158
2196
 
2159
- <div class="ncd-dependent" data-sensor-14 data-sensor-15 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-56 data-sensor-75 data-sensor-76 data-sensor-85 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-95 data-sensor-96 data-sensor-98 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-540>
2197
+ <div class="ncd-dependent" data-sensor-14 data-sensor-15 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-56 data-sensor-75 data-sensor-76 data-sensor-85 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-95 data-sensor-96 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-540>
2160
2198
  <div class="form-row ncd-active-check">
2161
2199
  <strong>Auto Check Interval</strong>
2162
2200
  <p class="caption">
@@ -2205,7 +2243,7 @@
2205
2243
  </div>
2206
2244
  </div>
2207
2245
 
2208
- <div class="ncd-dependent" data-sensor-3 data-sensor-14 data-sensor-15 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-56 data-sensor-85 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-95 data-sensor-96 data-sensor-98 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-200 data-sensor-540>
2246
+ <div class="ncd-dependent" data-sensor-3 data-sensor-14 data-sensor-15 data-sensor-45 data-sensor-48 data-sensor-52 data-sensor-56 data-sensor-85 data-sensor-88 data-sensor-89 data-sensor-90 data-sensor-95 data-sensor-96 data-sensor-105 data-sensor-106 data-sensor-107 data-sensor-200 data-sensor-540>
2209
2247
  <div class="form-row ncd-active-check">
2210
2248
  <strong>Low Calibration Point</strong>
2211
2249
  <div>
@@ -2540,20 +2578,6 @@
2540
2578
  </select>
2541
2579
  </div>
2542
2580
  </div>
2543
- <div class="form-row ncd-active-check">
2544
- <strong>Enable Quality Of Service (QoS)</strong>
2545
- <div>
2546
- <label for="node-input-qos_108_active">Active:</label>
2547
- <input type="checkbox" id="node-input-qos_108_active" class="ncd-config-toggle" data-target-id="node-input-qos_108" value="1">
2548
- </div>
2549
- <div>
2550
- <label for="node-input-qos_108"><i class="icon-tag"></i>Value:</label>
2551
- <select id="node-input-qos_108">
2552
- <option value="0" selected>Disabled</option>
2553
- <option value="1">Enabled</option>
2554
- </select>
2555
- </div>
2556
- </div>
2557
2581
  <div class="form-row ncd-active-check">
2558
2582
  <strong>Enable Accelerometer</strong>
2559
2583
  <div>
@@ -2737,10 +2761,10 @@
2737
2761
  </div>
2738
2762
  </div>
2739
2763
  </div>
2740
- <div class="ncd-dependent" data-sensor-23>
2764
+ <div class="ncd-dependent" data-sensor-4 data-sensor-12 data-sensor-23>
2741
2765
  <hr>
2742
2766
  <div class="form-row ncd-active-check">
2743
- <strong>Thermocouple Type</strong>
2767
+ <strong>Set Thermocouple Type</strong>
2744
2768
  <div>
2745
2769
  <label for="node-input-thermocouple_type_23_active">Active:</label>
2746
2770
  <input type="checkbox" id="node-input-thermocouple_type_23_active" class="ncd-config-toggle" data-target-id="node-input-thermocouple_type_23" value="1">
@@ -2759,6 +2783,91 @@
2759
2783
  </select>
2760
2784
  </div>
2761
2785
  </div>
2786
+ <div class="form-row ncd-active-check">
2787
+ <strong>Set Filter Level</strong>
2788
+ <div>
2789
+ <label for="node-input-filter_thermocouple_active">Active:</label>
2790
+ <input type="checkbox" id="node-input-filter_thermocouple_active" class="ncd-config-toggle" data-target-id="node-input-filter_thermocouple" value="1">
2791
+ </div>
2792
+ <div>
2793
+ <label for="node-input-filter_thermocouple"><i class="icon-tag"></i>Value:</label>
2794
+ <select id="node-input-filter_thermocouple">
2795
+ <option selected="selected" value="0">Level 0</option>
2796
+ <option value="1">Level 1</option>
2797
+ <option value="2">Level 2</option>
2798
+ <option value="3">Level 3</option>
2799
+ <option value="4">Level 4</option>
2800
+ <option value="5">Level 5</option>
2801
+ <option value="6">Level 6</option>
2802
+ <option value="7">Level 7</option>
2803
+ </select>
2804
+ </div>
2805
+ </div>
2806
+ <div class="form-row ncd-active-check">
2807
+ <strong>Set Cold Junction Resolution</strong>
2808
+ <div>
2809
+ <label for="node-input-cold_junction_thermocouple_active">Active:</label>
2810
+ <input type="checkbox" id="node-input-cold_junction_thermocouple_active" class="ncd-config-toggle" data-target-id="node-input-cold_junction_thermocouple" value="1">
2811
+ </div>
2812
+ <div>
2813
+ <label for="node-input-cold_junction_thermocouple"><i class="icon-tag"></i>Value:</label>
2814
+ <select id="node-input-cold_junction_thermocouple">
2815
+ <option selected="selected" value="0">0.0625⁰C</option>
2816
+ <option value="128">0.25⁰C</option>
2817
+ </select>
2818
+ </div>
2819
+ </div>
2820
+ <div class="form-row ncd-active-check">
2821
+ <strong>Set ADC Resolution</strong>
2822
+ <div>
2823
+ <label for="node-input-sample_resolution_thermocouple_active">Active:</label>
2824
+ <input type="checkbox" id="node-input-sample_resolution_thermocouple_active" class="ncd-config-toggle" data-target-id="node-input-sample_resolution_thermocouple" value="1">
2825
+ </div>
2826
+ <div>
2827
+ <label for="node-input-sample_resolution_thermocouple"><i class="icon-tag"></i>Value:</label>
2828
+ <select id="node-input-sample_resolution_thermocouple">
2829
+ <option selected="selected" value="0">18 Bits</option>
2830
+ <option value="32">16 Bits</option>
2831
+ <option value="64">14 Bits</option>
2832
+ <option value="96">12 Bits</option>
2833
+ </select>
2834
+ </div>
2835
+ </div>
2836
+ <div class="form-row ncd-active-check">
2837
+ <strong>Set Number of Samples</strong>
2838
+ <div>
2839
+ <label for="node-input-number_of_samples_thermocouple_active">Active:</label>
2840
+ <input type="checkbox" id="node-input-number_of_samples_thermocouple_active" class="ncd-config-toggle" data-target-id="node-input-number_of_samples_thermocouple" value="1">
2841
+ </div>
2842
+ <div>
2843
+ <label for="node-input-number_of_samples_thermocouple"><i class="icon-tag"></i>Value:</label>
2844
+ <select id="node-input-number_of_samples_thermocouple">
2845
+ <option selected="selected" value="0">1 Sample</option>
2846
+ <option value="4">2 Samples</option>
2847
+ <option value="8">4 Samples</option>
2848
+ <option value="12">8 Samples</option>
2849
+ <option value="16">16 Samples</option>
2850
+ <option value="20">32 Samples</option>
2851
+ <option value="24">64 Samples</option>
2852
+ <option value="28">128 Samples</option>
2853
+ </select>
2854
+ </div>
2855
+ </div>
2856
+ <div class="form-row ncd-active-check">
2857
+ <strong>Set Measurement Type</strong>
2858
+ <div>
2859
+ <label for="node-input-measurement_type_thermocouple_active">Active:</label>
2860
+ <input type="checkbox" id="node-input-measurement_type_thermocouple_active" class="ncd-config-toggle" data-target-id="node-input-measurement_type_thermocouple" value="1">
2861
+ </div>
2862
+ <div>
2863
+ <label for="node-input-measurement_type_thermocouple"><i class="icon-tag"></i>Value:</label>
2864
+ <select id="node-input-measurement_type_thermocouple">
2865
+ <option selected="selected" value="0">Cold Junction</option>
2866
+ <option value="1">Hot Junction</option>
2867
+ <option value="2">Delta</option>
2868
+ </select>
2869
+ </div>
2870
+ </div>
2762
2871
  </div>
2763
2872
  <div class="ncd-dependent" data-sensor-46>
2764
2873
  <hr>
@@ -2829,7 +2938,7 @@
2829
2938
  </div>
2830
2939
  </div>
2831
2940
  </div>
2832
- <div class="ncd-dependent" data-sensor-1010 data-sensor-1011>
2941
+ <div class="ncd-dependent" data-sensor-1010 data-sensor-1011 data-sensor-539>
2833
2942
  <div class="form-row ncd-active-check">
2834
2943
  <strong>Set Stop Bit</strong>
2835
2944
  <div>
@@ -2859,6 +2968,8 @@
2859
2968
  </select>
2860
2969
  </div>
2861
2970
  </div>
2971
+ </div>
2972
+ <div class="ncd-dependent" data-sensor-1010 data-sensor-1011>
2862
2973
  <div class="form-row ncd-active-check">
2863
2974
  <strong>Set Timeout</strong>
2864
2975
  <div>
@@ -3224,15 +3335,8 @@
3224
3335
  <div class="form-row ncd-active-check">
3225
3336
  <strong>Clear Probe Uptimers</strong>
3226
3337
  <div>
3227
- <label for="node-input-clear_probe_uptimers_110_active">Active:</label>
3228
- <input type="checkbox" id="node-input-clear_probe_uptimers_110_active" class="ncd-config-toggle" data-target-id="node-input-clear_probe_uptimers_110" value="1">
3229
- </div>
3230
- <div>
3231
- <label for="node-input-clear_probe_uptimers_110"><i class="icon-tag"></i>Value:</label>
3232
- <select id="node-input-clear_probe_uptimers_110">
3233
- <option value="0">Disabled</option>
3234
- <option value="1">Enabled</option>
3235
- </select>
3338
+ <label for="node-input-clear_probe_uptimers_110"><i class="icon-tag"></i>Active:</label>
3339
+ <input type="checkbox" id="node-input-clear_probe_uptimers_110" value="1">
3236
3340
  </div>
3237
3341
  </div>
3238
3342
  </div>
@@ -3278,6 +3382,8 @@
3278
3382
  </select>
3279
3383
  </div>
3280
3384
  </div> -->
3385
+ </div>
3386
+ <div class="ncd-dependent" data-sensor-110 data-sensor-111 data-sensor-112 data-sensor-114>
3281
3387
  <div class="form-row ncd-active-check">
3282
3388
  <strong>Set Smart Mode Threshold</strong>
3283
3389
  <p>If RMS acceleration is above this in any axis, it will send data. This will be an integer value that increments the interrupt threshold by 50 mg. A value of 1 means to wake the sensor if acceleration is above 50 mg, 2 means 100 mg, etc.</p>
@@ -3290,6 +3396,22 @@
3290
3396
  <input type="text" id="node-input-smart_threshold_110" value="1">
3291
3397
  </div>
3292
3398
  </div>
3399
+ </div>
3400
+ <div class="ncd-dependent" data-sensor-111>
3401
+ <div class="form-row ncd-active-check">
3402
+ <strong>Set Smart Mode Threshold Probe 2</strong>
3403
+ <p>If RMS acceleration is above this in any axis, it will send data. This will be an integer value that increments the interrupt threshold by 50 mg. A value of 1 means to wake the sensor if acceleration is above 50 mg, 2 means 100 mg, etc.</p>
3404
+ <div>
3405
+ <label for="node-input-smart_threshold_p2_110_active">Active:</label>
3406
+ <input type="checkbox" id="node-input-smart_threshold_p2_110_active" class="ncd-config-toggle" data-target-id="node-input-smart_threshold_p2_110" value="1">
3407
+ </div>
3408
+ <div>
3409
+ <label for="node-input-smart_threshold_p2_110"><i class="icon-tag"></i>Value:</label>
3410
+ <input type="text" id="node-input-smart_threshold_p2_110" value="1">
3411
+ </div>
3412
+ </div>
3413
+ </div>
3414
+ <div class="ncd-dependent" data-sensor-110 data-sensor-111 data-sensor-112 data-sensor-114>
3293
3415
  <div class="form-row ncd-active-check">
3294
3416
  <strong>Set Smart Mode Skip Interval</strong>
3295
3417
  <p>Sensor will skip sending data this many times if vibration is below the smart threshold.</p>
@@ -3469,6 +3591,151 @@
3469
3591
  </div>
3470
3592
  </div>
3471
3593
  </div>
3594
+ <div class="ncd-dependent" data-sensor-118>
3595
+ <div class="form-row ncd-active-check">
3596
+ <strong>Set Pressure Sensor FS - Channel 1</strong>
3597
+ <div>
3598
+ <label for="node-input-pressure_sensor_fs_ch1_118_active">Active:</label>
3599
+ <input type="checkbox" id="node-input-pressure_sensor_fs_ch1_118_active" class="ncd-config-toggle" data-target-id="node-input-pressure_sensor_fs_ch1_118" value="1">
3600
+ </div>
3601
+ <div>
3602
+ <label for="node-input-pressure_sensor_fs_ch1_118"><i class="icon-tag"></i>Value:</label>
3603
+ <select id="node-input-pressure_sensor_fs_ch1_118">
3604
+ <option selected="selected" value="0">10</option>
3605
+ <option value="1">20</option>
3606
+ <option value="2">100</option>
3607
+ <option value="3">500</option>
3608
+ <option value="4">1000</option>
3609
+ <option value="5">5000</option>
3610
+ </select>
3611
+ </div>
3612
+ </div>
3613
+ <div class="form-row ncd-active-check">
3614
+ <strong>Set Pressure Sensor FS - Channel 2</strong>
3615
+ <div>
3616
+ <label for="node-input-pressure_sensor_fs_ch2_118_active">Active:</label>
3617
+ <input type="checkbox" id="node-input-pressure_sensor_fs_ch2_118_active" class="ncd-config-toggle" data-target-id="node-input-pressure_sensor_fs_ch2_118" value="1">
3618
+ </div>
3619
+ <div>
3620
+ <label for="node-input-pressure_sensor_fs_ch2_118"><i class="icon-tag"></i>Value:</label>
3621
+ <select id="node-input-pressure_sensor_fs_ch2_118">
3622
+ <option selected="selected" value="0">10</option>
3623
+ <option value="1">20</option>
3624
+ <option value="2">100</option>
3625
+ <option value="3">500</option>
3626
+ <option value="4">1000</option>
3627
+ <option value="5">5000</option>
3628
+ </select>
3629
+ </div>
3630
+ </div>
3631
+ <div class="form-row ncd-active-check">
3632
+ <strong>Set Auto Check Interval</strong>
3633
+ <p>
3634
+ Valid Range: 0 - 65000 (Seconds).
3635
+ </p>
3636
+ <div>
3637
+ <label for="node-input-auto_check_interval_118_active">Active:</label>
3638
+ <input type="checkbox" id="node-input-auto_check_interval_118_active" class="ncd-config-toggle" data-target-id="node-input-auto_check_interval_118" value="1">
3639
+ </div>
3640
+ <div>
3641
+ <label for="node-input-auto_check_interval_118"><i class="icon-tag"></i>Value:</label>
3642
+ <input type="text" id="node-input-auto_check_interval_118" placeholder="0" value="0">
3643
+ </div>
3644
+ </div>
3645
+ <div class="form-row ncd-active-check">
3646
+ <strong>Set Pressure Auto Check Percentage</strong>
3647
+ <p>
3648
+ Valid Range: 0 - 100%
3649
+ </p>
3650
+ <div>
3651
+ <label for="node-input-press_auto_check_percent_118_active">Active:</label>
3652
+ <input type="checkbox" id="node-input-press_auto_check_percent_118_active" class="ncd-config-toggle" data-target-id="node-input-press_auto_check_percent_118" value="1">
3653
+ </div>
3654
+ <div>
3655
+ <label for="node-input-press_auto_check_percent_118"><i class="icon-tag"></i>Value:</label>
3656
+ <input type="text" id="node-input-press_auto_check_percent_118" placeholder="0" value="0">
3657
+ </div>
3658
+ </div>
3659
+ <div class="form-row ncd-active-check">
3660
+ <strong>Set Temperature Auto Check Percentage</strong>
3661
+ <p>
3662
+ Valid Range: 0 - 100%
3663
+ </p>
3664
+ <div>
3665
+ <label for="node-input-temp_auto_check_percent_118_active">Active:</label>
3666
+ <input type="checkbox" id="node-input-temp_auto_check_percent_118_active" class="ncd-config-toggle" data-target-id="node-input-temp_auto_check_percent_118" value="1">
3667
+ </div>
3668
+ <div>
3669
+ <label for="node-input-temp_auto_check_percent_118"><i class="icon-tag"></i>Value:</label>
3670
+ <input type="text" id="node-input-temp_auto_check_percent_118" placeholder="0" value="0">
3671
+ </div>
3672
+ </div>
3673
+ </div>
3674
+ <div class="ncd-dependent" data-sensor-97 data-sensor-98>
3675
+ <div class="form-row ncd-active-check">
3676
+ <strong>Set Raw Length</strong>
3677
+ <div>
3678
+ <label for="node-input-raw_length_97_active">Active:</label>
3679
+ <input type="checkbox" id="node-input-raw_length_97_active" class="ncd-config-toggle" data-target-id="node-input-raw_length_97" value="1">
3680
+ </div>
3681
+ <div>
3682
+ <label for="node-input-raw_length_97"><i class="icon-tag"></i>Value:</label>
3683
+ <select id="node-input-raw_length_97">
3684
+ <option value="0">55 Bytes</option>
3685
+ <option value="1">100 Bytes</option>
3686
+ <option value="2">150 Bytes</option>
3687
+ <option selected="selected" value="3">180 Bytes</option>
3688
+ </select>
3689
+ </div>
3690
+ </div>
3691
+ <div class="form-row ncd-active-check">
3692
+ <strong>Set Raw Timeout</strong>
3693
+ <p>
3694
+ Valid Range: 0 - 10 Seconds
3695
+ </p>
3696
+ <div>
3697
+ <label for="node-input-raw_timeout_97_active">Active:</label>
3698
+ <input type="checkbox" id="node-input-raw_timeout_97_active" class="ncd-config-toggle" data-target-id="node-input-raw_timeout_97" value="1">
3699
+ </div>
3700
+ <div>
3701
+ <label for="node-input-raw_timeout_97"><i class="icon-tag"></i>Value:</label>
3702
+ <input type="text" id="node-input-raw_timeout_97" placeholder="0" value="0">
3703
+ </div>
3704
+ </div>
3705
+ <div class="form-row ncd-active-check">
3706
+ <strong>Set FLY Rate</strong>
3707
+ <div>
3708
+ <label for="node-input-fly_rate_97_active">Active:</label>
3709
+ <input type="checkbox" id="node-input-fly_rate_97_active" class="ncd-config-toggle" data-target-id="node-input-fly_rate_97" value="1">
3710
+ </div>
3711
+ <div>
3712
+ <label for="node-input-fly_rate_97"><i class="icon-tag"></i>Value:</label>
3713
+ <select id="node-input-fly_rate_97">
3714
+ <option value="3600">1 Hour</option>
3715
+ <option value="7200">2 Hours</option>
3716
+ <option value="14400">4 Hours</option>
3717
+ <option value="28800">8 Hours</option>
3718
+ <option value="43200">12 Hours</option>
3719
+ <option value="64800">18 Hours</option>
3720
+ <option value="86400">24 Hours</option>
3721
+ </select>
3722
+ </div>
3723
+ </div>
3724
+ <div class="form-row ncd-active-check">
3725
+ <strong>Set Boot Time</strong>
3726
+ <p>
3727
+ Valid Range: 0 - 255 Seconds
3728
+ </p>
3729
+ <div>
3730
+ <label for="node-input-boot_up_time_97_active">Active:</label>
3731
+ <input type="checkbox" id="node-input-boot_up_time_97_active" class="ncd-config-toggle" data-target-id="node-input-boot_up_time_97" value="1">
3732
+ </div>
3733
+ <div>
3734
+ <label for="node-input-boot_up_time_97"><i class="icon-tag"></i>Value:</label>
3735
+ <input type="text" id="node-input-boot_up_time_97" placeholder="0" value="0">
3736
+ </div>
3737
+ </div>
3738
+ </div>
3472
3739
  </div>
3473
3740
  </div>
3474
3741
  </script>
@@ -3538,6 +3805,8 @@
3538
3805
  comm_type: {value: "serial"},
3539
3806
  ip_address: {value: ""},
3540
3807
  tcp_port: {value: 2101, validate:RED.validators.number()},
3808
+ tcp_inactive_timeout_active: {value: 0},
3809
+ tcp_inactive_timeout: {value: 1200},
3541
3810
  port: {value: ""},
3542
3811
  baudRate: {value: 115200, validate:RED.validators.number()},
3543
3812
  pan_id: {value: '7FFF', validate: NCD_validators.number_range(0, 0x7FFF, 16)},
@@ -3650,6 +3919,18 @@
3650
3919
  <label for="node-config-input-ip_address"><i class="fa fa-random"></i> IP Address</label>
3651
3920
  <input type="text" id="node-config-input-ip_address" style="width:60%;" >
3652
3921
  </div>
3922
+ <div class="form-row ncd-active-check">
3923
+ <strong>Socket Timeout *Experimental</strong>
3924
+ <p class="caption">*This feature is experimental and will close and reopen the socket if no data is received in the timeout.</p>
3925
+ <div>
3926
+ <label for="node-config-input-tcp_inactive_timeout_active">Active:</label>
3927
+ <input type="checkbox" id="node-config-input-tcp_inactive_timeout_active" class="ncd-config-toggle" data-target-id="node-config-input-tcp_inactive_timeout" value="1">
3928
+ </div>
3929
+ <div>
3930
+ <label for="node-config-input-tcp_inactive_timeout"><i class="icon-tag"></i>Seconds:</label>
3931
+ <input type="text" id="node-config-input-tcp_inactive_timeout" style="width:60%;" >
3932
+ </div>
3933
+ </div>
3653
3934
  </div>
3654
3935
  <div class="serial-options">
3655
3936
  <div class="form-row">