cellcortex / homebridge-yeelighter

Homebridge plugin for Yeelights - special focus on supporting features of ceiling lights
MIT License
98 stars 19 forks source link

[Support] Suppress the warning messages #99

Closed uswong closed 2 years ago

uswong commented 2 years ago

Hi, I have 12 Yeelight Ceiling Lights and 5 of them with secondary ambient lights. The plugins works perfectly for every one of them. Thanks so much for putting this plugin together . I have a separate smart switch to turn off the power to each of these Lights when not in use but the consequence of switching the power off to the lights seem to have created a lot of warnings from the plugins as shown below. It is filling up my homebridge log screen. Is there a way to suppress those warnings?

image

Cheers, uswong

uswong commented 2 years ago

Does anyone in this community has the same issue as mine?

The "log":false is already the default. Setting it explicitly in config.json did not do anything.

Can @cellcortex have a look at this?

cellcortex commented 2 years ago

I put some extra safeguards in place with version 2.4.20