From c86fdc839acab5ba8ce8f91fa367eb6663d49af8 Mon Sep 17 00:00:00 2001 From: GadgetUK Date: Sat, 26 Nov 2016 21:17:20 +0000 Subject: [PATCH] Update 100-heatmiser.js (#255) Change to underlying nodejs module for addressing Neo and Wifi units --- hardware/heatmiser/100-heatmiser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/heatmiser/100-heatmiser.js b/hardware/heatmiser/100-heatmiser.js index 10ed72b7..e9f311fe 100644 --- a/hardware/heatmiser/100-heatmiser.js +++ b/hardware/heatmiser/100-heatmiser.js @@ -13,7 +13,7 @@ module.exports = function(RED) { this.pollIntervalRef = undefined; var hmoutnode = this; - this.hm = new Heatmiser(this.ip, this.pin); + this.hm = new Heatmiser.Wifi(this.ip, this.pin); this.hm.on('success', function(data) { if (DEBUG) { @@ -84,7 +84,7 @@ module.exports = function(RED) { var hminnode = this; this.pollIntervalRef = undefined; - this.hm = new Heatmiser(this.ip, this.pin); + this.hm = new Heatmiser.Wifi(this.ip, this.pin); this.hm.on('success', function(data) { if (DEBUG) {