codetheweb / tuyapi

🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi.
MIT License
2.08k stars 342 forks source link

ENOTFOUND Errors #54

Closed dugdathug closed 6 years ago

dugdathug commented 6 years ago

So close, at least I feel like it. My environment is Ubuntu via HyperV on a windows 10. The VM has access to the same wireless as the power strip I'm attempting to take hostage. I wish I were smart enough to figure this out by myself. I do very much appreciate the work you're doing. My debug is shared on my g-drive here ==> https://docs.google.com/document/d/1mWSme6a7RJfqUNIP__O028pZ5n2UY5srr9-5aUCX9bU/edit?usp=sharing

dugdathug commented 6 years ago

This was resolved by placing the broadcasthost ip into the /etc/hosts file.

codetheweb commented 6 years ago

Moved issue to https://github.com/TuyaAPI/link/issues/3.

codetheweb commented 6 years ago

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