You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the integration intially works, these disconnect regularly (especially the Dimming Smart Plug) and often in a way that will only reconnect if I restart the Node-Red flows (the nodes get stuck in a state of CONNECTING or an endless loop of DISCONNECTED/ERROR/CONNECTING). I've built an automation that restarts the flows if a Tuya node remains unconnected for too long, but it's a bit tiresome. Sometimes the Smart Plug "breaks" altogether and I have to turn it off at the wall.
What I've noticed from the Tuya development debug logs is that, while the Node-Red flow is actively connecting and reconnecting to the device, its available memory is rapidly depleted until it restarts itself (or just goes offline); look at the "Remaining memory" in these hourly semaphore logs from the Tuya Developer Platform:
Time
Device Event
DP ID
Event Details
Source
03/07/24 23:57:35
Device restart
Device restart
hardware watchdog reset
device itself
04/07/24 00:57:19
Device semaphore
Device semaphore
signal intensity:-51||Remaining memory:24168||UTC:1720051039||DST:1720054639
device itself
04/07/24 01:57:19
Device semaphore
Device semaphore
signal intensity:-52||Remaining memory:12600||UTC:1720054639||DST:1720058239
device itself
04/07/24 02:57:19
Device semaphore
Device semaphore
signal intensity:-55||Remaining memory:704||UTC:1720058239||DST:1720061839
device itself
04/07/24 03:00:21
Offline
Offline
closed
device itself
04/07/24 03:00:21
Online
Online
device itself
until it restarts itself (and Node-Red flows subequently have to be restarted to re-establish a connection).
If I disable the Tuya-Smart-Device node and leave the plug alone, its memory stays static ("Remaining memory:36200" every hour).
The Human Presence sensor has the same issue: depleting memory on the device and it periodically restarting itself resulting in the Node-Red Tuya node being unable to reconnect.
Has anyone seen this with their devices?
Do you know what might cause it - or is there a way I can debug what is going on?
For information, I have v5.3.0 of the node and am assuming it's correct to use Tuya Protocol v3.1.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have been happily using the node to integrate with a variety of Tuya devices.
But I'm having problems with a couple of new devices:
Although the integration intially works, these disconnect regularly (especially the Dimming Smart Plug) and often in a way that will only reconnect if I restart the Node-Red flows (the nodes get stuck in a state of CONNECTING or an endless loop of DISCONNECTED/ERROR/CONNECTING). I've built an automation that restarts the flows if a Tuya node remains unconnected for too long, but it's a bit tiresome. Sometimes the Smart Plug "breaks" altogether and I have to turn it off at the wall.
What I've noticed from the Tuya development debug logs is that, while the Node-Red flow is actively connecting and reconnecting to the device, its available memory is rapidly depleted until it restarts itself (or just goes offline); look at the "Remaining memory" in these hourly semaphore logs from the Tuya Developer Platform:
until it restarts itself (and Node-Red flows subequently have to be restarted to re-establish a connection).
If I disable the Tuya-Smart-Device node and leave the plug alone, its memory stays static ("Remaining memory:36200" every hour).
The Human Presence sensor has the same issue: depleting memory on the device and it periodically restarting itself resulting in the Node-Red Tuya node being unable to reconnect.
Has anyone seen this with their devices?
Do you know what might cause it - or is there a way I can debug what is going on?
For information, I have v5.3.0 of the node and am assuming it's correct to use Tuya Protocol v3.1.
Thanks,
Chris
Beta Was this translation helpful? Give feedback.
All reactions