grzegorz914 / homebridge-denon-tv

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

Only one of my AVR's can be added to HK #155

Closed Robnbill closed 1 year ago

Robnbill commented 1 year ago

I have two AVR's - one a Marantz (room Theater) - the other a Denon (room Great Room). See JSON beloe.

I follow the instructions to add the Marantz - it shows up in the list - I add it. It works.

When I try adding (this is on the second tab) the Denon - it does not show up on the list - and can not be added even with the PIN code.

The HB can access the Denon - log follows the JSON code.

JSON:

{ "bridge": { "name": "Homebridge 062C", "username": "0E:18:D2:AB:06:3C", "port": 51874, "pin": "980-50-794", "advertiser": "bonjour-hap" }, "accessories": [ { "accessory": "sony-sdcp-projector", "name": "sony-sdcp-projector", "host": "192.168.1.237", "ip": "192.168.1.237" } ], "platforms": [ { "name": "Config", "port": 8581, "auth": "form", "theme": "teal", "tempUnits": "f", "lang": "auto", "platform": "config" }, { "email": "password": "platform": "myQ" }, { "devices": [ { "name": "GR AVR", "host": "192.168.1.78", "port": 80, "zoneControl": 0, "volumeControl": 1, "masterPower": true, "masterVolume": true, "masterMute": true, "disableLogInfo": false, "disableLogDeviceInfo": false, "enableDebugMode": false, "getInputsFromDevice": false, "inputs": [ { "name": "Apple", "reference": "DVD", "mode": "SI", "switch": false, "displayType": 1 }, { "name": "TiVo", "reference": "CBL/SAT", "mode": "SI", "switch": true, "displayType": 0 } ], "getSurroundsFromDevice": false, "buttonsMainZone": [ { "name": "Power On", "reference": "ZMON", "displayType": 0 }, { "name": "Power Off", "reference": "ZMOFF", "displayType": 0 } ], "enableMqtt": false, "mqttAuth": false, "mqttDebug": false }, { "name": "Theater AVR", "host": "192.168.1.214", "port": 8080, "zoneControl": 0, "volumeControl": 1, "masterPower": true, "masterVolume": true, "masterMute": true, "disableLogInfo": false, "disableLogDeviceInfo": false, "enableDebugMode": false, "getInputsFromDevice": false, "inputs": [ { "name": "ATV", "reference": "CBL/SAT", "mode": "SI" }, { "name": "TiVo", "reference": "DVD", "mode": "SI" } ], "getSurroundsFromDevice": false, "buttonsMainZone": [ { "name": "Power On", "reference": "ZMON", "displayType": 0 }, { "name": "Power Off", "reference": "ZMOFF", "displayType": 0 } ], "enableMqtt": false, "mqttAuth": false, "mqttDebug": false } ], "platform": "DenonTv" } ], "disabledPlugins": [] }

However HB can access the Denon:

[10/25/2022, 1:38:22 PM] Please add [GR AVR A01C] manually in Home app. Setup Code: 980-50-794 [10/25/2022, 1:38:22 PM] [sony-sdcp-projector] Requested CurrentState: 0 [10/25/2022, 1:38:22 PM] [sony-sdcp-projector] CurrentState: 0 [10/25/2022, 1:38:22 PM] [myQ] myQ API: Discovered device family garagedoor: Garage Door Opener (. [10/25/2022, 1:38:22 PM] [myQ] myQ API: Discovered device family gateway: MyQ-89F [Chamberlain myQ Home Bridge] (). [10/25/2022, 1:38:22 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Power state successful: OFF [10/25/2022, 1:38:22 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Input successful, name: ATV, reference: CBL/SAT [10/25/2022, 1:38:22 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Picture mode: 0 [10/25/2022, 1:38:22 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Mute state successful: ON [10/25/2022, 1:38:22 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Volume level successful: -80 dB [10/25/2022, 1:38:23 PM] [DenonTv] Device: 192.168.1.78 GR AVR, get Power state successful: OFF [10/25/2022, 1:38:23 PM] [DenonTv] Device: 192.168.1.78 GR AVR, get Input successful, name: Apple, reference: DVD [10/25/2022, 1:38:23 PM] [DenonTv] Device: 192.168.1.78 GR AVR, get Picture mode: 0 [10/25/2022, 1:38:23 PM] [DenonTv] Device: 192.168.1.78 GR AVR, get Mute state successful: ON [10/25/2022, 1:38:23 PM] [DenonTv] Device: 192.168.1.78 GR AVR, get Volume level successful: -18 dB [10/25/2022, 1:40:27 PM] [sony-sdcp-projector] Requested CurrentState: 0 [10/25/2022, 1:40:27 PM] [sony-sdcp-projector] CurrentState: 0 [10/25/2022, 1:41:15 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Power state successful: OFF [10/25/2022, 1:41:15 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Input successful, name: ATV, reference: CBL/SAT [10/25/2022, 1:41:15 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Picture mode: 0 [10/25/2022, 1:41:15 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Mute state successful: ON [10/25/2022, 1:41:15 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, get Volume level successful: -80 dB [10/25/2022, 1:41:26 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, new Input name saved successful, name: TiVo, reference: DVD [10/25/2022, 1:41:26 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, new Input name saved successful, name: TiVo, reference: DVD [10/25/2022, 1:41:26 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, new Input name saved successful, name: ATV, reference: CBL/SAT [10/25/2022, 1:41:26 PM] [DenonTv] Device: 192.168.1.214 Theater AVR, new Input name saved successful, name: ATV, reference: CBL/SAT

grzegorz914 commented 1 year ago

Try this: https://github.com/grzegorz914/homebridge-denon-tv/wiki#troubleshooting

Robnbill commented 1 year ago

Thanks - I should have looked their first. Removed the plugin and related files in .homebridge, re-installed plugin, and both AVR's showed up in Homekit.