Random nodered crashes with node-red-contrib-tuya-local


Just wondering if anyone else has experienced this. I am using node-red-contrib-tuya-local which makes use of the Tuya API to locally control Tuya switches.

Every now and again (randomly) a switch will show "disconnected" in the nodered editor. When I inject a timestamp, that device is connected again. The problem is, that when I inject the timestamp, nodered will crash and restart.

It is very random and I can't really start node-red with logging and watch the console all day the event.

So just wondering if anyone else has experienced it and what their fix was?

Those two sentences are not related to one another.

How are you making this association that Node-red restarts?

How is/are your tuya devices connected to the network? WiFi or cable?

This will typically happen (the disconnections) if you do not have the correct Version selected for the Tuya support within the config of the Node). You may wish to read the readme for the underlying API

Where they talk about working out the actual version of Tuya supported on your devices.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.