some changes to global mode

This commit is contained in:
Martin Donnelly 2017-02-28 22:52:41 +00:00
parent e48bf30f68
commit 27e364641a

View File

@ -63,11 +63,11 @@ busEmitter.on('changeState', function(mode) {
});
setInterval(function() {
/* setInterval(function() {
let newState = wemoClient.getBinaryState();
busEmitter.emit('updateState', newState);
}, 30000);
}, 30000);*/
let mqtt = new mqttClient.mqttClient(busEmitter);