-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Error from socket #16
Comments
Going by some of the errors you reported in the other comment, it looks like it could be a network error. You may want to double check that nothing else is trying to access the device, including an app open in the background on your phone. Please try prefixing the command with |
Im positive nothing is trying to connect to it. I deleted the app of my iphone after i got the id and key. You mean this? |
Now i keep getting these errors. |
root@raspberrypi:~# sudo DEBUG=* homebridge Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
EventedHTTPServer Server listening on port 51826 +0ms |
What's your network setup like? I think the issue likely lies with your network rather than the device or TuyAPI. Have you ever been able to successfully set the device state at all with TuyAPI? If not, it may have v2 firmware on it. TuyAPI is currently incompatible with these devices. |
@codetheweb Network setup? Im not sure what you mean. Do you need to port forward? Maybe that could be it. |
Is the brand Teckin by any chance? v1.0.5 of firmware on Teckin devices upgrades the protocol to 3.3, which we don't support yet. See here: ct-Open-Source/tuya-convert#140. |
Closing this because of inactivity, feel free to reopen if you still have issues. |
Hi @codetheweb. I use DEBUG=* tuya-cli get --ip XXX.XXX.XXX.XXX --id YYYYYYYYY --key KKKKKKKK --all, but I'm still have the same error: Error: connect EHOSTUNREACH Can you give some hints? |
Please open a new issue if you're having problems @anrolmar. Be sure to include the output of that command, and some more details about your network setup. |
Hey i keep getting this? You know what to do?
root@raspberrypi:~# tuya-cli get --ip 192.168.178.59 --id 03462186ecfabc3331a3 --key 9b8cf008fb86040f -a
events.js:182
throw er; // Unhandled 'error' event
^
Error: Error from socket
at Socket.client.on.err (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/tuyapi/index.js:365:30)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
The text was updated successfully, but these errors were encountered: