Closed ratsputin closed 3 years ago
Okay. I did just dig through the syslog. This is what I'm seeing:
Sep 24 19:35:52 ha Node-RED[745605]: 24 Sep 19:35:52 - [info] [tuya-smart-device:Light #7] startComm(): Connecting to Tuya with params {"id":"805..............aad","key":"9cb..........57a","ip":"","issueGetOnConnect":false,"nullPayloadOnJSONError":false,"version":"3.1"} , findTimeout : 10000 , retryTimeout: 10000
Sep 24 19:35:52 ha Node-RED[745605]: 24 Sep 19:35:52 - [info] [tuya-smart-device:Light #7] findDevice(): Initiating the find command
Sep 24 19:36:02 ha Node-RED[745605]: 24 Sep 19:36:02 - [error] [tuya-smart-device:Light #7] find() timed out. Is the device powered on and the ID or IP correct?
Not really very helpful... Anything else I can check?
This is a TuyAPI issue--I was able to reproduce the issue using the sample code from there. Sorry to be a bother.
I was able to resolve the issue, although not in the way I wanted to.
I had to specify the IP address of the device as well as the device ID. This was the local IP address (not the public one specified on the Tuya site). Additionally, I had to specify the protocol version of 3.3.
This was a suggestion made in a ticket that had been closed on TuyAPI.
I'm consistently getting the following error:
find() timed out. Is the device powered on and the ID or IP correct?
Here are the steps I followed:
I retrieved all of the keys using
tuya-cli wizard
:I then deployed a
tuya - smart - device
node and filled in:I deploy it and the node cycles between
connecting
andCan't find device
.I have verified these values in the Tuya IoT Platform; the device id is definitely correct.
Any suggestions as to what might not be working?