@ncd-io/node-red-enterprise-sensors 0.1.12 → 0.1.13
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 +2 -2
- package/package.json +1 -1
- package/wireless.html +1 -1
package/lib/WirelessGateway.js
CHANGED
|
@@ -62,7 +62,7 @@ module.exports = class WirelessSensor{
|
|
|
62
62
|
var new_mode = is_new;
|
|
63
63
|
var mode = (type == 'power_up') ? data.mode : ((type == 'sensor_data') ? 'RUN' : ((type == 'config_ack') ? 'ACK' : 'PGM'));
|
|
64
64
|
// #OTF
|
|
65
|
-
var otf_devices = [45,48,78,79,80,81,82,84,88,89,91,101,102,519,520,521];
|
|
65
|
+
var otf_devices = [26,45,48,78,79,80,81,82,84,88,89,91,101,102,519,520,521];
|
|
66
66
|
var device_type = msbLsb(frame.data[6], frame.data[7]);
|
|
67
67
|
// var device_type = frame.data[7];
|
|
68
68
|
|
|
@@ -214,7 +214,7 @@ module.exports = class WirelessSensor{
|
|
|
214
214
|
};
|
|
215
215
|
|
|
216
216
|
// #OTF
|
|
217
|
-
var otf_devices = [45,48,78,79,80,81,82,84,88,89,91,101,102,519,520,521];
|
|
217
|
+
var otf_devices = [26,45,48,78,79,80,81,82,84,88,89,91,101,102,519,520,521];
|
|
218
218
|
if(otf_devices.includes(parsed.sensor_type)){
|
|
219
219
|
// If the message says FLY and there is not FLY timer in progress.
|
|
220
220
|
if(payload[8] == 70 && payload[9] == 76 && payload[10] == 89) {
|
package/package.json
CHANGED
package/wireless.html
CHANGED
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
<label for="node-input-auto_config"><i class="icon-tag"></i> Auto Config</label>
|
|
703
703
|
<input class="section-control" type="checkbox" id="node-input-auto_config" value="1">
|
|
704
704
|
</div>
|
|
705
|
-
<div class="form-row ncd-dependent" data-sensor-45 data-sensor-48 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-91 data-sensor-101 data-sensor-102 data-sensor-519 data-sensor-520 data-sensor-521>
|
|
705
|
+
<div class="form-row ncd-dependent" data-sensor-26 data-sensor-45 data-sensor-48 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-91 data-sensor-101 data-sensor-102 data-sensor-519 data-sensor-520 data-sensor-521>
|
|
706
706
|
<hr>
|
|
707
707
|
<label for="node-input-on_the_fly_enable"><i class="icon-tag"></i> OTF Config*</label>
|
|
708
708
|
<input type="checkbox" id="node-input-on_the_fly_enable" value="1">
|