Open mrykin opened 3 years ago
Thanks for this! All logs other than the setColorTemperature should be hidden if you have the latest version of the plugin. A new major update will be out soon that will enable a global debug mode option which otherwise will hide ~99% of messages from this plugin.
I have the last version. setColorTemperature - is not hidden.
I'll wait for the update, thanks!
The latest changes with the log clean up was not published in a release. Last release was 3/25, Log changes were 4/10.
I was including beta releases in my comment, nevertheless a public release with several updates are around the corner.
Please provide us with a way to disable logs, or to change their verbosity to only errors. This is way too much logging...
Please provide us with a way to disable logs, or to change their verbosity to only errors. This is way too much logging...
As Edwin has said, an update is being worked on.
You are free to compile the plugin from the master branch yourself, or wait for a beta/release. We're not here to rush out bad updates.
Did the debug option not make it into the August release?
Wondering the same thing..
Please provide us with a way to disable logs, or to change their verbosity to only errors. This is way too much logging...
As Edwin has said, an update is being worked on.
You are free to compile the plugin from the master branch yourself, or wait for a beta/release. We're not here to rush out bad updates.
Is this update out yet?
@shubhamshah02 @adragan10 @CGDaveMac @alejandroeclair @rcoletti116 @mrykin FYI you can just change the code to hide the messages you do not want, as follows:
/usr/local/lib/node_modules/homebridge-tuya/lib/
)TuyaAccessory.js
Tuya DEBUG
is a good start) by adding //
at the beginning of the line of code. For instance:
//console.log(`[Tuya DEBUG] reconnect called for ${this.context.name}`);
^I will check this out. Thank you.
Does anyone know if this plugin been abandoned? It's been over a year since there have been any updates and it looks like this disable log function was never implemented.
I think a ton of the logging I see comes from the bulbs tracking daylight color temps through the day. Is there any way to disable that? Example:
[Tuya] Heard back from Entry 3 with command 8 [Tuya] Heard back from Entry 1 with command 8 [Tuya] Heard back from Hall 2 with command 8 [Tuya] Heard back from Chandelier 2 with command 8 [Tuya] setColorTemperature: 215 [Tuya] Sending Chandelier 1 {"21":"white","23":440} [Tuya] Heard back from Chandelier 1 with command 8 [Tuya] setColorTemperature: 215 [Tuya] Sending Paseo 2 {"21":"white","23":440} [Tuya] setColorTemperature: 215 [Tuya] Sending Paseo 1 {"21":"white","23":440} [Tuya] setColorTemperature: 292 [Tuya] Sending Hall 1 {"21":"white","23":155} [Tuya] setColorTemperature: 215 [Tuya] Sending Chandelier 4 {"21":"white","23":440} [Tuya] setColorTemperature: 215 [Tuya] Sending Entry 2 {"21":"white","23":440} [Tuya] Heard back from Paseo 2 with command 8 [Tuya] Heard back from Paseo 1 with command 8 [Tuya] Heard back from Hall 1 with command 8 [Tuya] Heard back from Entry 2 with command 8 [Tuya] Heard back from Chandelier 4 with command 8 [Tuya] setColorTemperature: 215 [Tuya] Sending Chandelier 5 {"21":"white","23":440} [Tuya] setColorTemperature: 215 [Tuya] Sending Chandelier 3 {"21":"white","23":440} [Tuya] Heard back from Chandelier 5 with command 8 [Tuya] Heard back from Chandelier 3 with command 8 [Tuya] setColorTemperature: 215 [Tuya] Sending Entry 1 {"21":"white","23":440} [Tuya] setColorTemperature: 215 [Tuya] Sending Entry 3 {"21":"white","23":440} [Tuya] setColorTemperature: 215 [Tuya] Sending Chandelier 2 {"21":"white","23":440} [Tuya] setColorTemperature: 292 [Tuya] Sending Hall 2 {"21":"white","23":155} [Tuya] Heard back from Entry 3 with command 8
Reviving a slightly old post :) I have pushed a fix for this in 3.1.0 (beta is published to NPM with this ready for testing). Debug logging can be toggled on using the Debug toggle from the homebridge UI.
Reviving a slightly old post :) I have pushed a fix for this in 3.1.0 (beta is published to NPM with this ready for testing). Debug logging can be toggled on using the Debug toggle from the homebridge UI.
Hi @05TEVE I am on 3.1.1, can you please let me know where to find the Debug toggle?
Please add the settings for disable this logs: