Skip to content
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

ENOTFOUND Error - broadcasthost ip #55

Closed
joehanes opened this issue Aug 12, 2018 · 1 comment
Closed

ENOTFOUND Error - broadcasthost ip #55

joehanes opened this issue Aug 12, 2018 · 1 comment

Comments

@joehanes
Copy link

Describe the bug
A clear and concise description of what the bug is.
I believe I have a similar problem as described in issue #54
Unfortunately I have no idea which IP adress to put into for

 broadcasthost ip

Additional context
I am not sure if my socket can actually be registered with your API,...
it works fine with the Smart Life ios App.
The machine I use above is a linux Mint machine

this is my output on the console
xxx@xxx ~ $ tuya-cli link-wizard
? Make the indicator light on your device flash.
For most devices, this means holding down the main button.
Press return when it's blinking. Yes
? What's your WiFi called? XXXXXXX
? What's the password for your WiFi? [hidden]
? How many devices do you want to link? 1
? Do you want to save devices that are successfully linked? Yes
✖ Device(s) failed to be registered!
{ Error: getaddrinfo ENOTFOUND broadcasthost
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26)
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'broadcasthost' }

@codetheweb
Copy link
Owner

Fixed. Please update the CLI tool with npm i @tuyapi/cli@1.1.0 -g and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants