Skip to content
Permalink
Browse files
Decrease console logs
  • Loading branch information
sendorm committed Jul 15, 2017
1 parent a41b0db commit 6c4a94e1e9b83fb6b16cc0e342609c461e1a0220
Showing with 2 additions and 2 deletions.
  1. +2 −2 yeelight/lib/yee.js
@@ -95,7 +95,7 @@ YeeDevice = function (did, loc, model, power, bri,
return;
}

console.log("send hb to: " + that.did);
//console.log("send hb to: " + that.did);

var req = {id:-1, method:'get_prop',
params:['power']};
@@ -250,7 +250,7 @@ YeeDevice = function (did, loc, model, power, bri,
}
var msg = JSON.stringify(cmd);

console.log(msg);
//console.log(msg);

this.sock.write(msg + "\r\n");
}.bind(this);

3 comments on commit 6c4a94e

@RealLittleSherman

This comment has been minimized.

Copy link

@RealLittleSherman RealLittleSherman replied Aug 17, 2017

Thanks!

@RealLittleSherman

This comment has been minimized.

Copy link

@RealLittleSherman RealLittleSherman replied Aug 17, 2017

Maybe a new item in the config for disabling?

{
"platform": "yeelight",
"name": "yeelight"
"verboseLogging": false
}

Thanks!

@charlietomo

This comment has been minimized.

Copy link

@charlietomo charlietomo replied Sep 24, 2017

I second the comment for "verboseLogging": false as an option!

Please sign in to comment.