You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
It's been a few weeks of research and I couldn't find a solution yet.
My home wifi network is a Mesh from DLink with one main device and one extender.
I have many smart devices (switches, plugs, dimmer, WLED strips, thermostats) which work just fine. Almost all of them have Fixed IPs configured on the WiFi router.
I have automatized some things using NodeRed on a RasPi-similar system running Ubuntu and connected to the main router via cable, mostly to "attach" a switch to a WLED.
One device isn't working properly, a 2Gang Switch.
I can control it via the Tuya app. I can see it when I run "tuya-cli wizard", but the node on the Node Red cannot connect to it.
When I run DEBUG=* tuya-cli get --id '<device_id>' --key '<local_key>' --full
Error: Error from socket: connect EHOSTUNREACH 192.168.1.76:6668
at Socket. (/usr/lib/node_modules/@tuyapi/cli/node_modules/tuyapi/index.js:651:26)
at Socket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on TuyaDevice instance at:
at Socket. (/usr/lib/node_modules/@tuyapi/cli/node_modules/tuyapi/index.js:651:12)
at Socket.emit (node:events:519:28)
[... lines matching original stack trace ...]
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Node.js v20.17.0
The text was updated successfully, but these errors were encountered:
Hello,
It's been a few weeks of research and I couldn't find a solution yet.
My home wifi network is a Mesh from DLink with one main device and one extender.
I have many smart devices (switches, plugs, dimmer, WLED strips, thermostats) which work just fine. Almost all of them have Fixed IPs configured on the WiFi router.
I have automatized some things using NodeRed on a RasPi-similar system running Ubuntu and connected to the main router via cable, mostly to "attach" a switch to a WLED.
One device isn't working properly, a 2Gang Switch.
I can control it via the Tuya app. I can see it when I run "tuya-cli wizard", but the node on the Node Red cannot connect to it.
When I run
DEBUG=* tuya-cli get --id '<device_id>' --key '<local_key>' --full
I get the following output:
The text was updated successfully, but these errors were encountered: