From 47269c3633299cef15fca377096baaf6b39b4847 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Tue, 28 Feb 2017 23:39:57 +0000 Subject: [PATCH] some changes to global mode --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 1884617..3d024ec 100644 --- a/server.js +++ b/server.js @@ -56,8 +56,8 @@ busEmitter.on('changeState', function(mode) { if (wemoClient !== null) { wemoClient.setBinaryState(mode); - let newState = wemoClient.getBinaryState(); - busEmitter.emit('updateState', newState); + // let newState = wemoClient.getBinaryState(); + // busEmitter.emit('updateState', newState); } else { console.error('No wemoClient'); }