Martvvliet/homebridge-denon-heos

Getting the following error somewhat randomly that causes homebridge to restart

Opened this issue · 0 comments

Newly installed and configured denon-heos on my older Denon AVR.
It kind of works but regularly causes homebridge to restart:

TypeError: Cannot read property 'replace' of undefined
at legacyClient.setPowerStateHTML (/usr/lib/node_modules/homebridge-denon-heos/index.js:1635:33)
at legacyClient.setPowerStateLegacy (/usr/lib/node_modules/homebridge-denon-heos/index.js:1626:9)

    {
        "debugToInfo": false,
        "devices": [
            {
                "name": "Denon Receiver",
                "ip": "192.168.0.161",
                "zone": 1,
                "switchInfoMenu": true,
                "defaultInputID": "PANDORA"
            }
        ],
        "switches": [
            {
                "name": "Denon Receiver Input",
                "ip": "192.168.0.161",
                "zone": 1,
                "pollAllInput": true,
                "defaultVolume": 40
            }
        ],
        "volumeControl": [
            {
                "name": "Receiver volume",
                "ip": "192.168.0.161",
                "zone": 1,
                "volumeLimit": 60
            }
        ],
        "platform": "DenonAVR"
    }