tgymnich / homebridge-vsx

📻 A VSX and SC Plugin for homebridge
https://www.npmjs.com/package/homebridge-vsx
Apache License 2.0
12 stars 13 forks source link

issue with VSX-S510 #1

Closed oleg77s closed 7 years ago

oleg77s commented 7 years ago

All AV Recievers, wich work with the iControl AV5 App are supported. My VSX-S510 is supported by the iControl AV5 too: ip 192.168.0.160 port: 8102

homebridge config: { "accessory": "VSX", "name": "VSX-S510", "description": "Reciever", "ip": "192.168.0.160"
}

Log:
[2016-11-13 15:58:48] [VSX-S510] Initializing VSX accessory… handled error { Error: connect ECONNREFUSED 192.168.0.160:23 at Object.exports._errnoException (util.js:1026:11) at exports._exceptionWithHostPort (util.js:1049:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1085:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '192.168.0.160', port: 23 } Connection closed ——————————— Port scan 192.168.0.160:

80 HTTP 443 HTTPS 1026 DCOM services 1900 UPNP 8080 Unknown Port Type 8102 Unknown Port Type

There are no open port 23


Are you still develop and support this plugin? Can you help me?

Best Regards

Oleg

tgymnich commented 7 years ago

This plugin works by connecting to port 23. Perhaps Pioneer changed the way the app works with newer devices. Try telnet 192.168.0.160 8102 on your computer. If you get a connection we might be able to update the plugin to support newer devices

oleg77s commented 7 years ago

Trying: Last login: Thu Nov 17 19:30:57 on ttys002 Mac-mini-olegs:~ oleg$ telnet 192.168.0.160 8102 Trying 192.168.0.160... Connected to 192.168.0.160. Escape character is '^]'.

oleg77s commented 7 years ago

run the command from http://raymondjulin.com/2012/07/15/remote-control-your-pioneer-vsx-receiver-over-telnet/ :

PO ICA0 ICA0 RGC100000001000000000000000000000 GBP04 GCP9910000"" GDP000010000100001 GEP01000"" GEP02000"" GEP03000"" GEP04000"" FN17 PWR0 ICA0 RGC100000001000000000000000000000 VOL053 FN25 VD VOL051 VU VOL053 PF PWR2

working :) so port number needed in config

tgymnich commented 7 years ago

I am going to update the plugin to support different ports. Please let me now if this change works for you.

oleg77s commented 7 years ago

On/Off is ok now, thank you.

tgymnich commented 7 years ago

Great