This commit is contained in:
Martin Donnelly 2017-01-07 22:36:39 +00:00
parent dd233e830d
commit 2f92339a00

View File

@ -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..');