Hi,
I am trying to connect to a Tuya Temperature and Humdity sensor using the "Tuya smart device hub" node with no success.
I have found the key and the id as explained in the instructions from the nodes installation notes.
The error I am getting from the node red log file is:
13 Jun 18:42:03 - [info] [tuya-smart-device-generic:14f5120375088e7d] [1686638523313] recieved data on input : {"_msgid":"6e69e4d84c7d4ac5","payload":{"deviceVirtualId":"aaaaaaaaaaaaaaaaaaaaaaaa","deviceKey":"kkkkkkkkkkkkkkkkk","deviceName":"Bed Zone","msg.payload":{"dps":1,"operation":"GET"}},"topic":"","moduleVersion":"5.0.1"}
13 Jun 18:42:03 - [info] [tuya-smart-device-generic:14f5120375088e7d] Connecting to tuya with params : {"id":"aaaaaaaaaaaaaaaaaaaaaaaa","key":"kkkkkkkkkkkkkkkkk","issueGetOnConnect":false,"nullPayloadOnJSONError":false,"version":"3.1"}
13 Jun 18:42:03 - [info] [tuya-smart-device-generic:14f5120375088e7d] [1686638523313] initiating the find command
13 Jun 18:42:13 - [error] [tuya-smart-device-generic:14f5120375088e7d] [1686638523313] An error had occured : find() timed out. Is the device powered on and the ID or IP correct?
13 Jun 18:42:13 - [info] [tuya-smart-device-generic:14f5120375088e7d] [1686638523313] Cannot find the device
This is the output from the debug node
6/13/2023, 6:42:14 PMnode: 14f5120375088e7d
msg : string[107]
"[1686638523313] An error had occured : find() timed out. Is the device powered on and the ID or IP correct?"
The ID is definitely correct and I am not inputting an IP address.
This is the json in the inject node to the "Tuya smart device hub" to trigger a connection
{
"deviceVirtualId": "aaaaaaaaaaaaaaaaaaaaaaaa",
"deviceKey": "kkkkkkkkkkkkkkkkk",
"deviceName": "Bed Zone",
"msg.payload": {
"dps": 1,
"operation": "GET"
}
}
I am unsure if the DPS number is correct but am unable to connect.
I have found the IP address, matching the MAC address from the ARP table in my router, and can ping the device from the node red server machine. However once a connection is attempted from node red I am no longer able to ping the device.
Also tried removing the device from the smart life app so that it has no other hub connections, with no success.
Any help would be appreciated