@ncd-io/node-red-enterprise-sensors 1.4.4 → 1.4.5
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 +2701 -832
- package/package.json +1 -1
- package/wireless.html +917 -82
- package/wireless.js +219 -4
package/wireless.js
CHANGED
|
@@ -1047,7 +1047,7 @@ module.exports = function(RED) {
|
|
|
1047
1047
|
|
|
1048
1048
|
var promises = {};
|
|
1049
1049
|
// This command is used for OTF on types 53, 80,81,82,83,84, 101, 102, 110, 111, 518, 519
|
|
1050
|
-
let original_otf_devices = [53, 80, 81, 82, 83, 84, 87, 101, 102, 103, 110, 111, 112, 114, 117, 180, 181, 518, 519, 520, 538];
|
|
1050
|
+
let original_otf_devices = [53, 80, 81, 82, 83, 84, 87, 101, 102, 103, 110, 111, 112, 114, 117, 180, 181, 518, 519, 520, 538, 543];
|
|
1051
1051
|
if(original_otf_devices.includes(sensor.type)){
|
|
1052
1052
|
// This command is used for OTF on types 53, 80, 81, 82, 83, 84, 101, 102, 110, 111, 518, 519
|
|
1053
1053
|
promises.config_enter_otn_mode = node.config_gateway.config_enter_otn_mode(sensor.mac);
|
|
@@ -2406,6 +2406,12 @@ module.exports = function(RED) {
|
|
|
2406
2406
|
if(config.interrupt_timeout_108_active){
|
|
2407
2407
|
promises.interrupt_timeout_108 = node.config_gateway.config_set_interrupt_timeout_108(mac, parseInt(config.interrupt_timeout_108));
|
|
2408
2408
|
}
|
|
2409
|
+
if(config.screen_control_108_active){
|
|
2410
|
+
promises.screen_control_108 = node.config_gateway.config_set_screen_control_108(mac, parseInt(config.screen_control_108));
|
|
2411
|
+
}
|
|
2412
|
+
if(config.screen_on_time_108_active){
|
|
2413
|
+
promises.screen_on_time_108 = node.config_gateway.config_set_screen_on_time_108(mac, parseInt(config.screen_on_time_108));
|
|
2414
|
+
}
|
|
2409
2415
|
break;
|
|
2410
2416
|
case 110:
|
|
2411
2417
|
if(config.odr_p1_110_active){
|
|
@@ -2709,10 +2715,10 @@ module.exports = function(RED) {
|
|
|
2709
2715
|
promises.led_alert_mode_84 = node.config_gateway.config_set_led_alert_mode_84(mac, parseInt(config.led_alert_mode_84));
|
|
2710
2716
|
}
|
|
2711
2717
|
if(config.led_accelerometer_threshold_84_active){
|
|
2712
|
-
promises.
|
|
2718
|
+
promises.led_accelerometer_threshold_114 = node.config_gateway.config_set_led_accelerometer_threshold_114(mac, parseInt(config.led_accelerometer_threshold_84));
|
|
2713
2719
|
}
|
|
2714
2720
|
if(config.led_velocity_threshold_84_active){
|
|
2715
|
-
promises.
|
|
2721
|
+
promises.led_velocity_threshold_114 = node.config_gateway.config_set_led_velocity_threshold_114(mac, parseInt(config.led_velocity_threshold_84));
|
|
2716
2722
|
}
|
|
2717
2723
|
if(config.motion_detect_threshold_p1_110_active){
|
|
2718
2724
|
promises.motion_detect_threshold_p1_114 = node.config_gateway.config_set_motion_detect_threshold_p1_110(mac, parseInt(config.motion_detect_threshold_p1_110));
|
|
@@ -2771,6 +2777,71 @@ module.exports = function(RED) {
|
|
|
2771
2777
|
promises.temp_auto_check_percent_118 = node.config_gateway.config_set_temp_auto_check_percent_118(mac, parseInt(config.temp_auto_check_percent_118));
|
|
2772
2778
|
}
|
|
2773
2779
|
break;
|
|
2780
|
+
case 119:
|
|
2781
|
+
if(config.accelerometer_state_108_active){
|
|
2782
|
+
promises.accelerometer_state_108 = node.config_gateway.config_set_accelerometer_state_108(mac, parseInt(config.accelerometer_state_108));
|
|
2783
|
+
}
|
|
2784
|
+
if(config.clear_timers_119_active){
|
|
2785
|
+
promises.clear_timers_119 = node.config_gateway.config_set_clear_timers_108(mac, parseInt(config.clear_timers_119));
|
|
2786
|
+
}
|
|
2787
|
+
if(config.accelerometer_threshold_108_active){
|
|
2788
|
+
promises.accelerometer_threshold_108 = node.config_gateway.config_set_accelerometer_threshold_108(mac, parseInt(config.accelerometer_threshold_108));
|
|
2789
|
+
}
|
|
2790
|
+
if(config.debounce_time_v10_108_active){
|
|
2791
|
+
promises.debounce_time_v10_108 = node.config_gateway.config_set_debounce_time_v10_108(mac, parseInt(config.debounce_time_v10_108));
|
|
2792
|
+
}
|
|
2793
|
+
if(config.counter_threshold_108_active){
|
|
2794
|
+
promises.counter_threshold_108 = node.config_gateway.config_set_counter_threshold_108(mac, parseInt(config.counter_threshold_108));
|
|
2795
|
+
}
|
|
2796
|
+
if(config.push_notification_119_active){
|
|
2797
|
+
promises.push_notification_119 = node.config_gateway.config_set_push_notification_108(mac, parseInt(config.push_notification_119));
|
|
2798
|
+
}
|
|
2799
|
+
if(config.deactivate_activate_accelero_108_active){
|
|
2800
|
+
promises.deactivate_activate_accelero_108 = node.config_gateway.config_set_deactivate_activate_accelero_108(mac, parseInt(config.deactivate_activate_accelero_108));
|
|
2801
|
+
}
|
|
2802
|
+
if(config.reset_timeout_108_active){
|
|
2803
|
+
promises.reset_timeout_108 = node.config_gateway.config_set_reset_timeout_108(mac, parseInt(config.reset_timeout_108));
|
|
2804
|
+
}
|
|
2805
|
+
if(config.reset_mode_to_disabled_108_active){
|
|
2806
|
+
promises.reset_mode_to_disabled_108 = node.config_gateway.config_set_reset_mode_to_disabled_108(mac, parseInt(config.reset_mode_to_disabled_108));
|
|
2807
|
+
}
|
|
2808
|
+
if(config.rtc_108){
|
|
2809
|
+
promises.rtc_108 = node.config_gateway.config_set_rtc_108(mac);
|
|
2810
|
+
}
|
|
2811
|
+
if(config.transmission_interval_108_active){
|
|
2812
|
+
promises.transmission_interval_108 = node.config_gateway.config_set_transmission_interval_108(mac, parseInt(config.transmission_interval_108));
|
|
2813
|
+
}
|
|
2814
|
+
if(config.shift_one_108_active){
|
|
2815
|
+
promises.shift_time1 = node.config_gateway.config_set_shift_one_108(mac, parseInt(config.shift_one_hours_108), parseInt(config.shift_one_minutes_108));
|
|
2816
|
+
}
|
|
2817
|
+
if(config.shift_two_108_active){
|
|
2818
|
+
promises.shift_time2 = node.config_gateway.config_set_shift_two_108(mac, parseInt(config.shift_two_hours_108), parseInt(config.shift_two_minutes_108));
|
|
2819
|
+
}
|
|
2820
|
+
if(config.shift_three_108_active){
|
|
2821
|
+
promises.shift_time3 = node.config_gateway.config_set_shift_three_108(mac, parseInt(config.shift_three_hours_108), parseInt(config.shift_three_minutes_108));
|
|
2822
|
+
}
|
|
2823
|
+
if(config.shift_four_108_active){
|
|
2824
|
+
promises.shift_time4 = node.config_gateway.config_set_shift_four_108(mac, parseInt(config.shift_four_hours_108), parseInt(config.shift_four_minutes_108));
|
|
2825
|
+
}
|
|
2826
|
+
if(config.quality_of_service_108_active){
|
|
2827
|
+
promises.quality_of_service_108 = node.config_gateway.config_set_quality_of_service_108(mac, parseInt(config.quality_of_service_108));
|
|
2828
|
+
}
|
|
2829
|
+
if(config.fly_interval_108_active){
|
|
2830
|
+
promises.fly_interval_108 = node.config_gateway.config_set_fly_interval_108(mac, parseInt(config.fly_interval_108));
|
|
2831
|
+
}
|
|
2832
|
+
if(config.sample_rate_108_active){
|
|
2833
|
+
promises.sample_rate_108 = node.config_gateway.config_set_sample_rate_108(mac, parseInt(config.sample_rate_108));
|
|
2834
|
+
}
|
|
2835
|
+
if(config.interrupt_timeout_108_active){
|
|
2836
|
+
promises.interrupt_timeout_108 = node.config_gateway.config_set_interrupt_timeout_108(mac, parseInt(config.interrupt_timeout_108));
|
|
2837
|
+
}
|
|
2838
|
+
if(config.enable_axis_119_active){
|
|
2839
|
+
promises.enable_axis_119 = node.config_gateway.config_set_axis_enabled_119(mac, parseInt(config.enable_axis_119));
|
|
2840
|
+
}
|
|
2841
|
+
if(config.raw_acc_data_119_active){
|
|
2842
|
+
promises.raw_acc_data_119 = node.config_gateway.config_set_raw_acc_data_119(mac, parseInt(config.raw_acc_data_119));
|
|
2843
|
+
}
|
|
2844
|
+
break;
|
|
2774
2845
|
case 120:
|
|
2775
2846
|
if(config.stay_on_mode_539_active){
|
|
2776
2847
|
promises.stay_on_mode_120 = node.config_gateway.config_set_stay_on_mode_539(mac, parseInt(config.stay_on_mode_539));
|
|
@@ -2878,6 +2949,38 @@ module.exports = function(RED) {
|
|
|
2878
2949
|
promises.interrupt_timeout_123 = node.config_gateway.config_set_interrupt_timeout_108(mac, parseInt(config.interrupt_timeout_108));
|
|
2879
2950
|
}
|
|
2880
2951
|
break;
|
|
2952
|
+
case 124:
|
|
2953
|
+
if(config.volume_flow_unit_124_active){
|
|
2954
|
+
promises.volume_flow_unit_124 = node.config_gateway.config_set_volume_flow_unit_124(mac, parseInt(config.volume_flow_unit_124));
|
|
2955
|
+
}
|
|
2956
|
+
if(config.total_1_flow_unit_124_active){
|
|
2957
|
+
promises.total_1_flow_unit_124 = node.config_gateway.config_set_total_1_flow_unit_124(mac, parseInt(config.total_1_flow_unit_124));
|
|
2958
|
+
}
|
|
2959
|
+
if(config.total_2_flow_unit_124_active){
|
|
2960
|
+
promises.total_2_flow_unit_124 = node.config_gateway.config_set_total_2_flow_unit_124(mac, parseInt(config.total_2_flow_unit_124));
|
|
2961
|
+
}
|
|
2962
|
+
if(config.total_3_flow_unit_124_active){
|
|
2963
|
+
promises.total_3_flow_unit_124 = node.config_gateway.config_set_total_3_flow_unit_124(mac, parseInt(config.total_3_flow_unit_124));
|
|
2964
|
+
}
|
|
2965
|
+
if(config.pressure_unit_124_active){
|
|
2966
|
+
promises.pressure_unit_124 = node.config_gateway.config_set_pressure_unit_124(mac, parseInt(config.pressure_unit_124));
|
|
2967
|
+
}
|
|
2968
|
+
if(config.total_1_op_mode_124_active){
|
|
2969
|
+
promises.total_1_op_mode_124 = node.config_gateway.config_set_total_1_op_mode_124(mac, parseInt(config.total_1_op_mode_124));
|
|
2970
|
+
}
|
|
2971
|
+
if(config.total_2_op_mode_124_active){
|
|
2972
|
+
promises.total_2_op_mode_124 = node.config_gateway.config_set_total_2_op_mode_124(mac, parseInt(config.total_2_op_mode_124));
|
|
2973
|
+
}
|
|
2974
|
+
if(config.total_3_op_mode_124_active){
|
|
2975
|
+
promises.total_3_op_mode_124 = node.config_gateway.config_set_total_3_op_mode_124(mac, parseInt(config.total_3_op_mode_124));
|
|
2976
|
+
}
|
|
2977
|
+
if(config.conductivity_unit_124_active){
|
|
2978
|
+
promises.conductivity_unit_124 = node.config_gateway.config_set_conductivity_unit_124(mac, parseInt(config.conductivity_unit_124));
|
|
2979
|
+
}
|
|
2980
|
+
if(config.reset_all_totalizers_124){
|
|
2981
|
+
promises.reset_all_totalizers_124 = node.config_gateway.config_set_reset_all_totalizers_124(mac);
|
|
2982
|
+
}
|
|
2983
|
+
break;
|
|
2881
2984
|
case 180:
|
|
2882
2985
|
if(config.output_data_rate_101_active){
|
|
2883
2986
|
promises.output_data_rate_101 = node.config_gateway.config_set_output_data_rate_101(mac, parseInt(config.output_data_rate_101));
|
|
@@ -3127,6 +3230,50 @@ module.exports = function(RED) {
|
|
|
3127
3230
|
promises.temperature_offset_44 = node.config_gateway.config_set_sensor_temperature_offset_44(mac, parseInt(config.temperature_offset_44));
|
|
3128
3231
|
}
|
|
3129
3232
|
break;
|
|
3233
|
+
case 536:
|
|
3234
|
+
if(config.oxygen_boot_time_536_active){
|
|
3235
|
+
promises.oxygen_boot_time_536 = node.config_gateway.config_set_oxygen_boot_time_536(mac, parseInt(config.oxygen_boot_time_536));
|
|
3236
|
+
}
|
|
3237
|
+
if(config.flow_boot_time_536_active){
|
|
3238
|
+
promises.flow_boot_time_536 = node.config_gateway.config_set_flow_boot_time_536(mac, parseInt(config.flow_boot_time_536));
|
|
3239
|
+
}
|
|
3240
|
+
if(config.oxygen_dev_addr_536_active){
|
|
3241
|
+
promises.oxygen_dev_addr_536 = node.config_gateway.config_set_oxygen_dev_addr_536(mac, parseInt(config.oxygen_addr_1_536), parseInt(config.oxygen_addr_2_536), parseInt(config.oxygen_addr_3_536), parseInt(config.oxygen_addr_4_536));
|
|
3242
|
+
}
|
|
3243
|
+
if(config.flow_dev_addr_536_active){
|
|
3244
|
+
promises.flow_dev_addr_536 = node.config_gateway.config_set_flow_dev_addr_536(mac, parseInt(config.flow_addr_1_536), parseInt(config.flow_addr_2_536), parseInt(config.flow_addr_3_536), parseInt(config.flow_addr_4_536));
|
|
3245
|
+
}
|
|
3246
|
+
if(config.oxygen_rate_536_active){
|
|
3247
|
+
promises.oxygen_rate_536 = node.config_gateway.config_set_oxygen_rate_536(mac, parseInt(config.oxygen_rate_536));
|
|
3248
|
+
}
|
|
3249
|
+
if(config.oxygen_timeout_536_active){
|
|
3250
|
+
promises.oxygen_timeout_536 = node.config_gateway.config_set_oxygen_timeout_536(mac, parseInt(config.oxygen_timeout_536));
|
|
3251
|
+
}
|
|
3252
|
+
if(config.oxygen_max_threshold_s1_536_active){
|
|
3253
|
+
promises.oxygen_max_threshold_s1_536 = node.config_gateway.config_set_oxygen_max_threshold_s1_536(mac, parseInt(config.oxygen_max_threshold_s1_536));
|
|
3254
|
+
}
|
|
3255
|
+
if(config.oxygen_max_threshold_s2_536_active){
|
|
3256
|
+
promises.oxygen_max_threshold_s2_536 = node.config_gateway.config_set_oxygen_max_threshold_s2_536(mac, parseInt(config.oxygen_max_threshold_s2_536));
|
|
3257
|
+
}
|
|
3258
|
+
if(config.oxygen_max_threshold_s3_536_active){
|
|
3259
|
+
promises.oxygen_max_threshold_s3_536 = node.config_gateway.config_set_oxygen_max_threshold_s3_536(mac, parseInt(config.oxygen_max_threshold_s3_536));
|
|
3260
|
+
}
|
|
3261
|
+
if(config.oxygen_max_threshold_s4_536_active){
|
|
3262
|
+
promises.oxygen_max_threshold_s4_536 = node.config_gateway.config_set_oxygen_max_threshold_s4_536(mac, parseInt(config.oxygen_max_threshold_s4_536));
|
|
3263
|
+
}
|
|
3264
|
+
if(config.oxygen_min_threshold_s1_536_active){
|
|
3265
|
+
promises.oxygen_min_threshold_s1_536 = node.config_gateway.config_set_oxygen_min_threshold_s1_536(mac, parseInt(config.oxygen_min_threshold_s1_536));
|
|
3266
|
+
}
|
|
3267
|
+
if(config.oxygen_min_threshold_s2_536_active){
|
|
3268
|
+
promises.oxygen_min_threshold_s2_536 = node.config_gateway.config_set_oxygen_min_threshold_s2_536(mac, parseInt(config.oxygen_min_threshold_s2_536));
|
|
3269
|
+
}
|
|
3270
|
+
if(config.oxygen_min_threshold_s3_536_active){
|
|
3271
|
+
promises.oxygen_min_threshold_s3_536 = node.config_gateway.config_set_oxygen_min_threshold_s3_536(mac, parseInt(config.oxygen_min_threshold_s3_536));
|
|
3272
|
+
}
|
|
3273
|
+
if(config.oxygen_min_threshold_s4_536_active){
|
|
3274
|
+
promises.oxygen_min_threshold_s4_536 = node.config_gateway.config_set_oxygen_min_threshold_s4_536(mac, parseInt(config.oxygen_min_threshold_s4_536));
|
|
3275
|
+
}
|
|
3276
|
+
break;
|
|
3130
3277
|
case 537:
|
|
3131
3278
|
if(config.output_data_rate_101_active){
|
|
3132
3279
|
promises.output_data_rate_101 = node.config_gateway.config_set_output_data_rate_101(mac, parseInt(config.output_data_rate_101));
|
|
@@ -3324,6 +3471,74 @@ module.exports = function(RED) {
|
|
|
3324
3471
|
promises.min_flow_541 = node.config_gateway.config_set_min_flow_541(mac, parseInt(config.min_flow_541));
|
|
3325
3472
|
}
|
|
3326
3473
|
break;
|
|
3474
|
+
case 543:
|
|
3475
|
+
if(config.odr_p1_543_active){
|
|
3476
|
+
promises.odr_p1_543 = node.config_gateway.config_set_odr_p1_110(mac, parseInt(config.odr_p1_543));
|
|
3477
|
+
}
|
|
3478
|
+
if(config.enable_filtering_110_active){
|
|
3479
|
+
promises.enable_filtering_110 = node.config_gateway.config_set_enable_filtering_110(mac, parseInt(config.enable_filtering_110));
|
|
3480
|
+
}
|
|
3481
|
+
if(config.sampling_duration_p1_110_active){
|
|
3482
|
+
promises.sampling_duration_p1_110 = node.config_gateway.config_set_sampling_duration_p1_110(mac, parseInt(config.sampling_duration_p1_110));
|
|
3483
|
+
}
|
|
3484
|
+
if(config.sampling_interval_110_active){
|
|
3485
|
+
promises.sampling_interval_110 = node.config_gateway.config_set_sampling_interval_101(mac, parseInt(config.sampling_interval_110));
|
|
3486
|
+
}
|
|
3487
|
+
if(config.full_scale_range_543_active){
|
|
3488
|
+
promises.full_scale_range_543 = node.config_gateway.config_set_full_scale_range_101(mac, parseInt(config.full_scale_range_543));
|
|
3489
|
+
}
|
|
3490
|
+
if(config.mode_110_active){
|
|
3491
|
+
promises.mode = node.config_gateway.config_set_operation_mode_80(mac, parseInt(config.mode_110));
|
|
3492
|
+
}
|
|
3493
|
+
if(config.filter_80_active){
|
|
3494
|
+
promises.filter = node.config_gateway.config_set_filters_80(mac, parseInt(config.filter_80));
|
|
3495
|
+
}
|
|
3496
|
+
if(config.low_pass_filter_p1_110_active){
|
|
3497
|
+
promises.low_pass_filter_p1_110 = node.config_gateway.config_set_low_pass_filter_p1_110(mac, parseInt(config.low_pass_filter_p1_110));
|
|
3498
|
+
}
|
|
3499
|
+
if(config.high_pass_filter_p1_110_active){
|
|
3500
|
+
promises.high_pass_filter_p1_110 = node.config_gateway.config_set_high_pass_filter_p1_110(mac, parseInt(config.high_pass_filter_p1_110));
|
|
3501
|
+
}
|
|
3502
|
+
if(config.on_request_timeout_80_active){
|
|
3503
|
+
promises.on_request_timeout = node.config_gateway.config_set_on_request_timeout_80(mac, parseInt(config.on_request_timeout_80));
|
|
3504
|
+
}
|
|
3505
|
+
if(config.deadband_80_active){
|
|
3506
|
+
promises.deadband = node.config_gateway.config_set_deadband_80(mac, parseInt(config.deadband_80));
|
|
3507
|
+
}
|
|
3508
|
+
if(config.payload_length_80_active){
|
|
3509
|
+
promises.payload_length_80 = node.config_gateway.config_set_payload_length_80(mac, parseInt(config.payload_length_80));
|
|
3510
|
+
}
|
|
3511
|
+
if(config.set_rtc_101){
|
|
3512
|
+
promises.set_rtc_101 = node.config_gateway.config_set_rtc_101(mac);
|
|
3513
|
+
}
|
|
3514
|
+
if(config.auto_raw_interval_110_active){
|
|
3515
|
+
promises.auto_raw_interval_110 = node.config_gateway.config_set_auto_raw_interval_110(mac, parseInt(config.auto_raw_interval_110));
|
|
3516
|
+
}
|
|
3517
|
+
if(config.auto_raw_destination_110_active){
|
|
3518
|
+
promises.auto_raw_destination_110 = node.config_gateway.config_set_auto_raw_destination_110(mac, parseInt(config.auto_raw_destination_110, 16));
|
|
3519
|
+
}
|
|
3520
|
+
if(config.clear_probe_uptimers_110){
|
|
3521
|
+
promises.clear_probe_uptimers = node.config_gateway.config_set_clear_probe_uptimers_110(mac);
|
|
3522
|
+
}
|
|
3523
|
+
if(config.smart_interval_110_active){
|
|
3524
|
+
promises.smart_interval_110 = node.config_gateway.config_set_smart_interval_110(mac, parseInt(config.smart_interval_110));
|
|
3525
|
+
}
|
|
3526
|
+
if(config.smart_threshold_110_active){
|
|
3527
|
+
promises.smart_threshold_110 = node.config_gateway.config_set_smart_threshold_110(mac, parseInt(config.smart_threshold_110));
|
|
3528
|
+
}
|
|
3529
|
+
if(config.fly_interval_110_active){
|
|
3530
|
+
promises.fly_interval_110 = node.config_gateway.config_set_fly_interval_110(mac, parseInt(config.fly_interval_110));
|
|
3531
|
+
}
|
|
3532
|
+
if(config.max_raw_sample_110_active){
|
|
3533
|
+
promises.max_raw_sample_110 = node.config_gateway.config_set_max_raw_sample_110(mac, parseInt(config.max_raw_sample_110));
|
|
3534
|
+
}
|
|
3535
|
+
if(config.motion_to_sampling_delay_110_active){
|
|
3536
|
+
promises.motion_to_sampling_delay_110 = node.config_gateway.config_set_motion_to_sampling_delay_110(mac, parseInt(config.motion_to_sampling_delay_110));
|
|
3537
|
+
}
|
|
3538
|
+
if(config.max_num_motion_tx_delay_110_active){
|
|
3539
|
+
promises.max_num_motion_tx_delay_110 = node.config_gateway.config_set_max_num_motion_tx_delay_110(mac, parseInt(config.max_num_motion_tx_delay_110));
|
|
3540
|
+
}
|
|
3541
|
+
break;
|
|
3327
3542
|
case 1010:
|
|
3328
3543
|
if(config.stay_on_mode_539_active){
|
|
3329
3544
|
promises.stay_on_mode_539 = node.config_gateway.config_set_stay_on_mode_539(mac, parseInt(config.stay_on_mode_539));
|
|
@@ -3373,7 +3588,7 @@ module.exports = function(RED) {
|
|
|
3373
3588
|
}
|
|
3374
3589
|
}
|
|
3375
3590
|
// These sensors listed in original_otf_devices use a different OTF code.
|
|
3376
|
-
let original_otf_devices = [53, 80, 81, 82, 83, 84, 87, 101, 102, 103, 110, 111, 112, 114, 117, 180, 181, 518, 519, 520, 538];
|
|
3591
|
+
let original_otf_devices = [53, 80, 81, 82, 83, 84, 87, 101, 102, 103, 110, 111, 112, 114, 117, 180, 181, 518, 519, 520, 538, 543];
|
|
3377
3592
|
// If we changed the network ID reboot the sensor to take effect.
|
|
3378
3593
|
// TODO if we add the encryption key command to node-red we need to reboot for it as well.
|
|
3379
3594
|
if(reboot){
|