Announcement

Collapse
No announcement yet.

Help with RX-V3900

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help with RX-V3900

    Trying to get this plugin working with my RX-V3900 and I'm not having much luck.

    I used various models in the configuration. I noticed that port 50000 is not accepting connections on my receiver so I switched it to port 80 after scanning it and find it's the only port it's listening on, however when I do that I get the following log entries and the plugin goes disconnected.

    Any suggestions? Thanks.
    Code:
    Sep-03 4:16:03 PM
    *
    Warning
    I/O interface Yamaha is down, executable is not running, restarting ...
    Sep-03 4:16:02 PM
    *
    Info
    Plugin Yamaha with instance: has disconnected
    Sep-03 4:15:35 PM
    *
    Yamaha Error
    Error in ParseReceivedData: Index was outside the bounds of the array. : HTTP/1.1 400 Bad Request Server: Network_Receiver/2.0 (RX-V3900) Content-Length: 0 Connection: close
    Sep-03 4:15:35 PM
    *
    Yamaha
    Connection status for Yamaha Yamaha_RX_3900: Connected
    Sep-03 4:15:35 PM
    *
    Yamaha Debug
    Connection Status: Connected
    Sep-03 4:15:35 PM
    *
    Yamaha Debug
    Connection Status: Connecting
    Sep-03 4:15:35 PM
    *
    Yamaha
    Connecting to Yamaha Yamaha_RX_3900
    Sep-03 4:15:35 PM
    *
    Yamaha
    Found 1 amplifier(s) to initialise.
    Sep-03 4:15:35 PM
    *
    Yamaha Debug
    Got 27 new/existing functions to validate
    Sep-03 4:15:34 PM
    *
    Yamaha Debug
    Found an Amplifier, [Ref:401, Name:Yamaha_RX_3900]
    Sep-03 4:15:33 PM
    *
    Yamaha Debug
    Completed InitIO
    Sep-03 4:15:33 PM
    *
    Info
    Plugin Yamaha has connected. IP:127.0.0.1:51534
    Sep-03 4:15:32 PM
    *
    Warning
    I/O interface Yamaha is down, executable is not running, restarting ...
    Sep-03 4:15:32 PM
    *
    Warning
    File does not exist: C:\Program Files (x86)\HomeSeer HS3\html\Yamaha
    Sep-03 4:15:19 PM
    *
    Info
    Plugin Yamaha with instance: has disconnected
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    { "DT_RowId": 61, "name": "Yamaha_RX_3900", "model": "RX-V1075", "ipaddress": "172.31.255.79", "ipport": "80", "enabled": "Yes", "features": "", "hsdeviceref": "401", "modelid": 10 }
    Sep-03 4:15:18 PM
    *
    Yamaha
    Updated 1 record(d) of 1
    Sep-03 4:15:18 PM
    *
    Yamaha Error
    Error in ParseReceivedData: Index was outside the bounds of the array. : HTTP/1.1 400 Bad Request Server: Network_Receiver/2.0 (RX-V3900) Content-Length: 0 Connection: close
    Sep-03 4:15:18 PM
    *
    HSTouch Server Warning
    Exception on Value Change callback: Object reference not set to an instance of an object.
    Sep-03 4:15:18 PM
    *
    Yamaha
    Connection status for Yamaha Yamaha_RX_3900: Connected
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Connection Status: Connected
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Connection Status: Connecting
    Sep-03 4:15:18 PM
    *
    Yamaha
    Connecting to Yamaha Yamaha_RX_3900
    Sep-03 4:15:18 PM
    *
    Yamaha
    Found 1 amplifier(s) to initialise.
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Skip Fwd
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Skip Rev
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Play
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Pause
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Stop
    Sep-03 4:15:18 PM
    *
    Yamaha
    Created a MAIN:PLAYBACK child device with reference 408
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Surround Decoder
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter 7ch Stereo
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter 2ch Stereo
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Mono Movie
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Drama
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Adventure
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Sci-Fi
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Spectacle
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Standard
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Music Video
    Sep-03 4:15:18 PM
    *
    Yamaha Debug
    Adding parameter Roleplaying Game
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Action Game
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Sports
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter The Bottom Line
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter The Roxy Theatre
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Cellar Club
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Chamber
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Hall in Vienna
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Hall in Munich
    Sep-03 4:15:17 PM
    *
    Yamaha
    Created a MAIN:SOUNDPRG child device with reference 407
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AirPlay
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter iPod (USB)
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter USB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter NET RADIO
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter SERVER
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Pandora
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter SiriusXM
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Rhapsody
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter NET
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AUDIO2
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AUDIO1
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter V-AUX
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AV6
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AV5
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AV4
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AV3
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AV2
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter AV1
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter HDMI5
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter HDMI4
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter HDMI3
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter HDMI2
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter HDMI1
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter TUNER
    Sep-03 4:15:17 PM
    *
    Yamaha
    Created a MAIN:INP child device with reference 406
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter On/Off
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter On
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Att -20 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Att -40 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Off
    Sep-03 4:15:17 PM
    *
    Yamaha
    Created a MAIN:MUTE child device with reference 405
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter NumberRange
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Up 5 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Down 5 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Up 2 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Down 2 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Up 1 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Down 1 dB
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Up
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Down
    Sep-03 4:15:17 PM
    *
    Yamaha
    Created a MAIN:VOL child device with reference 404
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Last
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter 120 min
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter 90 min
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter 60 min
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter 30 min
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Off
    Sep-03 4:15:17 PM
    *
    Yamaha
    Created a MAIN:SLEEP child device with reference 403
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter On/Standby
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter On
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Adding parameter Standby
    Sep-03 4:15:17 PM
    *
    Yamaha
    Created a MAIN:PWR child device with reference 402
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Got 27 new/existing functions to validate
    Sep-03 4:15:17 PM
    *
    Yamaha Debug
    Found an Amplifier, [Ref:401, Name:Yamaha_RX_3900]
    Sep-03 4:15:17 PM
    *
    Yamaha
    Created an Amplifier root device with reference 401
    Sep-03 4:15:17 PM
    *
    Yamaha
    Creating root device for amplifier Yamaha_RX_3900
    Sep-03 4:15:17 PM
    *
    Yamaha Warning
    Device found in database but not in Homeseer - attempting to re-create the devices for Yamaha_RX_3900
    Sep-03 4:15:16 PM
    *
    Yamaha Debug
    Calling add/update validation procedure to add an amplifier
    -------------------------------------
    Current Date/Time: 9/4/2017 6:00:49 PM
    HomeSeer Version: HS3 Pro Edition 3.0.0.318
    Operating System: Microsoft Windows 10 Pro - Work Station
    System Uptime: 1 Day 1 Hour 19 Minutes 42 Seconds
    IP Address: 172.31.255.63
    Number of Devices: 109
    Number of Events: 96
    Available Threads: 1023

    Enabled Plug-Ins
    0.0.0.21: drhsIpPlugIn
    1.473.16283.1915: Homekit bridge
    3.0.0.68: HSTouch Server
    3.0.0.29: iTunesDAAP
    3.0.0.73: weatherXML
    3.0.1.130: Z-Wave
    Last edited by markus; September 9, 2017, 05:03 AM. Reason: add code tag for easier reading

    #2
    The plugin is not designed to connect to your amplifier on port 80. It uses the YNCA protocol which, by default, is on port 50000 on your amplifier. Have you enabled Network standby on the amplifier?
    Author of Highpeak Plugins | SMS-Gateway Plugin | Blue Iris Plugin | Paradox (Beta) Plugin | Modbus Plugin | Yamaha Plugin

    Comment


      #3
      I did a thorough port scan of my yamaha and only ports 80, 49153, 65432, and 65434 were open. I tried them all except 80 to no avail. I switched back to 50000 and tried that too but no success:

      For Ports 49153, 50000, and 65434 I get the "ConnectFail-Timeout" message:
      Code:
      ep-08 6:56:51 AM	 	Yamaha	Connection status for Yamaha Yamaha_RX_V3900: DisconnectedByHost
      Sep-08 6:56:51 AM	 	Yamaha Debug	Connection Status: ConnectFail_Timeout
      Sep-08 6:56:51 AM	 	Yamaha Debug	Connection Status: DisconnectedByHost
      Sep-08 6:56:48 AM	 	Yamaha	Disconnected from Yamaha Yamaha_RX_V3900.
      Sep-08 6:56:47 AM	 	Yamaha Error	Error connecting to your amplifier on 172.31.255.79:50000 - disabling the amplifier until corrected.
      Sep-08 6:56:46 AM	 	Yamaha Debug	Connection Status: Connecting
      Sep-08 6:56:46 AM	 	Yamaha	Connecting to Yamaha Yamaha_RX_V3900
      Sep-08 6:56:46 AM	 	Yamaha Debug	SetIOMulti: Received CAPI for 425 command : 5
      Sep-08 6:56:05 AM	 	Yamaha	Connection status for Yamaha Yamaha_RX_V3900: DisconnectedByHost
      Sep-08 6:56:05 AM	 	Yamaha Debug	Connection Status: DisconnectedByHost
      Sep-08 6:56:05 AM	 	Yamaha Debug	Connection Status: ConnectFail_Timeout
      Sep-08 6:56:02 AM	 	Yamaha Debug	{ "DT_RowId": 61, "name": "Yamaha_RX_V3900", "model": "RX-V1075", "ipaddress": "172.31.255.79", "ipport": "50000", "enabled": "Yes", "features": "", "hsdeviceref": "425", "modelid": 10 }
      Sep-08 6:56:02 AM	 	Yamaha	Updated 1 record(d) of 1

      For port 65432 I get the "ReceiveFail_Timeout" message:

      Code:
      Sep-08 6:54:02 AM	 	Yamaha	Disconnected from Yamaha Yamaha_RX_V3900.
      Sep-08 6:54:01 AM	 	Yamaha Error	Unable to send keepalive as we've lost connectivity to the receiver
      Sep-08 6:54:01 AM	 	Yamaha Debug	-- Keep Alive --
      Sep-08 6:53:46 AM	 	Yamaha	Connection status for Yamaha Yamaha_RX_V3900: DisconnectedByHost
      Sep-08 6:53:46 AM	 	Yamaha Debug	Connection Status: DisconnectedByHost
      Sep-08 6:53:46 AM	 	Yamaha Debug	Connection Status: ReceiveFail_Timeout
      Sep-08 6:53:41 AM	 	Yamaha Debug	-- Keep Alive --
      Sep-08 6:53:21 AM	 	Yamaha Debug	-- Keep Alive --
      Sep-08 6:53:20 AM	 	Yamaha Debug	{ "DT_RowId": 61, "name": "Yamaha_RX_V3900", "model": "RX-V1075", "ipaddress": "172.31.255.79", "ipport": "65432", "enabled": "Yes", "features": "", "hsdeviceref": "425", "modelid": 10 }
      Sep-08 6:53:20 AM	 	Yamaha	Updated 1 record(d) of 1

      Comment


        #4
        Markus, I've got a post open on AVSForum to try and find out:

        1. If your model even supports remote control over TCP
        2. How we enable it / reset it to the default port

        Have you downloaded the Official Yamaha AV Controller app on your iPhone.Android device?

        Can you connect and control your amp from that?
        Author of Highpeak Plugins | SMS-Gateway Plugin | Blue Iris Plugin | Paradox (Beta) Plugin | Modbus Plugin | Yamaha Plugin

        Comment


          #5
          Yes I can control it with the Yamaha app or via the webpage on port 80. Thanks

          Comment

          Working...
          X