some changes to global mode
This commit is contained in:
parent
e48bf30f68
commit
27e364641a
@ -63,11 +63,11 @@ busEmitter.on('changeState', function(mode) {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
setInterval(function() {
|
/* setInterval(function() {
|
||||||
let newState = wemoClient.getBinaryState();
|
let newState = wemoClient.getBinaryState();
|
||||||
busEmitter.emit('updateState', newState);
|
busEmitter.emit('updateState', newState);
|
||||||
|
|
||||||
}, 30000);
|
}, 30000);*/
|
||||||
|
|
||||||
|
|
||||||
let mqtt = new mqttClient.mqttClient(busEmitter);
|
let mqtt = new mqttClient.mqttClient(busEmitter);
|
||||||
|
Loading…
Reference in New Issue
Block a user