vinodsr / node-red-contrib-tuya-smart-device

a node-red module for managing tuya smart devices
https://flows.nodered.org/node/node-red-contrib-tuya-smart-device
MIT License
47 stars 15 forks source link

syslog gets flooded with info messages event:dp-refresh #107

Closed iamhermes closed 1 year ago

iamhermes commented 1 year ago

using node-red on RaspberryPi and sdcard

my syslog gets flooded with event:dp-refresh messages from node-red and this plugin, so it gives many log entries (one message every 2 seconds for 1 device, 3 tuya devices connected... 3 messages per 2 seconds)

An option to setup logging for the node is the better option, i think. (instead to log everything) in my instance, i have disabled this lines to protect the sdcard.

found this in node-red-contrib-tuya-smart-device/src/tuya-smart-device-generic.js and node-red-contrib-tuya-smart-device/src/tuya-smart-device.js

        node.log(
          `Data from device  [event:dp-refresh]: ${JSON.stringify(data)}`
        );
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

Auto closing the issue