Skip to content

Commit

Permalink
Decrease console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sendorm committed Jul 15, 2017
1 parent a41b0db commit 6c4a94e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yeelight/lib/yee.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']};
Expand Down Expand Up @@ -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);
Expand Down

3 comments on commit 6c4a94e

@RealLittleSherman
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@RealLittleSherman
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a new item in the config for disabling?

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

Thanks!

@charlietomo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.