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 on basic example #1

Open
NAIJULU opened this issue Apr 13, 2015 · 3 comments
Open

Error on basic example #1

NAIJULU opened this issue Apr 13, 2015 · 3 comments

Comments

@NAIJULU
Copy link

NAIJULU commented Apr 13, 2015

When performing basic example get the following error:

/home/naijulu/smart_tv/app.js:8
throw new Error(err);
^
Error: Samsung Remote Client: Device is off or unreachable ECONNREFUSED
at callback (/home/naijulu/smart_tv/app.js:8:15)
at Socket. (/home/naijulu/smart_tv/node_modules/samsung-remote/lib/samsung-remote.js:94:13)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:415:13)


But if use only: remote.isAlive, the response is: TV is ALIVE!

Thanks for your help.

@pavelbinar
Copy link

console.log('TV is ALIVE!');

Is response for simple IP ping: https://github.com/natalan/samsung-remote/blob/master/lib/samsung-remote.js#L103

@rosch85
Copy link

rosch85 commented Oct 29, 2016

i'm struggling with this too. Sending keys works perfect, but the isAlive call fails every time.

@Neilshweky
Copy link

Having the same problem

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

4 participants