From 2f92339a00e0cd1de49fc2425f75e4aced5f7147 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Sat, 7 Jan 2017 22:36:39 +0000 Subject: [PATCH] graphing --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 593d08a..6036d3e 100644 --- a/server.js +++ b/server.js @@ -35,7 +35,7 @@ let wemoClient = null; let wemo = new Wemo(); -/*wemo.discover(function(deviceInfo) { +wemo.discover(function(deviceInfo) { logger.info('Wemo Device Found: %j', deviceInfo); // Get the client for the found device @@ -48,7 +48,7 @@ let wemo = new Wemo(); // Turn the switch on wemoClient.setBinaryState(0); -});*/ +}); busEmitter.on('changeState', function(mode) { logger.info('Changing state..');