grzegorz914 / homebridge-denon-tv

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

Channel changes are no longer working for me…? #118

Closed robimart closed 3 years ago

robimart commented 3 years ago

Hi there

Absolutely love this app! Recently a problem crept in where changes to input channels and surround modes are no longer actioned (on/off and volume changes still work though!).

I’ve pasted the error message from my log file and my config below in case someone is able to help me figure this out.

Super grateful for any help, thanks in advance!!

Log file error msg: [10/17/2021, 1:39:47 PM] [Homebridge UI] Homebridge log truncated by admin. [10/17/2021, 1:40:00 PM] [DenonTv] Device: 192.168.68.114 Denon Main Zone, get Input successful, name: AppleTV, reference: MPLAY [10/17/2021, 1:40:00 PM] [DenonTv] Device: 192.168.68.114 Denon Main Zone, get Power state successfull, state: ON [10/17/2021, 1:40:00 PM] [DenonTv] Device: 192.168.68.114 Surround Sound Mode, get Power state successfull, state: ON [10/17/2021, 1:40:00 PM] [DenonTv] Device: 192.168.68.114 Surround Sound Mode, get Sound Mode successful, name: Matrix, reference: [10/17/2021, 1:40:05 PM] [DenonTv] Device: 192.168.68.114 Denon Main Zone, can not set Input. Might be due to a wrong settings in config, error: ReferenceError: reference is not defined at ActiveIdentifier.setHandler (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge-denon-tv\index.js:439:23) at ActiveIdentifier. (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Characteristic.ts:1624:42) at step (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\tslib\tslib.js:143:27) at Object.next (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\tslib\tslib.js:124:57) at C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\tslib\tslib.js:117:75 at new Promise () at __awaiter (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\tslib\tslib.js:113:16) at ActiveIdentifier.Characteristic.handleSetRequest (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\dist\lib\Characteristic.js:791:38) at Accessory. (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Accessory.ts:1743:29) at step (C:\Users\robimart\AppData\Roaming\npm\node_modules\homebridge\node_modules\tslib\tslib.js:143:27)

Config file: { "bridge": { "name": "Homebridge 9C16", "username": "0E:F9:25:8A:9C:16", "port": 51835, "pin": "866-04-343" }, "accessories": [ { "accessory": "BlueAir", "name": "BlueAir - LR", "airPurifierIndex": 0, "purifierOnly": true, "username": "x", "password": "x", "showLED": false } ], "platforms": [ { "name": "Config", "port": 8581, "auth": "none", "theme": "orange", "tempUnits": "c", "lang": "auto", "platform": "config" }, { "app_list": true, "devices": [ { "name": "Samsung TV", "ip": "192.168.68.108", "mac": "00:7C:2D:BA:81:19", "delay": 100, "inputs": [ { "type": "app" } ] } ], "platform": "SamsungTizen" }, { "devices": [ { "name": "xbox", "ipaddress": "192.168.68.127", "liveid": "F4000EBAFB6DECE7" } ], "platform": "Smartglass" }, { "devices": [ { "name": "Denon", "host": "192.168.68.114", "port": 8080, "refreshInterval": 5, "zoneControl": 0, "volumeControl": 1, "masterPower": true, "masterVolume": true, "masterMute": true, "switchInfoMenu": false, "disableLogInfo": false, "inputs": [ { "name": "PC", "reference": "SAT/CBL", "mode": "SI" }, { "name": "AppleTV", "reference": "MPLAY", "mode": "SI" }, { "name": "Xbox", "reference": "GAME", "mode": "SI" }, { "name": "Switch", "reference": "BD", "mode": "SI" } ], "manufacturer": "Denon" }, { "name": "Surround", "host": "192.168.68.114", "port": 8080, "refreshInterval": 5, "zoneControl": 3, "volumeControl": 0, "masterPower": false, "masterVolume": false, "masterMute": false, "switchInfoMenu": false, "disableLogInfo": false, "surrounds": [ { "name": "Matrix", "reference": "MATRIX" }, { "name": "Stereo", "reference": "STEREO" }, { "name": "Stereo Multi", "reference": "MCH STEREO" } ] } ], "platform": "DenonTv" }, { "name": "Hue", "anyOn": true, "effects": true, "hosts": [ "192.168.68.119" ], "lights": true, "linkButton": true, "nativeHomeKitLights": true, "nativeHomeKitSensors": false, "resource": true, "sensors": true, "users": { "ECB5FAFFFE8311CE": "D4tMn3YTI8ruYE4c3AoGQW3i0ZCSo9q2SL5pZd1I" }, "platform": "Hue" } ], "disabledPlugins": [ "homebridge-blueair", "homebridge-smartglass" ] }