vvpossible / homebridge_yeelight

Yeelight plugin for homebridge
303 stars 59 forks source link

Disable HeartBeat Logs #22

Open RealLittleSherman opened 7 years ago

RealLittleSherman commented 7 years ago

Hi, when i use the plugin in my homebridge logfile appears some lika that every 5-10secs (per Bulb)

send hb to: 0x000000000361abcd {"id":-1,"method":"get_prop","params":["power"]}

Can i disable this debug output?

Thanks in advance

YinHangCode commented 7 years ago

open yee.js // console.log(.....

sendorm commented 7 years ago

You can check my branch: https://github.com/sendorm/homebridge_yeelight/commit/6c4a94e1e9b83fb6b16cc0e342609c461e1a0220

philboycn commented 7 years ago

Pls give us an update for this, Thanks!

sendorm commented 7 years ago

My branch already solves this. You need to update the code yourself. It's very easy, just use"sudo nano yee.js" and comment the console logs. My branch shows where to update, or just use my branch.

philboycn commented 7 years ago

@sendorm Im using synology NAS and Docker as homebridge server, can you tell me where i can find homebridge local folder pls? i dont know where to replace the yee.js ...

charlietomo commented 7 years ago

In order to find where your yee.js file is you can run find . -name "yee.js" -print at the terminal. I don't run homebridge on Synology or with docker so can't help with getting to the terminal.