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

When I configure an input, the receiver becomes unavailable in the Home app #160

Closed mlindgren80-oit closed 1 year ago

mlindgren80-oit commented 1 year ago

Running the plugin with just the regular power button works fine for powering the receiver off and on using the following config:

{
    "devices": [
        {
            "name": "Denon AVR",
            "host": "10.50.3.119",
            "port": 8080,
            "zoneControl": 0,
            "volumeControl": 0,
            "masterPower": false,
            "sensorPower": false,
            "masterVolume": false,
            "sensorVolume": false,
            "masterMute": false,
            "sensorMute": false,
            "disableLogInfo": false,
            "disableLogDeviceInfo": false,
            "enableDebugMode": false,
            "getInputsFromDevice": false,
            "getSurroundsFromDevice": false,
            "enableMqtt": false,
            "mqttAuth": false,
            "mqttDebug": false
        }
    ],
    "_bridge": {
        "username": "0E:66:49:CD:E3:73",
        "port": 57956
    },
    "platform": "DenonTv"
}

However if I add an input for my Sonos Connect, the whole Denon AVR button becomes unresponsive and I can't even power the receiver off and on again.

{
    "devices": [
        {
            "name": "Denon AVR",
            "host": "10.50.3.119",
            "port": 8080,
            "zoneControl": 0,
            "volumeControl": 0,
            "masterPower": false,
            "sensorPower": false,
            "masterVolume": false,
            "sensorVolume": false,
            "masterMute": false,
            "sensorMute": false,
            "disableLogInfo": false,
            "disableLogDeviceInfo": false,
            "enableDebugMode": false,
            "getInputsFromDevice": false,
            "inputs": [
                {
                    "name": "Sonos",
                    "reference": "CBL/SAT",
                    "mode": "SI"
                }
            ],
            "getSurroundsFromDevice": false,
            "enableMqtt": false,
            "mqttAuth": false,
            "mqttDebug": false
        }
    ],
    "_bridge": {
        "username": "0E:66:49:CD:E3:73",
        "port": 57956
    },
    "platform": "DenonTv"
}

Any help would be much appreciated. I'm running iOS 16.1.1

mlindgren80-oit commented 1 year ago

EDIT: seems to work in the home app for macOS, just iOS giving me problems.