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

Error: connect ECONNREFUSED 192.168.2.103:20060 when executing example.js #1

Open
ghost opened this issue Jan 13, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 13, 2018

Hello, I've tried to run the example.js file, but I always get the following error:

Found a device: 3f1v2EKZHGYjqSjZ7G53sL
events.js:183
throw er; // Unhandled 'error' event
^

Error: connect ECONNREFUSED 192.168.2.103:20060
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)

How can I use the commands from your project like changing volume?
I tried device.volume.set(value) in the example.js right after console.log in line 9.
Cannot get it to work, what do I do wrong?

@jpg0
Copy link

jpg0 commented Jun 9, 2018

Go to Settings > Network > Home Network Setup
• Select IP Control
• Set Authentication to “Normal & Pre-shared Key”
• Set Simple IP control to “On”

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

1 participant