grzegorz914 / homebridge-denon-tv

Homebridge plugin for Denon/Marantz AV Receivers, publish as independent external platform accessory.
MIT License
73 stars 15 forks source link

Marantz PM7000N not Compatible? #207

Closed DMcWetty closed 7 months ago

DMcWetty commented 9 months ago

I have a Denon X3800H AVR connected to HB via this plug in (it works great, thanks so much). However, I also have a Marantz PM7000N I'd like to bring into HB, but it refuses to connect on either port 80 or 8080. I suspect this has something to do with newer Marantz amps not supporting HTTP connections. Has anyone managed a work around for this?

EDIT: Forgot the log error message: [homebridge-denon-tv] Device: 192.168.7.163 Marantz PM7000N, Info error: Error: connect ECONNREFUSED 192.168.7.163:8080, reconnect in 15s.

grzegorz914 commented 9 months ago

get the debug log please, go to plugin settings >> advanced section >>> system >> enable debug and get the log please

DMcWetty commented 9 months ago

Hopefully this is what you're looking for:

[11/1/2023, 8:19:35 AM] [homebridge-denon-tv] Device: 192.168.6.243 Theater Denon X3800H, debug: State: {
  "Power": {
    "value": "OFF"
  },
  "InputFuncSelect": {
    "value": "MPLAY"
  },
  "VolumeDisplay": {
    "value": "Absolute"
  },
  "MasterVolume": {
    "value": -35
  },
  "Mute": {
    "value": "off"
  }
}
[11/1/2023, 8:19:37 AM] [homebridge-denon-tv] Device: 192.168.7.163 Marantz PM7000N, Info error: Error: connect ECONNREFUSED 192.168.7.163:8080, reconnect in 15s.
[11/1/2023, 8:19:40 AM] [homebridge-denon-tv] Device: 192.168.6.243 Theater Denon X3800H, debug: State: {
  "Power": {
    "value": "OFF"
  },
  "InputFuncSelect": {
    "value": "MPLAY"
  },
  "VolumeDisplay": {
    "value": "Absolute"
  },
  "MasterVolume": {
    "value": -35
  },
  "Mute": {
    "value": "off"
  }
}
[11/1/2023, 8:19:45 AM] [homebridge-denon-tv] Device: 192.168.6.243 Theater Denon X3800H, debug: State: {
  "Power": {
    "value": "OFF"
  },
  "InputFuncSelect": {
    "value": "MPLAY"
  },
  "VolumeDisplay": {
    "value": "Absolute"
  },
  "MasterVolume": {
    "value": -35
  },
  "Mute": {
    "value": "off"
  }
}
[11/1/2023, 8:19:50 AM] [homebridge-denon-tv] Device: 192.168.6.243 Theater Denon X3800H, debug: State: {
  "Power": {
    "value": "OFF"
  },
  "InputFuncSelect": {
    "value": "MPLAY"
  },
  "VolumeDisplay": {
    "value": "Absolute"
  },
  "MasterVolume": {
    "value": -35
  },
  "Mute": {
    "value": "off"
  }
}
[11/1/2023, 8:19:52 AM] [homebridge-denon-tv] Device: 192.168.7.163 Marantz PM7000N, Info error: Error: connect ECONNREFUSED 192.168.7.163:8080, reconnect in 15s.
[11/1/2023, 8:19:55 AM] [homebridge-denon-tv] Device: 192.168.6.243 Theater Denon X3800H, debug: State: {
  "Power": {
    "value": "OFF"
  },
  "InputFuncSelect": {
    "value": "MPLAY"
  },
  "VolumeDisplay": {
    "value": "Absolute"
  },
  "MasterVolume": {
    "value": -35
  },
  "Mute": {
    "value": "off"
  }
}
[11/1/2023, 8:20:00 AM] [homebridge-denon-tv] Device: 192.168.6.243 Theater Denon X3800H, debug: State: {
  "Power": {
    "value": "OFF"
  },
  "InputFuncSelect": {
    "value": "MPLAY"
  },
  "VolumeDisplay": {
    "value": "Absolute"
  },
  "MasterVolume": {
    "value": -35
  },
  "Mute": {
    "value": "off"
  }
}

EDIT: I just tried to connect on port 23 (tip from another post somewhere else) and get a new error message:

[11/1/2023, 8:36:07 AM] [homebridge-denon-tv] Device: 192.168.7.163 Marantz PM7000N, Info error: AxiosError: timeout of 10000ms exceeded, reconnect in 15s.
[11/1/2023, 8:36:32 AM] [homebridge-denon-tv] Device: 192.168.7.163 Marantz PM7000N, Info error: AxiosError: timeout of 10000ms exceeded, reconnect in 15s.

EDIT 2: And trying port 80 gives me this:

[11/1/2023, 8:39:23 AM] [homebridge-denon-tv] Device: 192.168.7.163 Marantz PM7000N, Info error: AxiosError: Request failed with status code 403, reconnect in 15s.
grzegorz914 commented 9 months ago

23 is telnet port cannot be used here, I will check possibility to add support for this new device

DMcWetty commented 9 months ago

Thank you for your dedication!

grzegorz914 commented 7 months ago

@DMcWetty

look here #211 and let me know if this work for You.