mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Update 100-heatmiser.js (#255)
Change to underlying nodejs module for addressing Neo and Wifi units
This commit is contained in:
parent
7a39c6f70b
commit
c86fdc839a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user