vinodsr / node-red-contrib-tuya-smart-device

a node-red module for managing tuya smart devices
https://flows.nodered.org/node/node-red-contrib-tuya-smart-device
MIT License
47 stars 15 forks source link

Device never found via virtual id or with IP address? #85

Closed Jibun-no-Kage closed 2 years ago

Jibun-no-Kage commented 2 years ago

Device never found via virtual id or with IP address?

msg : Object object context: object message: "Error: find() timed out. Is the device powered on and the ID or IP correct?" deviceVirtualId: "[redacted]" deviceIp: "" deviceKey: "[redacted]" error: object message: "find() timed out. Is the device powered on and the ID or IP correct?" source: object _msgid: "a944fa34e6e5bc60"

I used tuya-cli wizard, to get the key, got virtual id from smart app device configuration. Device is ping-able and tuya phone app can control the device without issue. So not sure what to try next?

MAC address is correct and can see it in ARP, so the device is visible from the Node Red hosting device.

vinodsr commented 2 years ago

Is the Tuya Cli installed in the same machine as node red ?

Can you try giving the IP instead of ID ?

Jibun-no-Kage commented 2 years ago

I have the tuya-cli installed. The wizard option, lists all devices as expected. Installed tuya-local NR module, and it is working.

vinodsr commented 2 years ago

Can you try IP instead of ID?

Jibun-no-Kage commented 2 years ago

Sorry I decided to keep using the nodes I now have working.