Node-red-contrib-tuya-smart-device doesn't work with newer Tuya devices

I have node-red-contrib-tuya-smart-device installed and running successfully with 12 devices, all different makes on TUYA Lamps.
I have recently tried to add extra lamps.

  • I connect and configure them using the Tuya Smart Life App
  • I log onto my iot.tuya.com account and use the DeviceID from the Smart Life App to find the 'Secret'
  • I take this information along with the static ip address I assign to the device and put it all into the node-red-contrib-tuya-smart-device config for the device, save and deploy.

Initially, the device shows up as connected, but after 10 seconds or whenever I send it a command, the status changes to 'NOT CONNECTED' and the command is ignored.
Then it goes back to 'Connected' again for 9 seconds until the next poll cycle.
It is connected and controllable from the Smart Life App, but not via node-red.

All the other devices are visible, stay connected and respond to commands. I can't see what I'm doing wrong.

I'm running the latest version of node-red (3.1.6) and node-red-contrib-tuya-smart-device (5.2.0) running on a pi3b+ with Bullseye.

Any thoughts?

Please do not double post topics, you have a topic open about this issue already. Please add any new info to the original topic. You can also enquire on the github page for the node and open an issue with the maintainer of the node, as they may have more insight into the issue.