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

VSX- 930 #2

Open bbram opened 7 years ago

bbram commented 7 years ago

Is there a way of getting this package to work with the VSX- 930 model on Homebrige?

tgymnich commented 7 years ago

Are you using the iControl AV5 App? What kind of error do you get?

bbram commented 7 years ago

It refuses to connect. EHOSTUNREACH

This is my config:

   "accessories": [
                {
                        "accessory" : "VSX",
                        "name" : "VSX-921",             
                        "description" : "Receiver",
                        "ip" : "192.168.178.78",
                        "port" : 8102  
                }
        ]
tgymnich commented 7 years ago

Have you tried using port 23? If that doesn't work you can do a port scan and post the results.

tgymnich commented 7 years ago

If telnet 192.168.0.160 anyPort works we can get this package working for you. After your port scan try differents ports and if you get something like that we can fix it. Trying 192.168.0.160... Connected to 192.168.0.160. Escape character is '^]'.

maattt34 commented 7 years ago

Hi TG908,

I have this exact problem when doing telnet ! Can you help me ?

Thank you very much,

Matt

maattt34 commented 7 years ago

Hello again,

I managed to power ON and OFF my VSX-527 on port 8102 but it still remains very unstable as it was not working anymore the day after (a reboot of homebridge appears to solve the issue every time).

Here is what I get in homebridge every time a command is sent to the AV receiver : AN Connection closed CONNECTED TO: undefined:undefined DATA: PWR0

Do you think you can help me make it more stable on my setup ?

Thanks in advance !

tgymnich commented 7 years ago

The plugin in is kind of in a beta state. It should not crash but the plugin is of now not able to ge the current state of the device. It can only toggle it on/off without knowing the current status. At the moment i dont have access to my reciever

robo-kob commented 7 years ago

I get also an error with both Ports (23 & 8102). I use a Pioneer SC-LX501 and iControlAV5 works.

{ [Error: connect ECONNREFUSED 192.168.178.38:23] code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '192.168.178.38', port: 23 }

tgymnich commented 7 years ago

Maybe they are using another port or changed the protocol??

robo-kob commented 7 years ago

hmm It works partially with the onkyo-avr plugin.

tgymnich commented 7 years ago

Maybe they are using a different port...

mark125431 commented 5 years ago

Hey. Did anyone get this working ? I have exactly the same issue 😥