Closed fmgyotoku closed 4 years ago
That looks to me like incorrect decryption. I would check the keys and deviceid are correct.
@subzero79 , you are right. I tested with another smart plug and it worked well. I guess there might be something with the device I was using before. I will close this issue. Thanks a lot for the quick response! 👍
Howdy! I used this node some time ago with great results and I'm trying now a new node-red implementation on a raspberry pi. So I installed tuyapi, tuya-cli and the node-red-contrib-tuya-local.
When I ran the tuya-cli, I can get all the device IDs and local keys as expected.
Also, when I configured the node and deployed the flow, I could see that the connection was returning connected status as per the screenshot.
However, the debug is returning an awkward message from the node:
When I listed the npm installation, I found the following details for the node package:
Could this be any dependency compatibility issue? Is it possible to point to the 3.2.3 tuya library instead of the 5.1.2? How could this be achieved?