cr3ative / homebridge-apcaccess

what if apcaccess, but in homebridge??
MIT License
8 stars 5 forks source link

Suppress Logs #14

Closed andrimanna closed 1 year ago

andrimanna commented 1 year ago

Would there be the possibility to stop the logs, perhaps by defining a debug and a deploy mode?

cr3ative commented 1 year ago

Sure! Why not. Do you know how other plugins do this? I can copy their style. Alternatively, if you want to implement this, I can look at a PR. No promises on speed my side.

cr3ative commented 1 year ago

I've published 0.2.1-rc-0. Can you give it a try and see if it does what you want?

andrimanna commented 1 year ago

It works fine, I've tried both with logs on and off and it respects the behavior. Thank you Unfortunately, i don't have a ups with temperature sensor, thus i can't try that thing.

cr3ative commented 1 year ago

Fantastic. I'll publish this in a few days time to give the other person a chance to try their sensor! Thank you!

cr3ative commented 1 year ago

Resolving - will publish a new version shortly!